From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.devel Subject: Re: [feature request] epa-file-cache-passphrase-for-symmetric-encryption timeout. Date: Wed, 26 Nov 2008 03:43:56 +0900 Message-ID: <030e0451-0fd1-4e9d-a4a0-686d6798f9a3@broken.deisui.org> References: <87ej1522mb.fsf@sina.com> <861vx4x6rh.fsf@lifelogs.com> <87prkofxtf.fsf@sina.com> <867i6rd80c.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227638679 4185 80.91.229.12 (25 Nov 2008 18:44:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2008 18:44:39 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 25 19:45:42 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L52uo-0005wX-Ig for ged-emacs-devel@m.gmane.org; Tue, 25 Nov 2008 19:45:38 +0100 Original-Received: from localhost ([127.0.0.1]:44514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L52tf-0002fY-5F for ged-emacs-devel@m.gmane.org; Tue, 25 Nov 2008 13:44:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L52tI-0002WE-Hg for emacs-devel@gnu.org; Tue, 25 Nov 2008 13:44:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L52tG-0002VW-QE for emacs-devel@gnu.org; Tue, 25 Nov 2008 13:44:04 -0500 Original-Received: from [199.232.76.173] (port=56499 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L52tG-0002VO-Ei for emacs-devel@gnu.org; Tue, 25 Nov 2008 13:44:02 -0500 Original-Received: from ti-out-0910.google.com ([209.85.142.189]:39741) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L52tF-0000Ib-Hw for emacs-devel@gnu.org; Tue, 25 Nov 2008 13:44:02 -0500 Original-Received: by ti-out-0910.google.com with SMTP id u5so43295tia.10 for ; Tue, 25 Nov 2008 10:43:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type :sender; bh=nPcZQ3zEH0EBs/l4UZ/ighGa8I/I949+o0tPETWhj9o=; b=ivTS67H4d/pCzndNvi3PBA3g4xFYPt58PFXdJ4Vf6QmR6TYyS4n7IH/oT6Yfvp+nlW kLaJzW7Vcu13uFN3plSZfM0b1CTFIsGuYiLI0bMaxDlRiVUbFkS1TY4M46XZBFz4ZtIo 5AIDHQgp074VY7paC2tah7s4Y1b7998vFf9KY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:sender; b=DLrwPJFoJGCKAJTIs4Y9iDY8EVUvMrr8oEciKS+ISzMmD3GGa/q0UXh/rb3V7pe5Ss KAUhJV5FQg0PfcgNbFIqxcomscgeYA/xA0MmI83yYOnNSthwDOJZzhINwueZRbMEWKTb 3QI1GAU1RlRPKd8xKQaOo8g7SIkuO4rwvKJeM= Original-Received: by 10.110.37.17 with SMTP id k17mr4627189tik.21.1227638639195; Tue, 25 Nov 2008 10:43:59 -0800 (PST) Original-Received: from chilled (221x255x76x222.ap221.ftth.ucom.ne.jp [221.255.76.222]) by mx.google.com with ESMTPS id a14sm1996386tia.12.2008.11.25.10.43.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 25 Nov 2008 10:43:58 -0800 (PST) In-Reply-To: <867i6rd80c.fsf@lifelogs.com> (Ted Zlatanov's message of "Tue, 25 Nov 2008 11:34:43 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106163 Archived-At: >>>>> In <867i6rd80c.fsf@lifelogs.com> >>>>> Ted Zlatanov wrote: > On Sat, 22 Nov 2008 07:45:16 +0800 anhnmncb wrote: a> symmetric file encryption is enough for me :) > ping... If Daiki Ueno is not interested I can implement this, but I > wanted to give him a chance to do it since his coding style is pretty > different from mine. If you do want to implement this, you should consider: - At the moment I'd rather recommend users to use public-key encryption instead of symmetric encryption if they want passphrase caching, since they will benefit from gpg-agent which utilizes secure memory. So it's intensional that epa-file handles symmetric case specially. See the third paragraph of (info "(pgg) Prerequisites"). - As I said many times before (but you don't seem to understand), epa-file.el is an application and epg.el is a library. Changes to epa-file.el are easier to be approved than ones to epg.el. So patches are welcome ;-) -- Daiki Ueno