From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Clemente Subject: Re: easypg and multiple prompts Date: Fri, 21 Nov 2008 00:53:42 +0100 Message-ID: <87od0a7y49.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L3JKc-0004Zt-VH for emacs-orgmode@gnu.org; Thu, 20 Nov 2008 18:53:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L3JKa-0004Zh-By for emacs-orgmode@gnu.org; Thu, 20 Nov 2008 18:53:05 -0500 Received: from [199.232.76.173] (port=57514 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3JKa-0004Ze-5o for emacs-orgmode@gnu.org; Thu, 20 Nov 2008 18:53:04 -0500 Received: from nf-out-0910.google.com ([64.233.182.186]:28317) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L3JKZ-0006de-Bl for emacs-orgmode@gnu.org; Thu, 20 Nov 2008 18:53:03 -0500 Received: by nf-out-0910.google.com with SMTP id c7so417386nfi.26 for ; Thu, 20 Nov 2008 15:53:01 -0800 (PST) In-Reply-To: (Richard Riley's message of "Tue, 18 Nov 2008 13:58:59 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Richard Riley Cc: org-mode Richard Riley writes: > (require 'epa) > (epa-file-enable) > > although I thinks its default is on anyway. Yes. > > One is prompted three times for the passphrase > I got the same behaviour when using 3 mail accounts in Gnus which make us= e of one sole authinfo file. I described this in [1]. Yes, there is some cach=C3=A9 for easypg. I turned it on via: (setq epa-file-cache-passphrase-for-symmetric-encryption t) and now it asks me the password just one time. I think this will be usefu= l also for Org. The code (Gnus and Org-mode), however, seem to be accessing the same data= many times instead of being =E2=80=9Esmart=E2=80=9C and reading all needed= data in just one go. But I doubt this makes a difference in terms of effic= iency, since the involved files are small. [1] http://www.emacswiki.org/emacs/GnusEncryptedAuthInfo