From unknown Fri Jun 20 06:47:11 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#7130 <7130@debbugs.gnu.org> To: bug#7130 <7130@debbugs.gnu.org> Subject: Status: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files Reply-To: bug#7130 <7130@debbugs.gnu.org> Date: Fri, 20 Jun 2025 13:47:11 +0000 retitle 7130 24.0.50; EPA queries twice and doesn't cache passwords when de= crypting files reassign 7130 emacs submitter 7130 Tassilo Horn severity 7130 normal tag 7130 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 29 03:30:31 2010 Received: (at submit) by debbugs.gnu.org; 29 Sep 2010 07:30:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0r7V-0001Y3-LH for submit@debbugs.gnu.org; Wed, 29 Sep 2010 03:30:31 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0r7T-0001Xx-5t for submit@debbugs.gnu.org; Wed, 29 Sep 2010 03:30:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0rAD-0000Q8-6n for submit@debbugs.gnu.org; Wed, 29 Sep 2010 03:33:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:58998) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0rAC-0000Pr-G9 for submit@debbugs.gnu.org; Wed, 29 Sep 2010 03:33:17 -0400 Received: from [140.186.70.92] (port=47466 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0rA8-0002Hb-JF for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2010 03:33:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0rA5-0000N4-6v for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2010 03:33:12 -0400 Received: from out5.smtp.messagingengine.com ([66.111.4.29]:34755) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0rA5-0000Ml-0P for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2010 03:33:09 -0400 Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 109FB9C6 for ; Wed, 29 Sep 2010 03:33:07 -0400 (EDT) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 29 Sep 2010 03:33:07 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding; s=smtpout; bh=6o+ezuCh9/uDemUGbif6RqBfcxg=; b=JS8FzTsW6SpVLf97XNeH+ZmysEly3/5yZ6mpsn/eQ1BubpfePTRPuzMThd69DZa+z9C003Rr3sWwJrDUcRLEKDBDdbj4aBxKJqg4N71nOOe8RarTOhrc8UL4u19uKReumkvyC0h5cmxONw1LUhZ+37s6hJrPqrSR6zvIFnN+T6U= X-Sasl-enc: ZpiPFfIdPy/hCzHD6y3vlFuIvZGZ7o6M4hRUrs+rtpVM 1285745586 Received: from thinkpad.tsdh.de (unknown [80.243.47.130]) by mail.messagingengine.com (Postfix) with ESMTPA id EE62F406773 for ; Wed, 29 Sep 2010 03:33:05 -0400 (EDT) From: Tassilo Horn To: bug-gnu-emacs@gnu.org Subject: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files Date: Wed, 29 Sep 2010 09:33:04 +0200 Message-ID: <87eicdqa1b.fsf@thinkpad.tsdh.de> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) I use several symmetrically encrypted files, like my ~/.authinfo.gpg used by Gnus. That file is a symlink to ~/repos/configs/dot-authinfo.gpg. When I find it using emacs (started with or without -Q), I have to give my password in a pinentry window, then I have to accept following the symlink, and then I have to provide the password a second time. --8<---------------cut here---------------start------------->8--- For information about GNU Emacs and the GNU system, type C-h C-a. /home/horn/.authinfo: 0% (0/248) /home/horn/.authinfo: 100% (248/248) Loading vc-git...done /home/horn/repos/con: 0% (0/248) /home/horn/repos/con: 100% (248/248) Followed link to /home/horn/repos/configs/dot-authinfo.gpg --8<---------------cut here---------------end--------------->8--- And although I have epa-file-cache-passphrase-for-symmetric-encryption set to t, the passwords are not cached (epa-file-passphrase-alist is nil). I've tried to edebug epa-file-passphrase-callback-function, but I'm never put into the debugger. That function seems not to be called... That's a pretty serious issue for me, because since I entrypted my .authinfo (which is good!), I have to enter my password for that file gazillion times when starting up Gnus where I use 4 mail/news accounts requiring authentication... In GNU Emacs 24.0.50.1 (x86_64-pc-linux-gnu) of 2010-09-28 on thinkpad Windowing system distributor `The X.Org Foundation', version 11.0.10900000 configured using `configure '--prefix=3D/usr' '--build=3Dx86_64-pc-linux-g= nu' '--host=3Dx86_64-pc-linux-gnu' '--mandir=3D/usr/share/man' '--infodir= =3D/usr/share/info' '--datadir=3D/usr/share' '--sysconfdir=3D/etc' '--local= statedir=3D/var/lib' '--libdir=3D/usr/lib64' '--program-suffix=3D-emacs-24'= '--infodir=3D/usr/share/info/emacs-24' '--with-crt-dir=3D/usr/lib64' '--wi= thout-compress-info' '--with-sound' '--with-x' '--without-gconf' '--with-xm= l2' '--without-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png'= '--with-rsvg' '--with-tiff' '--with-xpm' '--with-imagemagick' '--with-xft'= '--with-libotf' '--with-m17n-flt' '--with-x-toolkit=3Dno' '--without-hesio= d' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' 'b= uild_alias=3Dx86_64-pc-linux-gnu' 'host_alias=3Dx86_64-pc-linux-gnu' 'CFLAG= S=3D-march=3Dnative -O2 -pipe' 'LDFLAGS=3D-Wl,-O1 -Wl,--as-needed'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t diff-auto-refine-mode: t global-auto-complete-mode: t auto-complete-mode: t recentf-mode: t window-number-meta-mode: t window-number-mode: t autopair-global-mode: t global-subword-mode: t subword-mode: t savehist-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-c a a s t a t M-x g n u s C-c o=20 o C-c o a a f M-x C-g =20 q C-x b =20 =20 C-e * * * SPC C O D O =20 T O D O SPC A l l g e m e i=20 n e n SPC T e i l SPC v e r v o l l s t =C3=A4 n d i g e=20 n C-c C-d =20 C-x C-s C-x b g r l =20 =20 =20 =20 ^=20 O q =20 =20 M-b r e M-x r e p=20 o r b Recent messages: 20100929T093025.142> Group nndraft:queue contains no messages 20100929T093102.612> Retrieving newsgroup: nndraft:drafts... 20100929T093102.622> Group nndraft:drafts contains no messages 20100929T093103.885> Retrieving newsgroup: nndraft:queue... 20100929T093103.894> Group nndraft:queue contains no messages 20100929T093109.203> Compiling format specs... 20100929T093109.207> Compiling user specs...done =3D=3D> ~/.gnus.el successfully loaded. <=3D=3D 20100929T093109.207> Read ~/.gnus Making completion list... [2 times] Load-path shadows: ~/repos/el/gnus/lisp/sha1 hides /usr/share/emacs/24.0.50/lisp/sha1 ~/repos/el/gnus/lisp/pgg-pgp hides /usr/share/emacs/24.0.50/lisp/pgg-pgp ~/repos/el/gnus/lisp/pgg-parse hides /usr/share/emacs/24.0.50/lisp/pgg-parse ~/repos/el/gnus/lisp/pgg-pgp5 hides /usr/share/emacs/24.0.50/lisp/pgg-pgp5 ~/repos/el/gnus/lisp/pgg hides /usr/share/emacs/24.0.50/lisp/pgg ~/repos/el/gnus/lisp/pgg-gpg hides /usr/share/emacs/24.0.50/lisp/pgg-gpg ~/repos/el/gnus/lisp/pgg-def hides /usr/share/emacs/24.0.50/lisp/pgg-def ~/repos/el/gnus/lisp/password-cache hides /usr/share/emacs/24.0.50/lisp/pas= sword-cache ~/repos/el/gnus/lisp/md4 hides /usr/share/emacs/24.0.50/lisp/md4 ~/repos/el/gnus/lisp/hex-util hides /usr/share/emacs/24.0.50/lisp/hex-util ~/repos/el/gnus/lisp/format-spec hides /usr/share/emacs/24.0.50/lisp/format= -spec ~/repos/el/gnus/lisp/dns-mode hides /usr/share/emacs/24.0.50/lisp/textmodes= /dns-mode ~/repos/el/org-mode/lisp/org-xoxo hides /usr/share/emacs/24.0.50/lisp/org/o= rg-xoxo ~/repos/el/org-mode/lisp/org-wl hides /usr/share/emacs/24.0.50/lisp/org/org= -wl ~/repos/el/org-mode/lisp/org-table hides /usr/share/emacs/24.0.50/lisp/org/= org-table ~/repos/el/org-mode/lisp/org-w3m hides /usr/share/emacs/24.0.50/lisp/org/or= g-w3m ~/repos/el/org-mode/lisp/org-timer hides /usr/share/emacs/24.0.50/lisp/org/= org-timer ~/repos/el/org-mode/lisp/org-vm hides /usr/share/emacs/24.0.50/lisp/org/org= -vm ~/repos/el/org-mode/lisp/org-taskjuggler hides /usr/share/emacs/24.0.50/lis= p/org/org-taskjuggler ~/repos/el/org-mode/lisp/org-remember hides /usr/share/emacs/24.0.50/lisp/o= rg/org-remember ~/repos/el/org-mode/lisp/org-rmail hides /usr/share/emacs/24.0.50/lisp/org/= org-rmail ~/repos/el/org-mode/lisp/org-publish hides /usr/share/emacs/24.0.50/lisp/or= g/org-publish ~/repos/el/org-mode/lisp/org-src hides /usr/share/emacs/24.0.50/lisp/org/or= g-src ~/repos/el/org-mode/lisp/org-protocol hides /usr/share/emacs/24.0.50/lisp/o= rg/org-protocol ~/repos/el/org-mode/lisp/org-plot hides /usr/share/emacs/24.0.50/lisp/org/o= rg-plot ~/repos/el/org-mode/lisp/org-mouse hides /usr/share/emacs/24.0.50/lisp/org/= org-mouse ~/repos/el/org-mode/lisp/org-mobile hides /usr/share/emacs/24.0.50/lisp/org= /org-mobile ~/repos/el/org-mode/lisp/org-mks hides /usr/share/emacs/24.0.50/lisp/org/or= g-mks ~/repos/el/org-mode/lisp/org-mhe hides /usr/share/emacs/24.0.50/lisp/org/or= g-mhe ~/repos/el/org-mode/lisp/org-mew hides /usr/share/emacs/24.0.50/lisp/org/or= g-mew ~/repos/el/org-mode/lisp/org-mac-message hides /usr/share/emacs/24.0.50/lis= p/org/org-mac-message ~/repos/el/org-mode/lisp/org-latex hides /usr/share/emacs/24.0.50/lisp/org/= org-latex ~/repos/el/org-mode/lisp/org-jsinfo hides /usr/share/emacs/24.0.50/lisp/org= /org-jsinfo ~/repos/el/org-mode/lisp/org-macs hides /usr/share/emacs/24.0.50/lisp/org/o= rg-macs ~/repos/el/org-mode/lisp/org-list hides /usr/share/emacs/24.0.50/lisp/org/o= rg-list ~/repos/el/org-mode/lisp/org-irc hides /usr/share/emacs/24.0.50/lisp/org/or= g-irc ~/repos/el/org-mode/lisp/org-inlinetask hides /usr/share/emacs/24.0.50/lisp= /org/org-inlinetask ~/repos/el/org-mode/lisp/org-icalendar hides /usr/share/emacs/24.0.50/lisp/= org/org-icalendar ~/repos/el/org-mode/lisp/org-id hides /usr/share/emacs/24.0.50/lisp/org/org= -id ~/repos/el/org-mode/lisp/org-install hides /usr/share/emacs/24.0.50/lisp/or= g/org-install ~/repos/el/org-mode/lisp/org-info hides /usr/share/emacs/24.0.50/lisp/org/o= rg-info ~/repos/el/org-mode/lisp/org-indent hides /usr/share/emacs/24.0.50/lisp/org= /org-indent ~/repos/el/org-mode/lisp/org-html hides /usr/share/emacs/24.0.50/lisp/org/o= rg-html ~/repos/el/org-mode/lisp/org-habit hides /usr/share/emacs/24.0.50/lisp/org/= org-habit ~/repos/el/org-mode/lisp/org hides /usr/share/emacs/24.0.50/lisp/org/org ~/repos/el/org-mode/lisp/org-freemind hides /usr/share/emacs/24.0.50/lisp/o= rg/org-freemind ~/repos/el/org-mode/lisp/org-gnus hides /usr/share/emacs/24.0.50/lisp/org/o= rg-gnus ~/repos/el/org-mode/lisp/org-feed hides /usr/share/emacs/24.0.50/lisp/org/o= rg-feed ~/repos/el/org-mode/lisp/org-exp hides /usr/share/emacs/24.0.50/lisp/org/or= g-exp ~/repos/el/org-mode/lisp/org-exp-blocks hides /usr/share/emacs/24.0.50/lisp= /org/org-exp-blocks ~/repos/el/org-mode/lisp/org-footnote hides /usr/share/emacs/24.0.50/lisp/o= rg/org-footnote ~/repos/el/org-mode/lisp/org-docview hides /usr/share/emacs/24.0.50/lisp/or= g/org-docview ~/repos/el/org-mode/lisp/org-faces hides /usr/share/emacs/24.0.50/lisp/org/= org-faces ~/repos/el/org-mode/lisp/org-docbook hides /usr/share/emacs/24.0.50/lisp/or= g/org-docbook ~/repos/el/org-mode/lisp/org-entities hides /usr/share/emacs/24.0.50/lisp/o= rg/org-entities ~/repos/el/org-mode/lisp/org-datetree hides /usr/share/emacs/24.0.50/lisp/o= rg/org-datetree ~/repos/el/org-mode/lisp/org-ctags hides /usr/share/emacs/24.0.50/lisp/org/= org-ctags ~/repos/el/org-mode/lisp/org-crypt hides /usr/share/emacs/24.0.50/lisp/org/= org-crypt ~/repos/el/org-mode/lisp/org-colview hides /usr/share/emacs/24.0.50/lisp/or= g/org-colview ~/repos/el/org-mode/lisp/org-clock hides /usr/share/emacs/24.0.50/lisp/org/= org-clock ~/repos/el/org-mode/lisp/org-compat hides /usr/share/emacs/24.0.50/lisp/org= /org-compat ~/repos/el/org-mode/lisp/org-beamer hides /usr/share/emacs/24.0.50/lisp/org= /org-beamer ~/repos/el/org-mode/lisp/org-capture hides /usr/share/emacs/24.0.50/lisp/or= g/org-capture ~/repos/el/org-mode/lisp/org-bibtex hides /usr/share/emacs/24.0.50/lisp/org= /org-bibtex ~/repos/el/org-mode/lisp/org-agenda hides /usr/share/emacs/24.0.50/lisp/org= /org-agenda ~/repos/el/org-mode/lisp/org-ascii hides /usr/share/emacs/24.0.50/lisp/org/= org-ascii ~/repos/el/org-mode/lisp/org-bbdb hides /usr/share/emacs/24.0.50/lisp/org/o= rg-bbdb ~/repos/el/org-mode/lisp/org-attach hides /usr/share/emacs/24.0.50/lisp/org= /org-attach ~/repos/el/org-mode/lisp/org-archive hides /usr/share/emacs/24.0.50/lisp/or= g/org-archive ~/repos/el/org-mode/lisp/ob-tangle hides /usr/share/emacs/24.0.50/lisp/org/= ob-tangle ~/repos/el/org-mode/lisp/ob-table hides /usr/share/emacs/24.0.50/lisp/org/o= b-table ~/repos/el/org-mode/lisp/ob-sqlite hides /usr/share/emacs/24.0.50/lisp/org/= ob-sqlite ~/repos/el/org-mode/lisp/ob-sql hides /usr/share/emacs/24.0.50/lisp/org/ob-= sql ~/repos/el/org-mode/lisp/ob-sh hides /usr/share/emacs/24.0.50/lisp/org/ob-sh ~/repos/el/org-mode/lisp/ob-screen hides /usr/share/emacs/24.0.50/lisp/org/= ob-screen ~/repos/el/org-mode/lisp/ob-ruby hides /usr/share/emacs/24.0.50/lisp/org/ob= -ruby ~/repos/el/org-mode/lisp/ob-R hides /usr/share/emacs/24.0.50/lisp/org/ob-R ~/repos/el/org-mode/lisp/ob-sass hides /usr/share/emacs/24.0.50/lisp/org/ob= -sass ~/repos/el/org-mode/lisp/ob-exp hides /usr/share/emacs/24.0.50/lisp/org/ob-= exp ~/repos/el/org-mode/lisp/ob-ref hides /usr/share/emacs/24.0.50/lisp/org/ob-= ref ~/repos/el/org-mode/lisp/ob-python hides /usr/share/emacs/24.0.50/lisp/org/= ob-python ~/repos/el/org-mode/lisp/ob-octave hides /usr/share/emacs/24.0.50/lisp/org/= ob-octave ~/repos/el/org-mode/lisp/ob-C hides /usr/share/emacs/24.0.50/lisp/org/ob-C ~/repos/el/org-mode/lisp/ob-perl hides /usr/share/emacs/24.0.50/lisp/org/ob= -perl ~/repos/el/org-mode/lisp/ob-ocaml hides /usr/share/emacs/24.0.50/lisp/org/o= b-ocaml ~/repos/el/org-mode/lisp/ob-mscgen hides /usr/share/emacs/24.0.50/lisp/org/= ob-mscgen ~/repos/el/org-mode/lisp/ob-matlab hides /usr/share/emacs/24.0.50/lisp/org/= ob-matlab ~/repos/el/org-mode/lisp/ob-lob hides /usr/share/emacs/24.0.50/lisp/org/ob-= lob ~/repos/el/org-mode/lisp/ob-latex hides /usr/share/emacs/24.0.50/lisp/org/o= b-latex ~/repos/el/org-mode/lisp/ob-gnuplot hides /usr/share/emacs/24.0.50/lisp/org= /ob-gnuplot ~/repos/el/org-mode/lisp/ob-haskell hides /usr/share/emacs/24.0.50/lisp/org= /ob-haskell ~/repos/el/org-mode/lisp/ob-keys hides /usr/share/emacs/24.0.50/lisp/org/ob= -keys ~/repos/el/org-mode/lisp/ob hides /usr/share/emacs/24.0.50/lisp/org/ob ~/repos/el/org-mode/lisp/ob-emacs-lisp hides /usr/share/emacs/24.0.50/lisp/= org/ob-emacs-lisp ~/repos/el/org-mode/lisp/ob-eval hides /usr/share/emacs/24.0.50/lisp/org/ob= -eval ~/repos/el/org-mode/lisp/ob-css hides /usr/share/emacs/24.0.50/lisp/org/ob-= css ~/repos/el/org-mode/lisp/ob-ditaa hides /usr/share/emacs/24.0.50/lisp/org/o= b-ditaa ~/repos/el/org-mode/lisp/ob-dot hides /usr/share/emacs/24.0.50/lisp/org/ob-= dot ~/repos/el/org-mode/lisp/ob-comint hides /usr/share/emacs/24.0.50/lisp/org/= ob-comint ~/repos/el/org-mode/lisp/ob-clojure hides /usr/share/emacs/24.0.50/lisp/org= /ob-clojure ~/repos/el/org-mode/lisp/ob-asymptote hides /usr/share/emacs/24.0.50/lisp/o= rg/ob-asymptote ~/repos/el/gnus/lisp/tls hides /usr/share/emacs/24.0.50/lisp/net/tls ~/repos/el/gnus/lisp/sasl-ntlm hides /usr/share/emacs/24.0.50/lisp/net/sasl= -ntlm ~/repos/el/gnus/lisp/sasl hides /usr/share/emacs/24.0.50/lisp/net/sasl ~/repos/el/gnus/lisp/sasl-digest hides /usr/share/emacs/24.0.50/lisp/net/sa= sl-digest ~/repos/el/gnus/lisp/sasl-cram hides /usr/share/emacs/24.0.50/lisp/net/sasl= -cram ~/repos/el/gnus/lisp/ntlm hides /usr/share/emacs/24.0.50/lisp/net/ntlm ~/repos/el/gnus/lisp/imap hides /usr/share/emacs/24.0.50/lisp/net/imap ~/repos/el/gnus/lisp/netrc hides /usr/share/emacs/24.0.50/lisp/net/netrc ~/repos/el/gnus/lisp/hmac-md5 hides /usr/share/emacs/24.0.50/lisp/net/hmac-= md5 ~/repos/el/gnus/lisp/hmac-def hides /usr/share/emacs/24.0.50/lisp/net/hmac-= def ~/repos/el/gnus/lisp/dns hides /usr/share/emacs/24.0.50/lisp/net/dns ~/repos/el/gnus/lisp/dig hides /usr/share/emacs/24.0.50/lisp/net/dig ~/repos/el/gnus/lisp/uudecode hides /usr/share/emacs/24.0.50/lisp/mail/uude= code ~/repos/el/gnus/lisp/hashcash hides /usr/share/emacs/24.0.50/lisp/mail/hash= cash ~/repos/el/gnus/lisp/binhex hides /usr/share/emacs/24.0.50/lisp/mail/binhex ~/repos/el/gnus/lisp/webmail hides /usr/share/emacs/24.0.50/lisp/gnus/webma= il ~/repos/el/gnus/lisp/spam hides /usr/share/emacs/24.0.50/lisp/gnus/spam ~/repos/el/gnus/lisp/spam-wash hides /usr/share/emacs/24.0.50/lisp/gnus/spa= m-wash ~/repos/el/gnus/lisp/yenc hides /usr/share/emacs/24.0.50/lisp/gnus/yenc ~/repos/el/gnus/lisp/spam-report hides /usr/share/emacs/24.0.50/lisp/gnus/s= pam-report ~/repos/el/gnus/lisp/smiley hides /usr/share/emacs/24.0.50/lisp/gnus/smiley ~/repos/el/gnus/lisp/utf7 hides /usr/share/emacs/24.0.50/lisp/gnus/utf7 ~/repos/el/gnus/lisp/starttls hides /usr/share/emacs/24.0.50/lisp/gnus/star= ttls ~/repos/el/gnus/lisp/spam-stat hides /usr/share/emacs/24.0.50/lisp/gnus/spa= m-stat ~/repos/el/gnus/lisp/smime hides /usr/share/emacs/24.0.50/lisp/gnus/smime ~/repos/el/gnus/lisp/sieve-manage hides /usr/share/emacs/24.0.50/lisp/gnus/= sieve-manage ~/repos/el/gnus/lisp/sieve-mode hides /usr/share/emacs/24.0.50/lisp/gnus/si= eve-mode ~/repos/el/gnus/lisp/sieve hides /usr/share/emacs/24.0.50/lisp/gnus/sieve ~/repos/el/gnus/lisp/score-mode hides /usr/share/emacs/24.0.50/lisp/gnus/sc= ore-mode ~/repos/el/gnus/lisp/rfc2231 hides /usr/share/emacs/24.0.50/lisp/gnus/rfc22= 31 ~/repos/el/gnus/lisp/rfc2047 hides /usr/share/emacs/24.0.50/lisp/gnus/rfc20= 47 ~/repos/el/gnus/lisp/rfc2104 hides /usr/share/emacs/24.0.50/lisp/gnus/rfc21= 04 ~/repos/el/gnus/lisp/nnvirtual hides /usr/share/emacs/24.0.50/lisp/gnus/nnv= irtual ~/repos/el/gnus/lisp/rfc2045 hides /usr/share/emacs/24.0.50/lisp/gnus/rfc20= 45 ~/repos/el/gnus/lisp/rfc1843 hides /usr/share/emacs/24.0.50/lisp/gnus/rfc18= 43 ~/repos/el/gnus/lisp/nnweb hides /usr/share/emacs/24.0.50/lisp/gnus/nnweb ~/repos/el/gnus/lisp/nntp hides /usr/share/emacs/24.0.50/lisp/gnus/nntp ~/repos/el/gnus/lisp/qp hides /usr/share/emacs/24.0.50/lisp/gnus/qp ~/repos/el/gnus/lisp/pop3 hides /usr/share/emacs/24.0.50/lisp/gnus/pop3 ~/repos/el/gnus/lisp/nnspool hides /usr/share/emacs/24.0.50/lisp/gnus/nnspo= ol ~/repos/el/gnus/lisp/nnrss hides /usr/share/emacs/24.0.50/lisp/gnus/nnrss ~/repos/el/gnus/lisp/nnml hides /usr/share/emacs/24.0.50/lisp/gnus/nnml ~/repos/el/gnus/lisp/nnmh hides /usr/share/emacs/24.0.50/lisp/gnus/nnmh ~/repos/el/gnus/lisp/nnoo hides /usr/share/emacs/24.0.50/lisp/gnus/nnoo ~/repos/el/gnus/lisp/nnmairix hides /usr/share/emacs/24.0.50/lisp/gnus/nnma= irix ~/repos/el/gnus/lisp/nnnil hides /usr/share/emacs/24.0.50/lisp/gnus/nnnil ~/repos/el/gnus/lisp/nnmaildir hides /usr/share/emacs/24.0.50/lisp/gnus/nnm= aildir ~/repos/el/gnus/lisp/nnmbox hides /usr/share/emacs/24.0.50/lisp/gnus/nnmbox ~/repos/el/gnus/lisp/nnir hides /usr/share/emacs/24.0.50/lisp/gnus/nnir ~/repos/el/gnus/lisp/nnmail hides /usr/share/emacs/24.0.50/lisp/gnus/nnmail ~/repos/el/gnus/lisp/nnimap hides /usr/share/emacs/24.0.50/lisp/gnus/nnimap ~/repos/el/gnus/lisp/nnfolder hides /usr/share/emacs/24.0.50/lisp/gnus/nnfo= lder ~/repos/el/gnus/lisp/nngateway hides /usr/share/emacs/24.0.50/lisp/gnus/nng= ateway ~/repos/el/gnus/lisp/nneething hides /usr/share/emacs/24.0.50/lisp/gnus/nne= ething ~/repos/el/gnus/lisp/nnheader hides /usr/share/emacs/24.0.50/lisp/gnus/nnhe= ader ~/repos/el/gnus/lisp/nndraft hides /usr/share/emacs/24.0.50/lisp/gnus/nndra= ft ~/repos/el/gnus/lisp/nnagent hides /usr/share/emacs/24.0.50/lisp/gnus/nnage= nt ~/repos/el/gnus/lisp/nndiary hides /usr/share/emacs/24.0.50/lisp/gnus/nndia= ry ~/repos/el/gnus/lisp/nndoc hides /usr/share/emacs/24.0.50/lisp/gnus/nndoc ~/repos/el/gnus/lisp/nnbabyl hides /usr/share/emacs/24.0.50/lisp/gnus/nnbab= yl ~/repos/el/gnus/lisp/nndir hides /usr/share/emacs/24.0.50/lisp/gnus/nndir ~/repos/el/gnus/lisp/mm-partial hides /usr/share/emacs/24.0.50/lisp/gnus/mm= -partial ~/repos/el/gnus/lisp/mm-view hides /usr/share/emacs/24.0.50/lisp/gnus/mm-vi= ew ~/repos/el/gnus/lisp/mm-uu hides /usr/share/emacs/24.0.50/lisp/gnus/mm-uu ~/repos/el/gnus/lisp/mm-util hides /usr/share/emacs/24.0.50/lisp/gnus/mm-ut= il ~/repos/el/gnus/lisp/mm-url hides /usr/share/emacs/24.0.50/lisp/gnus/mm-url ~/repos/el/gnus/lisp/mml-smime hides /usr/share/emacs/24.0.50/lisp/gnus/mml= -smime ~/repos/el/gnus/lisp/mml hides /usr/share/emacs/24.0.50/lisp/gnus/mml ~/repos/el/gnus/lisp/mml2015 hides /usr/share/emacs/24.0.50/lisp/gnus/mml20= 15 ~/repos/el/gnus/lisp/mml-sec hides /usr/share/emacs/24.0.50/lisp/gnus/mml-s= ec ~/repos/el/gnus/lisp/mm-extern hides /usr/share/emacs/24.0.50/lisp/gnus/mm-= extern ~/repos/el/gnus/lisp/message hides /usr/share/emacs/24.0.50/lisp/gnus/messa= ge ~/repos/el/gnus/lisp/mml1991 hides /usr/share/emacs/24.0.50/lisp/gnus/mml19= 91 ~/repos/el/gnus/lisp/legacy-gnus-agent hides /usr/share/emacs/24.0.50/lisp/= gnus/legacy-gnus-agent ~/repos/el/gnus/lisp/mm-decode hides /usr/share/emacs/24.0.50/lisp/gnus/mm-= decode ~/repos/el/gnus/lisp/mm-encode hides /usr/share/emacs/24.0.50/lisp/gnus/mm-= encode ~/repos/el/gnus/lisp/mail-source hides /usr/share/emacs/24.0.50/lisp/gnus/m= ail-source ~/repos/el/gnus/lisp/mm-bodies hides /usr/share/emacs/24.0.50/lisp/gnus/mm-= bodies ~/repos/el/gnus/lisp/messcompat hides /usr/share/emacs/24.0.50/lisp/gnus/me= sscompat ~/repos/el/gnus/lisp/gnus-uu hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-= uu ~/repos/el/gnus/lisp/mail-parse hides /usr/share/emacs/24.0.50/lisp/gnus/ma= il-parse ~/repos/el/gnus/lisp/gnus-sum hides /usr/share/emacs/24.0.50/lisp/gnus/gnus= -sum ~/repos/el/gnus/lisp/mail-prsvr hides /usr/share/emacs/24.0.50/lisp/gnus/ma= il-prsvr ~/repos/el/gnus/lisp/gnus-vm hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-= vm ~/repos/el/gnus/lisp/mailcap hides /usr/share/emacs/24.0.50/lisp/gnus/mailc= ap ~/repos/el/gnus/lisp/ietf-drums hides /usr/share/emacs/24.0.50/lisp/gnus/ie= tf-drums ~/repos/el/gnus/lisp/gravatar hides /usr/share/emacs/24.0.50/lisp/gnus/grav= atar ~/repos/el/gnus/lisp/html2text hides /usr/share/emacs/24.0.50/lisp/gnus/htm= l2text ~/repos/el/gnus/lisp/gnus-topic hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-topic ~/repos/el/gnus/lisp/gnus-win hides /usr/share/emacs/24.0.50/lisp/gnus/gnus= -win ~/repos/el/gnus/lisp/gnus-util hides /usr/share/emacs/24.0.50/lisp/gnus/gnu= s-util ~/repos/el/gnus/lisp/gnus-start hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-start ~/repos/el/gnus/lisp/gnus-undo hides /usr/share/emacs/24.0.50/lisp/gnus/gnu= s-undo ~/repos/el/gnus/lisp/gnus-sync hides /usr/share/emacs/24.0.50/lisp/gnus/gnu= s-sync ~/repos/el/gnus/lisp/gnus-srvr hides /usr/share/emacs/24.0.50/lisp/gnus/gnu= s-srvr ~/repos/el/gnus/lisp/gnus-sieve hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-sieve ~/repos/el/gnus/lisp/gnus-spec hides /usr/share/emacs/24.0.50/lisp/gnus/gnu= s-spec ~/repos/el/gnus/lisp/gnus-score hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-score ~/repos/el/gnus/lisp/gnus-setup hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-setup ~/repos/el/gnus/lisp/gnus-salt hides /usr/share/emacs/24.0.50/lisp/gnus/gnu= s-salt ~/repos/el/gnus/lisp/gnus-registry hides /usr/share/emacs/24.0.50/lisp/gnus= /gnus-registry ~/repos/el/gnus/lisp/gnus-picon hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-picon ~/repos/el/gnus/lisp/gnus-msg hides /usr/share/emacs/24.0.50/lisp/gnus/gnus= -msg ~/repos/el/gnus/lisp/gnus-range hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-range ~/repos/el/gnus/lisp/gnus-ml hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-= ml ~/repos/el/gnus/lisp/gnus-mlspl hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-mlspl ~/repos/el/gnus/lisp/gnus-mh hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-= mh ~/repos/el/gnus/lisp/gnus-int hides /usr/share/emacs/24.0.50/lisp/gnus/gnus= -int ~/repos/el/gnus/lisp/gnus-logic hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-logic ~/repos/el/gnus/lisp/gnus-kill hides /usr/share/emacs/24.0.50/lisp/gnus/gnu= s-kill ~/repos/el/gnus/lisp/gnus-group hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-group ~/repos/el/gnus/lisp/gnus-html hides /usr/share/emacs/24.0.50/lisp/gnus/gnu= s-html ~/repos/el/gnus/lisp/gnus-draft hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-draft ~/repos/el/gnus/lisp/gnus-gravatar hides /usr/share/emacs/24.0.50/lisp/gnus= /gnus-gravatar ~/repos/el/gnus/lisp/gnus-dup hides /usr/share/emacs/24.0.50/lisp/gnus/gnus= -dup ~/repos/el/gnus/lisp/gnus-fun hides /usr/share/emacs/24.0.50/lisp/gnus/gnus= -fun ~/repos/el/gnus/lisp/gnus-diary hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-diary ~/repos/el/gnus/lisp/gnus hides /usr/share/emacs/24.0.50/lisp/gnus/gnus ~/repos/el/gnus/lisp/gnus-ems hides /usr/share/emacs/24.0.50/lisp/gnus/gnus= -ems ~/repos/el/gnus/lisp/gnus-eform hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-eform ~/repos/el/gnus/lisp/gnus-delay hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-delay ~/repos/el/gnus/lisp/gnus-cus hides /usr/share/emacs/24.0.50/lisp/gnus/gnus= -cus ~/repos/el/gnus/lisp/gnus-demon hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-demon ~/repos/el/gnus/lisp/gnus-dired hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-dired ~/repos/el/gnus/lisp/gnus-cite hides /usr/share/emacs/24.0.50/lisp/gnus/gnu= s-cite ~/repos/el/gnus/lisp/gnus-cache hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-cache ~/repos/el/gnus/lisp/gnus-art hides /usr/share/emacs/24.0.50/lisp/gnus/gnus= -art ~/repos/el/gnus/lisp/gnus-agent hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-agent ~/repos/el/gnus/lisp/gnus-bookmark hides /usr/share/emacs/24.0.50/lisp/gnus= /gnus-bookmark ~/repos/el/gnus/lisp/gnus-async hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-async ~/repos/el/gnus/lisp/deuglify hides /usr/share/emacs/24.0.50/lisp/gnus/deug= lify ~/repos/el/gnus/lisp/gnus-bcklg hides /usr/share/emacs/24.0.50/lisp/gnus/gn= us-bcklg ~/repos/el/gnus/lisp/gmm-utils hides /usr/share/emacs/24.0.50/lisp/gnus/gmm= -utils ~/repos/el/gnus/lisp/flow-fill hides /usr/share/emacs/24.0.50/lisp/gnus/flo= w-fill ~/repos/el/gnus/lisp/ecomplete hides /usr/share/emacs/24.0.50/lisp/gnus/eco= mplete ~/repos/el/gnus/lisp/compface hides /usr/share/emacs/24.0.50/lisp/gnus/comp= face ~/repos/el/gnus/lisp/auth-source hides /usr/share/emacs/24.0.50/lisp/gnus/a= uth-source ~/repos/el/gnus/lisp/canlock hides /usr/share/emacs/24.0.50/lisp/gnus/canlo= ck ~/repos/el/gnus/lisp/.dir-locals hides /usr/share/emacs/24.0.50/lisp/gnus/.= dir-locals ~/repos/el/gnus/lisp/time-date hides /usr/share/emacs/24.0.50/lisp/calendar= /time-date ~/repos/el/gnus/lisp/parse-time hides /usr/share/emacs/24.0.50/lisp/calenda= r/parse-time Features: (shadow sort gnus-cite footnote emacsbug gnus-draft gnus-ml disp-table mule-util cal-move org-colview cal-iso xgit-dvc xgit xgit-annotate dvc-annotate xgit-log gnus-topic nnagent nnml utf-7 nnimap parse-time utf7 nndraft nnmh bbdb-gnus bbdb-snarf mail-extr bbdb-com nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view smime password-cache dig nntp gnus-cache nnir gnus-sum nnoo gnus-group gnus-undo nnmail mail-source th-private gnus-start gnus-spec gnus-int gnus-range gnus-win tla smerge-mode dvc-state dvc-config dvc-diff dvc-fileinfo diff tla-gnus dvc-gnus dvc-cmenu dvc-about dvc-version dvc-revlist bzr-core tla-core tla-autoconf tla-defs dvc-log vc vc-dispatcher dvc-unified dvc-tips ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff xdarcs-core xgit-core xhg-core xmtn-minimal filecache eldoc finder-inf package go-mode-load flymake greqlscript-mode greql-mode tg-mode generic th-latex paredit dvc-autoloads dvc-core dvc-lisp dvc-buffers dvc-ui dvc-register dvc-utils dvc-emacs ewoc dvc-defs dvc-site magit diff-mode log-edit pcvs-util add-log magit-key-mode epa-file epa epg epg-config wtf cus-edit cus-start cus-load rdictcc org-location-google-maps google-maps google-maps-static google-maps-geocode google-maps-base json org-google-weather format-spec google-weather xml url-cache org-beamer solar cal-dst holidays hol-loaddefs appt diary-lib diary-loaddefs vc-git hl-line org-w3m org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks org-info org-gnus org-docview org-bibtex org-bbdb org-protocol org-attach org-id org-agenda org ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob org-list org-faces org-compat org-entities org-macs time-date org-install cal-menu calendar cal-loaddefs dired-x dired-aux highlight-symbol hi-lock th-boxquote boxquote rect ecomplete message idna sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader info server auto-complete-config auto-complete popup yasnippet dropdown-list help-mode view noutline outline browse-kill-ring derived recentf tree-widget sr-speedbar speedbar sb-image ezimage dframe assoc anything-config warnings compile comint ring semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw eieio byte-opt bytecomp byte-compile mode-local cedet imenu w3m-bookmark w3m browse-url doc-view jka-compr image-mode w3m-hist w3m-fb w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util bookmark pp easymenu rx ffap thingatpt anything window-number uniquify autopair easy-mmode subword saveplace savehist paren lusty-explorer dired cl cl-19 edmacro kmacro advice help-fns advice-preload th-common mm-url gnus gnus-ems nnheader mail-utils wid-edit url-http tls url url-proxy url-privacy url-expand url-methods url-history mailcap url-auth mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-cookie url-util url-parse auth-source netrc gnus-util url-gw url-vars mm-util mail-prsvr windmove gnus-load site-gentoo w3m-load preview-latex bbdb-autoloads bbdb regexp-opt timezone tex-site auto-loads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting font-render-setting x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 29 22:14:38 2010 Received: (at 7130) by debbugs.gnu.org; 30 Sep 2010 02:14:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P18fN-00036Q-9A for submit@debbugs.gnu.org; Wed, 29 Sep 2010 22:14:37 -0400 Received: from ivory4.scn-net.ne.jp ([219.117.176.192]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1P18fJ-00036F-LU; Wed, 29 Sep 2010 22:14:35 -0400 Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Thu, 30 Sep 2010 11:17:24 +0900 Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id o8U2HNMk015116; Thu, 30 Sep 2010 11:17:24 +0900 Message-ID: From: Daiki Ueno To: Tassilo Horn Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files References: <87eicdqa1b.fsf@thinkpad.tsdh.de> Date: Thu, 30 Sep 2010 11:20:00 +0900 In-Reply-To: <87eicdqa1b.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Wed, 29 Sep 2010 09:33:04 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7130 Cc: 7130@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) tags 7130 moreinfo unreproducible thanks Tassilo Horn writes: > I use several symmetrically encrypted files, like my ~/.authinfo.gpg > used by Gnus. That file is a symlink to > ~/repos/configs/dot-authinfo.gpg. When I find it using emacs (started > with or without -Q), I have to give my password in a pinentry window, > then I have to accept following the symlink, and then I have to provide > the password a second time. > > For information about GNU Emacs and the GNU system, type C-h C-a. > /home/horn/.authinfo: 0% (0/248) > /home/horn/.authinfo: 100% (248/248) > Loading vc-git...done > /home/horn/repos/con: 0% (0/248) > /home/horn/repos/con: 100% (248/248) > Followed link to /home/horn/repos/configs/dot-authinfo.gpg > > And although I have epa-file-cache-passphrase-for-symmetric-encryption > set to t, the passwords are not cached (epa-file-passphrase-alist is > nil). I've tried to edebug epa-file-passphrase-callback-function, but > I'm never put into the debugger. That function seems not to be > called... Hrm, I can't reproduce this. It seems that the only special thing on your environment is that your dot-authinfo.gpg is version controlled. However, even if I created a test Git repo and set up the symlink, I can by-pass the 2nd password query, if epa-file-cache-passphrase-for-symmetric-encryption is set. > That's a pretty serious issue for me, because since I entrypted my > .authinfo (which is good!), I have to enter my password for that file > gazillion times when starting up Gnus where I use 4 mail/news accounts > requiring authentication... Anyway, I added some resources to "(epa)Bug Reports". Could you provide more information to reproduce this? Ideally, with a script to setup the test environment. Here are the steps I tried: $ mkdir -p /tmp/test && cd /tmp/test $ gpg --symmetric > dot-test.gpg < /dev/null $ git init $ git add dot-test.gpg $ cd .. && ln -s test/dot-test.gpg .test.gpg $ emacs -Q $ M-: (setq epa-file-cache-passphrase-for-symmetric-encryption t) $ C-x C-f .test.gpg Regards, -- Daiki Ueno From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 30 02:21:50 2010 Received: (at 7130) by debbugs.gnu.org; 30 Sep 2010 06:21:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1CWc-0005Lr-4W for submit@debbugs.gnu.org; Thu, 30 Sep 2010 02:21:50 -0400 Received: from deliver.uni-koblenz.de ([141.26.64.15]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1CWZ-0005Lm-IS for 7130@debbugs.gnu.org; Thu, 30 Sep 2010 02:21:48 -0400 Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id D6E71782E89E; Thu, 30 Sep 2010 08:24:41 +0200 (CEST) Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32532-03; Thu, 30 Sep 2010 08:24:41 +0200 (CEST) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Received: from thinkpad.localnet (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id 49E9D782E854; Thu, 30 Sep 2010 08:24:41 +0200 (CEST) From: Tassilo Horn To: Daiki Ueno Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files Date: Thu, 30 Sep 2010 08:24:40 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.36-rc5+; KDE/4.5.1; x86_64; ; ) References: <87eicdqa1b.fsf@thinkpad.tsdh.de> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009300824.40732.tassilo@member.fsf.org> X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 7130 Cc: 7130@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) On Thursday 30 September 2010 04:20:00 Daiki Ueno wrote: Hi! > Hrm, I can't reproduce this. It seems that the only special thing on > your environment is that your dot-authinfo.gpg is version controlled. Indeed, that's the cause of the issue. It has to be version controlled and already committed (just git-added is not sufficient, but see below). > However, even if I created a test Git repo and set up the symlink, I > can by-pass the 2nd password query, if > epa-file-cache-passphrase-for-symmetric-encryption is set. > > [...] > > Anyway, I added some resources to "(epa)Bug Reports". Could you > provide more information to reproduce this? Sure. > Ideally, with a script to setup the test environment. Here are the > steps I tried: That script is missing only one line: > $ mkdir -p /tmp/test && cd /tmp/test > $ gpg --symmetric > dot-test.gpg < /dev/null > $ git init > $ git add dot-test.gpg $ git commit -m test > $ cd .. && ln -s test/dot-test.gpg .test.gpg > $ emacs -Q > $ M-: (setq epa-file-cache-passphrase-for-symmetric-encryption t) > $ C-x C-f .test.gpg Without having the file committed, emacs won't query you if it should follow a symlink to a git version controlled file, and that seems to trigger the bug. Bye, Tassilo From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 30 22:46:39 2010 Received: (at 7130) by debbugs.gnu.org; 1 Oct 2010 02:46:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1Vdv-0001v7-Je for submit@debbugs.gnu.org; Thu, 30 Sep 2010 22:46:39 -0400 Received: from ivory4.scn-net.ne.jp ([219.117.176.192]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1P1Vdt-0001v2-4n for 7130@debbugs.gnu.org; Thu, 30 Sep 2010 22:46:38 -0400 Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Fri, 1 Oct 2010 11:49:31 +0900 Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id o912nUHA007470; Fri, 1 Oct 2010 11:49:30 +0900 Message-ID: From: Daiki Ueno To: Tassilo Horn Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files References: <87eicdqa1b.fsf@thinkpad.tsdh.de> <201009300824.40732.tassilo@member.fsf.org> Date: Fri, 01 Oct 2010 11:52:08 +0900 In-Reply-To: <201009300824.40732.tassilo@member.fsf.org> (Tassilo Horn's message of "Thu, 30 Sep 2010 08:24:40 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7130 Cc: 7130@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Tassilo Horn writes: >> Here are the steps I tried: > > That script is missing only one line: > >> $ mkdir -p /tmp/test && cd /tmp/test >> $ gpg --symmetric > dot-test.gpg < /dev/null >> $ git init >> $ git add dot-test.gpg > > $ git commit -m test > >> $ cd .. && ln -s test/dot-test.gpg .test.gpg >> $ emacs -Q >> $ M-: (setq epa-file-cache-passphrase-for-symmetric-encryption t) >> $ C-x C-f .test.gpg > > Without having the file committed, emacs won't query you if it should > follow a symlink to a git version controlled file, and that seems to > trigger the bug. Well that is my typo. Even if I commit the file, I'm asked for password only once, while I'm actually asked if emacs should follow a symlink, and I answer "yes". The contents of *Message* are: --8<---------------cut here---------------start------------->8--- For information about GNU Emacs and the GNU system, type C-h C-a. t /tmp/.test.gpg: 0% (0/39) /tmp/.test.gpg: 100% (39/39) Loading vc-git...done /tmp/test/dot-test.g: 0% (0/39) /tmp/test/dot-test.g: 100% (39/39) Followed link to /tmp/test/dot-test.gpg --8<---------------cut here---------------end--------------->8--- >> Anyway, I added some resources to "(epa)Bug Reports". Could you >> provide more information to reproduce this? > > Sure. Could you provide other hints (GnuPG version, etc)? Regards, -- Daiki Ueno From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 01 06:11:51 2010 Received: (at 7130) by debbugs.gnu.org; 1 Oct 2010 10:11:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1cak-000531-OA for submit@debbugs.gnu.org; Fri, 01 Oct 2010 06:11:51 -0400 Received: from deliver.uni-koblenz.de ([141.26.64.15]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1caf-00052w-2j for 7130@debbugs.gnu.org; Fri, 01 Oct 2010 06:11:46 -0400 Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 637A67800E05; Fri, 1 Oct 2010 12:14:42 +0200 (CEST) Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21350-01-2; Fri, 1 Oct 2010 12:14:39 +0200 (CEST) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Received: from thinkpad.localnet (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id E46667800E08; Fri, 1 Oct 2010 12:14:39 +0200 (CEST) From: Tassilo Horn To: Daiki Ueno Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files Date: Fri, 1 Oct 2010 12:14:38 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.36-rc6+; KDE/4.5.1; x86_64; ; ) References: <87eicdqa1b.fsf@thinkpad.tsdh.de> <201009300824.40732.tassilo@member.fsf.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201010011214.38721.tassilo@member.fsf.org> X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 7130 Cc: 7130@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) On Friday 01 October 2010 04:52:08 Daiki Ueno wrote: > >> $ mkdir -p /tmp/test && cd /tmp/test > >> $ gpg --symmetric > dot-test.gpg < /dev/null > >> $ git init > >> $ git add dot-test.gpg > > > > $ git commit -m test > > > >> $ cd .. && ln -s test/dot-test.gpg .test.gpg > >> $ emacs -Q > >> $ M-: (setq epa-file-cache-passphrase-for-symmetric-encryption t) > >> $ C-x C-f .test.gpg > > > > Without having the file committed, emacs won't query you if it > > should follow a symlink to a git version controlled file, and that > > seems to trigger the bug. > > Well that is my typo. Even if I commit the file, I'm asked for > password only once, while I'm actually asked if emacs should follow a > symlink, and I answer "yes". That's strange... After finding the file, should the file/password be listed in `epa-file-passphrase-alist'? Here, it isn't... > The contents of *Message* are: > > --8<---------------cut here---------------start------------->8--- > For information about GNU Emacs and the GNU system, type C-h C-a. > t > /tmp/.test.gpg: 0% (0/39) > /tmp/.test.gpg: 100% (39/39) > Loading vc-git...done > /tmp/test/dot-test.g: 0% (0/39) > /tmp/test/dot-test.g: 100% (39/39) > Followed link to /tmp/test/dot-test.gpg > --8<---------------cut here---------------end--------------->8--- Mine are identical: --8<---------------cut here---------------start------------->8--- For information about GNU Emacs and the GNU system, type C-h C-a. t /tmp/.test.gpg: 0% (0/39) /tmp/.test.gpg: 100% (39/39) Loading vc-git...done /tmp/test/dot-test.g: 0% (0/39) /tmp/test/dot-test.g: 100% (39/39) Followed link to /tmp/test/dot-test.gpg --8<---------------cut here---------------end--------------->8--- > Could you provide other hints (GnuPG version, etc)? I use gnupg-2.0.16, and there's also gpgme-1.3.0 installed, if that has something to do with it. I don't have any clue what additional info may be helpful... Bye, Tassilo From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 01 07:44:47 2010 Received: (at 7130) by debbugs.gnu.org; 1 Oct 2010 11:44:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1e2g-0006LZ-Nr for submit@debbugs.gnu.org; Fri, 01 Oct 2010 07:44:47 -0400 Received: from ivory4.scn-net.ne.jp ([219.117.176.192]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1P1e2c-0006LU-WC for 7130@debbugs.gnu.org; Fri, 01 Oct 2010 07:44:44 -0400 Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Fri, 1 Oct 2010 20:47:38 +0900 Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id o91BlcoB027480; Fri, 1 Oct 2010 20:47:38 +0900 From: Daiki Ueno To: Tassilo Horn Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files References: <87eicdqa1b.fsf@thinkpad.tsdh.de> <201009300824.40732.tassilo@member.fsf.org> <201010011214.38721.tassilo@member.fsf.org> Date: Fri, 01 Oct 2010 20:47:36 +0900 In-Reply-To: <201010011214.38721.tassilo@member.fsf.org> (Tassilo Horn's message of "Fri, 1 Oct 2010 12:14:38 +0200") Message-ID: <87fwwqp21z.fsf@broken.deisui.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7130 Cc: 7130@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Tassilo Horn writes: > I use gnupg-2.0.16, and there's also gpgme-1.3.0 installed, if that has > something to do with it. Ah, you use gnupg2? Then, that is expected behavior. gnupg2 always use gpg-agent and there is no way to intercept password from elisp level. If you see your password is cached, that is probably because of my hack in gpg-agent: http://lists.gnupg.org/pipermail/gnupg-devel/2009-May/025045.html Perhaps this patch does not work for symlinks. Anyway I'd suggest to install gnupg1, which can coexist with gnupg2, and (setq epg-gpg-program "path to gpg program from gnupg1") Regards, -- Daiki Ueno From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 01 17:39:53 2010 Received: (at 7130) by debbugs.gnu.org; 1 Oct 2010 21:39:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1nKa-0001r3-OR for submit@debbugs.gnu.org; Fri, 01 Oct 2010 17:39:52 -0400 Received: from out5.smtp.messagingengine.com ([66.111.4.29]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1nKY-0001qy-Pi for 7130@debbugs.gnu.org; Fri, 01 Oct 2010 17:39:51 -0400 Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.messagingengine.com (Postfix) with ESMTP id C125421F; Fri, 1 Oct 2010 17:42:49 -0400 (EDT) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute3.internal (MEProxy); Fri, 01 Oct 2010 17:42:49 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:cc:subject:references:date:in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=GeMMDqd78pcolC7EjmKpBzJYafk=; b=YmMC8WXVI8eCTyxdQ/Sc+ikiES0VtVps7sizQQK+qNDQRt+4YAgirCokMPbhmz64jckx/Uubc/lJAbR2C+KxOOTEk2h/J15JZT4EVJxQF4wNDZCwa9ZRsOeF/i4NnuUPjkCmMfhdzSyirX8WzASItjZ31hXY84LCHd2b2JDHqfA= X-Sasl-enc: rL7ArLq8mhS1Mfx70GwcKF6xhh2KXxSOQDQeWDermMaP 1285969369 Received: from thinkpad.tsdh.de (p54AF1120.dip0.t-ipconnect.de [84.175.17.32]) by mail.messagingengine.com (Postfix) with ESMTPA id B6C5C408020; Fri, 1 Oct 2010 17:42:48 -0400 (EDT) From: Tassilo Horn To: Daiki Ueno Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files References: <87eicdqa1b.fsf@thinkpad.tsdh.de> <201009300824.40732.tassilo@member.fsf.org> <201010011214.38721.tassilo@member.fsf.org> <87fwwqp21z.fsf@broken.deisui.org> Date: Fri, 01 Oct 2010 23:42:46 +0200 In-Reply-To: <87fwwqp21z.fsf@broken.deisui.org> (Daiki Ueno's message of "Fri, 01 Oct 2010 20:47:36 +0900") Message-ID: <878w2h7fop.fsf@thinkpad.tsdh.de> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: 7130 Cc: 7130@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.0 (----) Daiki Ueno writes: >> I use gnupg-2.0.16, and there's also gpgme-1.3.0 installed, if that has >> something to do with it. > > Ah, you use gnupg2? Then, that is expected behavior. gnupg2 always > use gpg-agent and there is no way to intercept password from elisp > level. Ah, I see. > If you see your password is cached, that is probably because of my > hack in gpg-agent: > > http://lists.gnupg.org/pipermail/gnupg-devel/2009-May/025045.html > > Perhaps this patch does not work for symlinks. Hm, passwords aren't cached in neither with nor without symlink. So I guess that patch is not in my gnupg version. > Anyway I'd suggest to install gnupg1, which can coexist with gnupg2, and > (setq epg-gpg-program "path to gpg program from gnupg1") Ok, then I'll do that. Bye, Tassilo From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 01 20:20:42 2010 Received: (at 7130) by debbugs.gnu.org; 2 Oct 2010 00:20:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1pqD-0003WH-Qj for submit@debbugs.gnu.org; Fri, 01 Oct 2010 20:20:42 -0400 Received: from ivory4.scn-net.ne.jp ([219.117.176.192]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1P1pqA-0003WC-Kb for 7130@debbugs.gnu.org; Fri, 01 Oct 2010 20:20:40 -0400 Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Sat, 2 Oct 2010 09:23:34 +0900 Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id o920NYNM028869; Sat, 2 Oct 2010 09:23:34 +0900 From: Daiki Ueno To: Tassilo Horn Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files References: <87eicdqa1b.fsf@thinkpad.tsdh.de> <201009300824.40732.tassilo@member.fsf.org> <201010011214.38721.tassilo@member.fsf.org> <87fwwqp21z.fsf@broken.deisui.org> <878w2h7fop.fsf@thinkpad.tsdh.de> Date: Sat, 02 Oct 2010 09:23:32 +0900 In-Reply-To: <878w2h7fop.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Fri, 01 Oct 2010 23:42:46 +0200") Message-ID: <87eic9mohn.fsf@broken.deisui.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7130 Cc: 7130@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Tassilo Horn writes: >> If you see your password is cached, that is probably because of my >> hack in gpg-agent: >> >> http://lists.gnupg.org/pipermail/gnupg-devel/2009-May/025045.html > > Hm, passwords aren't cached in neither with nor without symlink. So I > guess that patch is not in my gnupg version. FWIW, it has been available since gnupg-2.0.13 and I confirmed it with Debian package based on 2.0.14. You can try it with: $ echo aaa > test.txt $ gpg2 --symmetric test.txt # will ask password twice $ pkill -HUP gpg-agent # clear the password cache $ gpg2 < test.txt.gpg # will ask password $ gpg2 < test.txt.gpg # won't ask password I personally think this feature safer than caching passwords in elisp. Regards, -- Daiki Ueno From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 02 03:13:49 2010 Received: (at 7130) by debbugs.gnu.org; 2 Oct 2010 07:13:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1wI0-0006BJ-Q7 for submit@debbugs.gnu.org; Sat, 02 Oct 2010 03:13:49 -0400 Received: from out5.smtp.messagingengine.com ([66.111.4.29]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1wHy-0006BE-Pr for 7130@debbugs.gnu.org; Sat, 02 Oct 2010 03:13:47 -0400 Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.messagingengine.com (Postfix) with ESMTP id C9E5E20B; Sat, 2 Oct 2010 03:16:46 -0400 (EDT) Received: from frontend2.messagingengine.com ([10.202.2.161]) by compute3.internal (MEProxy); Sat, 02 Oct 2010 03:16:46 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:cc:subject:references:date:in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=fVKx7G5vYjrBVyl2t7ME9Wao7y8=; b=e1wbEYroPA2psX2TTw4QC2hnA0GvLspcBkcI5WVmiNjJudq2VxG3yeJ3c8WLMHrAyScpYN7GwesswS54HigRZ1IpJV9LrciIS0BRbdKdhHCXgbNT/HL8WGEjgcAahHjjL2p7B1UNO8ZuPYUr8CJ0P9z8/SGo+r/uLMpOGfTqJxU= X-Sasl-enc: DALbA6Ga2Rp1/oovowi/ueX+bv6gySZG4dUL7dgHFBuM 1286003806 Received: from thinkpad.tsdh.de (p54AF0045.dip0.t-ipconnect.de [84.175.0.69]) by mail.messagingengine.com (Postfix) with ESMTPA id B4A495E7CCF; Sat, 2 Oct 2010 03:16:45 -0400 (EDT) From: Tassilo Horn To: Daiki Ueno Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files References: <87eicdqa1b.fsf@thinkpad.tsdh.de> <201009300824.40732.tassilo@member.fsf.org> <201010011214.38721.tassilo@member.fsf.org> <87fwwqp21z.fsf@broken.deisui.org> <878w2h7fop.fsf@thinkpad.tsdh.de> <87eic9mohn.fsf@broken.deisui.org> Date: Sat, 02 Oct 2010 09:16:43 +0200 In-Reply-To: <87eic9mohn.fsf@broken.deisui.org> (Daiki Ueno's message of "Sat, 02 Oct 2010 09:23:32 +0900") Message-ID: <87ocbd83ok.fsf@thinkpad.tsdh.de> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: 7130 Cc: 7130@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) Daiki Ueno writes: Hi Daiki, >>> If you see your password is cached, that is probably because of my >>> hack in gpg-agent: >>> >>> http://lists.gnupg.org/pipermail/gnupg-devel/2009-May/025045.html >> >> Hm, passwords aren't cached in neither with nor without symlink. So >> I guess that patch is not in my gnupg version. > > FWIW, it has been available since gnupg-2.0.13 and I confirmed it with > Debian package based on 2.0.14. You can try it with: > > $ echo aaa > test.txt > $ gpg2 --symmetric test.txt # will ask password twice > $ pkill -HUP gpg-agent # clear the password cache > $ gpg2 < test.txt.gpg # will ask password > $ gpg2 < test.txt.gpg # won't ask password Ah, I've just got you wrong. I've thought you hacked something up that allows retrieving the passwords in elisp and cache them in the usual epa variables. The caching in the agent works fine with the recipe above. > I personally think this feature safer than caching passwords in elisp. Yes, that's probably true. Bye, Tassilo From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 02 20:08:39 2010 Received: (at control) by debbugs.gnu.org; 3 Oct 2010 00:08:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P2C86-0007Vl-NV for submit@debbugs.gnu.org; Sat, 02 Oct 2010 20:08:38 -0400 Received: from pantheon-po42.its.yale.edu ([130.132.50.101]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P2C85-0007Vg-1X for control@debbugs.gnu.org; Sat, 02 Oct 2010 20:08:37 -0400 Received: from furry (173-9-75-145-NewEngland.hfc.comcastbusiness.net [173.9.75.145]) (authenticated bits=0) by pantheon-po42.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o930BcBY021203 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 2 Oct 2010 20:11:39 -0400 Received: by furry (Postfix, from userid 1000) id 8510FC018; Sat, 2 Oct 2010 20:11:38 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: tag 7130 Date: Sat, 02 Oct 2010 20:11:38 -0400 Message-ID: <87iq1kqgn9.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) tags 7130 notabug close 7130 thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 03 05:12:44 2010 Received: (at 7130) by debbugs.gnu.org; 3 Oct 2010 09:12:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P2Kce-0005AE-Bf for submit@debbugs.gnu.org; Sun, 03 Oct 2010 05:12:44 -0400 Received: from ivory4.scn-net.ne.jp ([219.117.176.192]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1P2Kca-0005A9-9k for 7130@debbugs.gnu.org; Sun, 03 Oct 2010 05:12:41 -0400 Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Sun, 3 Oct 2010 18:15:41 +0900 Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id o939FfNj021338; Sun, 3 Oct 2010 18:15:41 +0900 From: Daiki Ueno To: Tassilo Horn Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files References: <87eicdqa1b.fsf@thinkpad.tsdh.de> <201009300824.40732.tassilo@member.fsf.org> <201010011214.38721.tassilo@member.fsf.org> <87fwwqp21z.fsf@broken.deisui.org> <878w2h7fop.fsf@thinkpad.tsdh.de> <87eic9mohn.fsf@broken.deisui.org> <87ocbd83ok.fsf@thinkpad.tsdh.de> Date: Sun, 03 Oct 2010 18:15:39 +0900 In-Reply-To: <87ocbd83ok.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Sat, 02 Oct 2010 09:16:43 +0200") Message-ID: <877hhz3adg.fsf@broken.deisui.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7130 Cc: 7130@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Tassilo Horn writes: > Ah, I've just got you wrong. I've thought you hacked something up that > allows retrieving the passwords in elisp and cache them in the usual epa > variables. The caching in the agent works fine with the recipe above. Now I am wondering what is your problem. I tried the original recipe of this bug with gnupg2 and I was asked password only once. Could you provide other information in "(epa)Bug Reports"? >> I personally think this feature safer than caching passwords in elisp. > > Yes, that's probably true. If it is usable :) Regards, -- Daiki Ueno From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 04 14:58:14 2010 Received: (at 7130) by debbugs.gnu.org; 4 Oct 2010 18:58:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P2qEo-0001RG-E2 for submit@debbugs.gnu.org; Mon, 04 Oct 2010 14:58:14 -0400 Received: from out5.smtp.messagingengine.com ([66.111.4.29]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P2qEl-0001R8-Sn for 7130@debbugs.gnu.org; Mon, 04 Oct 2010 14:58:12 -0400 Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 737C33DD; Mon, 4 Oct 2010 15:01:18 -0400 (EDT) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Mon, 04 Oct 2010 15:01:18 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:cc:subject:references:date:in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=04rgUrqn57moBA/aZWueHz7ns00=; b=LKkg0s5LCjLZ0cFMFMmdMtVjmGzG0Ae4Z5z3z8ehrQ3KwYcYsXIq7Ysb+fAao3JI60klhUcnVIcKB7uDiLF7iPcxkwe7FI7GsMzAJ0xqLW3NykCNckn8n4u8CANwEZTOLT+kcE1Wv+Wf9I9sh6XAGImSUTVSDIdwRcdblP2E1Y4= X-Sasl-enc: 0KB7bW3w+LEd3iIafm32TT+oIgbjd8PlV36SexfvODRM 1286218877 Received: from thinkpad.tsdh.de (p54AF1275.dip0.t-ipconnect.de [84.175.18.117]) by mail.messagingengine.com (Postfix) with ESMTPA id BA0E940037F; Mon, 4 Oct 2010 15:01:16 -0400 (EDT) From: Tassilo Horn To: Daiki Ueno Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files References: <87eicdqa1b.fsf@thinkpad.tsdh.de> <201009300824.40732.tassilo@member.fsf.org> <201010011214.38721.tassilo@member.fsf.org> <87fwwqp21z.fsf@broken.deisui.org> <878w2h7fop.fsf@thinkpad.tsdh.de> <87eic9mohn.fsf@broken.deisui.org> <87ocbd83ok.fsf@thinkpad.tsdh.de> <877hhz3adg.fsf@broken.deisui.org> Date: Mon, 04 Oct 2010 21:01:13 +0200 In-Reply-To: <877hhz3adg.fsf@broken.deisui.org> (Daiki Ueno's message of "Sun, 03 Oct 2010 18:15:39 +0900") Message-ID: <878w2dkcjq.fsf@thinkpad.tsdh.de> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: 7130 Cc: 7130@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) Daiki Ueno writes: Hi! >> The caching in the agent works fine with the recipe above. > > Now I am wondering what is your problem. Nay, I was wrong. The gpg-agent (gnupg2) caching doesn't work for me, too. When I do exactly that --8<---------------cut here---------------start------------->8--- $ echo aaa > test.txt $ gpg2 --symmetric test.txt $ pkill -HUP gpg-agent $ gpg2 < test.txt.gpg $ gpg2 < test.txt.gpg --8<---------------cut here---------------end--------------->8--- I'm queried twice for the password. Do I have to start gpg-agent with a special option or edit my ~/.gnupg/gpg.conf? Bye, Tassilo From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 04 21:52:14 2010 Received: (at 7130) by debbugs.gnu.org; 5 Oct 2010 01:52:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P2whS-0005Wz-7R for submit@debbugs.gnu.org; Mon, 04 Oct 2010 21:52:14 -0400 Received: from ivory4.scn-net.ne.jp ([219.117.176.192]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1P2whO-0005Wq-FY for 7130@debbugs.gnu.org; Mon, 04 Oct 2010 21:52:12 -0400 Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Tue, 5 Oct 2010 10:55:14 +0900 Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id o951tD7N007346; Tue, 5 Oct 2010 10:55:14 +0900 Message-ID: From: Daiki Ueno To: Tassilo Horn Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files References: <87eicdqa1b.fsf@thinkpad.tsdh.de> <201009300824.40732.tassilo@member.fsf.org> <201010011214.38721.tassilo@member.fsf.org> <87fwwqp21z.fsf@broken.deisui.org> <878w2h7fop.fsf@thinkpad.tsdh.de> <87eic9mohn.fsf@broken.deisui.org> <87ocbd83ok.fsf@thinkpad.tsdh.de> <877hhz3adg.fsf@broken.deisui.org> <878w2dkcjq.fsf@thinkpad.tsdh.de> Date: Tue, 05 Oct 2010 10:58:04 +0900 In-Reply-To: <878w2dkcjq.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Mon, 04 Oct 2010 21:01:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7130 Cc: 7130@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Tassilo Horn writes: > Nay, I was wrong. The gpg-agent (gnupg2) caching doesn't work for me, > too. Perhaps gpg-agent is not running on your X session at all? Check: $ pgrep gpg-agent 2828 $ echo $GPG_AGENT_INFO /tmp/gpg-Yy9vVW/S.gpg-agent:2828:1 If gpg-agent is not running in background, gpg2 will invoke gpg-agent and kill it each time so gpg2 processes cannot share password cache per session. > Do I have to start gpg-agent with a special option or edit my > ~/.gnupg/gpg.conf? To set up gpg-agent, see "(gnupg) Invoking GPG-AGENT". BTW, on Debian, gpg-agent will start automatically if you have "use-agent" in ~/.gnupg/gpg.conf (see /etc/X11/Xsession.d/*gpg-agent*). Regards, -- Daiki Ueno From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 05 02:46:47 2010 Received: (at 7130) by debbugs.gnu.org; 5 Oct 2010 06:46:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P31IV-0007Sz-GW for submit@debbugs.gnu.org; Tue, 05 Oct 2010 02:46:47 -0400 Received: from deliver.uni-koblenz.de ([141.26.64.15]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P31IT-0007St-59 for 7130@debbugs.gnu.org; Tue, 05 Oct 2010 02:46:45 -0400 Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 6937A7897739; Tue, 5 Oct 2010 08:49:52 +0200 (CEST) Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28148-10; Tue, 5 Oct 2010 08:49:51 +0200 (CEST) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Received: from thinkpad.tsdh.de (tsdh.uni-koblenz.de [141.26.67.142]) by deliver.uni-koblenz.de (Postfix) with ESMTP id D39AC78667AC; Tue, 5 Oct 2010 08:49:51 +0200 (CEST) From: Tassilo Horn To: Daiki Ueno Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files References: <87eicdqa1b.fsf@thinkpad.tsdh.de> <201009300824.40732.tassilo@member.fsf.org> <201010011214.38721.tassilo@member.fsf.org> <87fwwqp21z.fsf@broken.deisui.org> <878w2h7fop.fsf@thinkpad.tsdh.de> <87eic9mohn.fsf@broken.deisui.org> <87ocbd83ok.fsf@thinkpad.tsdh.de> <877hhz3adg.fsf@broken.deisui.org> <878w2dkcjq.fsf@thinkpad.tsdh.de> Date: Tue, 05 Oct 2010 08:49:40 +0200 In-Reply-To: (Daiki Ueno's message of "Tue, 05 Oct 2010 10:58:04 +0900") Message-ID: <8739sl16d7.fsf@thinkpad.tsdh.de> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 7130 Cc: 7130@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) Daiki Ueno writes: >> Nay, I was wrong. The gpg-agent (gnupg2) caching doesn't work for me, >> too. > > Perhaps gpg-agent is not running on your X session at all? I've explicitly started it before testing, but my error was that I didn't source the agent info file. > To set up gpg-agent, see "(gnupg) Invoking GPG-AGENT". Great, I've went through that and set it up properly so that it gets started the first time I login. And now it works on console and also with emacs, with regular files and symlinks, and ditto for symlinks to version controlled files. Thanks a lot for being that patient with me. :-) Bye, Tassilo From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 05 03:08:04 2010 Received: (at control) by debbugs.gnu.org; 5 Oct 2010 07:08:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P31d6-0007cr-B0 for submit@debbugs.gnu.org; Tue, 05 Oct 2010 03:08:04 -0400 Received: from ivory4.scn-net.ne.jp ([219.117.176.192]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1P31d3-0007cV-At for control@debbugs.gnu.org; Tue, 05 Oct 2010 03:08:02 -0400 Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Tue, 5 Oct 2010 16:11:04 +0900 Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id o957B4X3024478 for ; Tue, 5 Oct 2010 16:11:04 +0900 Message-ID: From: Daiki Ueno To: control@debbugs.gnu.org Subject: closing #7130 Date: Tue, 05 Oct 2010 16:13:57 +0900 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) tags 7130 = notabug close 7130 thanks From unknown Fri Jun 20 06:47:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 02 Nov 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator