Package: emacs;
Reported by: Tassilo Horn <tassilo <at> member.fsf.org>
Date: Wed, 29 Sep 2010 07:31:01 UTC
Severity: normal
Tags: notabug
Found in version 24.0.50
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7130 in the body.
You can then email your comments to 7130 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:bug#7130
; Package emacs
.
(Wed, 29 Sep 2010 07:31:01 GMT) Full text and rfc822 format available.Tassilo Horn <tassilo <at> member.fsf.org>
:bug-gnu-emacs <at> gnu.org
.
(Wed, 29 Sep 2010 07:31:01 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Tassilo Horn <tassilo <at> member.fsf.org> To: bug-gnu-emacs <at> 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
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=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-24' '--infodir=/usr/share/info/emacs-24' '--with-crt-dir=/usr/lib64' '--without-compress-info' '--with-sound' '--with-x' '--without-gconf' '--with-xml2' '--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=no' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=native -O2 -pipe' 'LDFLAGS=-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 <return> M-x g n u s <return> C-c o o C-c o a a f M-x C-g <down> <down> <down> <down> <down> <down> q C-x b <return> <up> <up> <up> <up> <down> <tab> <tab> <down> <down> <tab> <return> <backspace> C-e <return> * * * SPC C O D O <backspace> <backspace> <backspace> <backspace> T O D O SPC A l l g e m e i n e n SPC T e i l SPC v e r v o l l s t รค n d i g e n C-c C-d <S-down> <S-right> <S-right> <return> <down> <return> <up> <up> C-x C-s C-x b g r <return> l <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <return> <up> <up> <return> <up> <up> <up> ^ <down> O q <down> <up> <return> <up> <up> <return> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <up> M-b r e M-x r e p <tab> o <tab> r <tab> b <tab> <return> 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 ==> ~/.gnus.el successfully loaded. <== 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/password-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/org-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/org-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/lisp/org/org-taskjuggler ~/repos/el/org-mode/lisp/org-remember hides /usr/share/emacs/24.0.50/lisp/org/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/org/org-publish ~/repos/el/org-mode/lisp/org-src hides /usr/share/emacs/24.0.50/lisp/org/org-src ~/repos/el/org-mode/lisp/org-protocol hides /usr/share/emacs/24.0.50/lisp/org/org-protocol ~/repos/el/org-mode/lisp/org-plot hides /usr/share/emacs/24.0.50/lisp/org/org-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/org-mks ~/repos/el/org-mode/lisp/org-mhe hides /usr/share/emacs/24.0.50/lisp/org/org-mhe ~/repos/el/org-mode/lisp/org-mew hides /usr/share/emacs/24.0.50/lisp/org/org-mew ~/repos/el/org-mode/lisp/org-mac-message hides /usr/share/emacs/24.0.50/lisp/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/org-macs ~/repos/el/org-mode/lisp/org-list hides /usr/share/emacs/24.0.50/lisp/org/org-list ~/repos/el/org-mode/lisp/org-irc hides /usr/share/emacs/24.0.50/lisp/org/org-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/org/org-install ~/repos/el/org-mode/lisp/org-info hides /usr/share/emacs/24.0.50/lisp/org/org-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/org-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/org/org-freemind ~/repos/el/org-mode/lisp/org-gnus hides /usr/share/emacs/24.0.50/lisp/org/org-gnus ~/repos/el/org-mode/lisp/org-feed hides /usr/share/emacs/24.0.50/lisp/org/org-feed ~/repos/el/org-mode/lisp/org-exp hides /usr/share/emacs/24.0.50/lisp/org/org-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/org/org-footnote ~/repos/el/org-mode/lisp/org-docview hides /usr/share/emacs/24.0.50/lisp/org/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/org/org-docbook ~/repos/el/org-mode/lisp/org-entities hides /usr/share/emacs/24.0.50/lisp/org/org-entities ~/repos/el/org-mode/lisp/org-datetree hides /usr/share/emacs/24.0.50/lisp/org/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/org/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/org/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/org-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/org/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/ob-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/ob-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/ob-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/ob-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/org/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/sasl-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/uudecode ~/repos/el/gnus/lisp/hashcash hides /usr/share/emacs/24.0.50/lisp/mail/hashcash ~/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/webmail ~/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/spam-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/spam-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/starttls ~/repos/el/gnus/lisp/spam-stat hides /usr/share/emacs/24.0.50/lisp/gnus/spam-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/sieve-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/score-mode ~/repos/el/gnus/lisp/rfc2231 hides /usr/share/emacs/24.0.50/lisp/gnus/rfc2231 ~/repos/el/gnus/lisp/rfc2047 hides /usr/share/emacs/24.0.50/lisp/gnus/rfc2047 ~/repos/el/gnus/lisp/rfc2104 hides /usr/share/emacs/24.0.50/lisp/gnus/rfc2104 ~/repos/el/gnus/lisp/nnvirtual hides /usr/share/emacs/24.0.50/lisp/gnus/nnvirtual ~/repos/el/gnus/lisp/rfc2045 hides /usr/share/emacs/24.0.50/lisp/gnus/rfc2045 ~/repos/el/gnus/lisp/rfc1843 hides /usr/share/emacs/24.0.50/lisp/gnus/rfc1843 ~/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/nnspool ~/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/nnmairix ~/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/nnmaildir ~/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/nnfolder ~/repos/el/gnus/lisp/nngateway hides /usr/share/emacs/24.0.50/lisp/gnus/nngateway ~/repos/el/gnus/lisp/nneething hides /usr/share/emacs/24.0.50/lisp/gnus/nneething ~/repos/el/gnus/lisp/nnheader hides /usr/share/emacs/24.0.50/lisp/gnus/nnheader ~/repos/el/gnus/lisp/nndraft hides /usr/share/emacs/24.0.50/lisp/gnus/nndraft ~/repos/el/gnus/lisp/nnagent hides /usr/share/emacs/24.0.50/lisp/gnus/nnagent ~/repos/el/gnus/lisp/nndiary hides /usr/share/emacs/24.0.50/lisp/gnus/nndiary ~/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/nnbabyl ~/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-view ~/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-util ~/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/mml2015 ~/repos/el/gnus/lisp/mml-sec hides /usr/share/emacs/24.0.50/lisp/gnus/mml-sec ~/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/message ~/repos/el/gnus/lisp/mml1991 hides /usr/share/emacs/24.0.50/lisp/gnus/mml1991 ~/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/mail-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/messcompat ~/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/mail-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/mail-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/mailcap ~/repos/el/gnus/lisp/ietf-drums hides /usr/share/emacs/24.0.50/lisp/gnus/ietf-drums ~/repos/el/gnus/lisp/gravatar hides /usr/share/emacs/24.0.50/lisp/gnus/gravatar ~/repos/el/gnus/lisp/html2text hides /usr/share/emacs/24.0.50/lisp/gnus/html2text ~/repos/el/gnus/lisp/gnus-topic hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-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/gnus-util ~/repos/el/gnus/lisp/gnus-start hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-start ~/repos/el/gnus/lisp/gnus-undo hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-undo ~/repos/el/gnus/lisp/gnus-sync hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-sync ~/repos/el/gnus/lisp/gnus-srvr hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-srvr ~/repos/el/gnus/lisp/gnus-sieve hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-sieve ~/repos/el/gnus/lisp/gnus-spec hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-spec ~/repos/el/gnus/lisp/gnus-score hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-score ~/repos/el/gnus/lisp/gnus-setup hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-setup ~/repos/el/gnus/lisp/gnus-salt hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-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/gnus-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/gnus-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/gnus-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/gnus-logic ~/repos/el/gnus/lisp/gnus-kill hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-kill ~/repos/el/gnus/lisp/gnus-group hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-group ~/repos/el/gnus/lisp/gnus-html hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-html ~/repos/el/gnus/lisp/gnus-draft hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-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/gnus-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/gnus-eform ~/repos/el/gnus/lisp/gnus-delay hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-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/gnus-demon ~/repos/el/gnus/lisp/gnus-dired hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-dired ~/repos/el/gnus/lisp/gnus-cite hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-cite ~/repos/el/gnus/lisp/gnus-cache hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-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/gnus-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/gnus-async ~/repos/el/gnus/lisp/deuglify hides /usr/share/emacs/24.0.50/lisp/gnus/deuglify ~/repos/el/gnus/lisp/gnus-bcklg hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-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/flow-fill ~/repos/el/gnus/lisp/ecomplete hides /usr/share/emacs/24.0.50/lisp/gnus/ecomplete ~/repos/el/gnus/lisp/compface hides /usr/share/emacs/24.0.50/lisp/gnus/compface ~/repos/el/gnus/lisp/auth-source hides /usr/share/emacs/24.0.50/lisp/gnus/auth-source ~/repos/el/gnus/lisp/canlock hides /usr/share/emacs/24.0.50/lisp/gnus/canlock ~/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/calendar/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)
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:bug#7130
; Package emacs
.
(Thu, 30 Sep 2010 02:15:03 GMT) Full text and rfc822 format available.Message #8 received at 7130 <at> debbugs.gnu.org (full text, mbox):
From: Daiki Ueno <ueno <at> unixuser.org> To: Tassilo Horn <tassilo <at> member.fsf.org> Cc: 7130 <at> debbugs.gnu.org Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files Date: Thu, 30 Sep 2010 11:20:00 +0900
tags 7130 moreinfo unreproducible thanks Tassilo Horn <tassilo <at> member.fsf.org> 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
Daiki Ueno <ueno <at> unixuser.org>
to control <at> debbugs.gnu.org
.
(Thu, 30 Sep 2010 02:15:03 GMT) Full text and rfc822 format available.owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:bug#7130
; Package emacs
.
(Thu, 30 Sep 2010 06:22:02 GMT) Full text and rfc822 format available.Message #13 received at 7130 <at> debbugs.gnu.org (full text, mbox):
From: Tassilo Horn <tassilo <at> member.fsf.org> To: Daiki Ueno <ueno <at> unixuser.org> Cc: 7130 <at> debbugs.gnu.org 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
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
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:bug#7130
; Package emacs
.
(Fri, 01 Oct 2010 02:47:02 GMT) Full text and rfc822 format available.Message #16 received at 7130 <at> debbugs.gnu.org (full text, mbox):
From: Daiki Ueno <ueno <at> unixuser.org> To: Tassilo Horn <tassilo <at> member.fsf.org> Cc: 7130 <at> debbugs.gnu.org Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files Date: Fri, 01 Oct 2010 11:52:08 +0900
Tassilo Horn <tassilo <at> member.fsf.org> 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
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:bug#7130
; Package emacs
.
(Fri, 01 Oct 2010 10:12:02 GMT) Full text and rfc822 format available.Message #19 received at 7130 <at> debbugs.gnu.org (full text, mbox):
From: Tassilo Horn <tassilo <at> member.fsf.org> To: Daiki Ueno <ueno <at> unixuser.org> Cc: 7130 <at> debbugs.gnu.org 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
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
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:bug#7130
; Package emacs
.
(Fri, 01 Oct 2010 11:45:02 GMT) Full text and rfc822 format available.Message #22 received at 7130 <at> debbugs.gnu.org (full text, mbox):
From: Daiki Ueno <ueno <at> unixuser.org> To: Tassilo Horn <tassilo <at> member.fsf.org> Cc: 7130 <at> debbugs.gnu.org Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files Date: Fri, 01 Oct 2010 20:47:36 +0900
Tassilo Horn <tassilo <at> member.fsf.org> 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
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:bug#7130
; Package emacs
.
(Fri, 01 Oct 2010 21:40:03 GMT) Full text and rfc822 format available.Message #25 received at 7130 <at> debbugs.gnu.org (full text, mbox):
From: Tassilo Horn <tassilo <at> member.fsf.org> To: Daiki Ueno <ueno <at> unixuser.org> Cc: 7130 <at> debbugs.gnu.org Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files Date: Fri, 01 Oct 2010 23:42:46 +0200
Daiki Ueno <ueno <at> unixuser.org> 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
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:bug#7130
; Package emacs
.
(Sat, 02 Oct 2010 00:21:02 GMT) Full text and rfc822 format available.Message #28 received at 7130 <at> debbugs.gnu.org (full text, mbox):
From: Daiki Ueno <ueno <at> unixuser.org> To: Tassilo Horn <tassilo <at> member.fsf.org> Cc: 7130 <at> debbugs.gnu.org Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files Date: Sat, 02 Oct 2010 09:23:32 +0900
Tassilo Horn <tassilo <at> member.fsf.org> 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
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:bug#7130
; Package emacs
.
(Sat, 02 Oct 2010 07:14:01 GMT) Full text and rfc822 format available.Message #31 received at 7130 <at> debbugs.gnu.org (full text, mbox):
From: Tassilo Horn <tassilo <at> member.fsf.org> To: Daiki Ueno <ueno <at> unixuser.org> Cc: 7130 <at> debbugs.gnu.org Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files Date: Sat, 02 Oct 2010 09:16:43 +0200
Daiki Ueno <ueno <at> unixuser.org> 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
Chong Yidong <cyd <at> stupidchicken.com>
to control <at> debbugs.gnu.org
.
(Sun, 03 Oct 2010 00:09:01 GMT) Full text and rfc822 format available.Chong Yidong <cyd <at> stupidchicken.com>
to control <at> debbugs.gnu.org
.
(Sun, 03 Oct 2010 00:09:01 GMT) Full text and rfc822 format available.owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:bug#7130
; Package emacs
.
(Sun, 03 Oct 2010 09:13:01 GMT) Full text and rfc822 format available.Message #38 received at 7130 <at> debbugs.gnu.org (full text, mbox):
From: Daiki Ueno <ueno <at> unixuser.org> To: Tassilo Horn <tassilo <at> member.fsf.org> Cc: 7130 <at> debbugs.gnu.org Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files Date: Sun, 03 Oct 2010 18:15:39 +0900
Tassilo Horn <tassilo <at> member.fsf.org> 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
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:bug#7130
; Package emacs
.
(Mon, 04 Oct 2010 18:59:01 GMT) Full text and rfc822 format available.Message #41 received at 7130 <at> debbugs.gnu.org (full text, mbox):
From: Tassilo Horn <tassilo <at> member.fsf.org> To: Daiki Ueno <ueno <at> unixuser.org> Cc: 7130 <at> debbugs.gnu.org Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files Date: Mon, 04 Oct 2010 21:01:13 +0200
Daiki Ueno <ueno <at> unixuser.org> 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
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:bug#7130
; Package emacs
.
(Tue, 05 Oct 2010 01:53:01 GMT) Full text and rfc822 format available.Message #44 received at 7130 <at> debbugs.gnu.org (full text, mbox):
From: Daiki Ueno <ueno <at> unixuser.org> To: Tassilo Horn <tassilo <at> member.fsf.org> Cc: 7130 <at> debbugs.gnu.org Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files Date: Tue, 05 Oct 2010 10:58:04 +0900
Tassilo Horn <tassilo <at> member.fsf.org> 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
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:bug#7130
; Package emacs
.
(Tue, 05 Oct 2010 06:47:02 GMT) Full text and rfc822 format available.Message #47 received at 7130 <at> debbugs.gnu.org (full text, mbox):
From: Tassilo Horn <tassilo <at> member.fsf.org> To: Daiki Ueno <ueno <at> unixuser.org> Cc: 7130 <at> debbugs.gnu.org Subject: Re: bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files Date: Tue, 05 Oct 2010 08:49:40 +0200
Daiki Ueno <ueno <at> unixuser.org> 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
Daiki Ueno <ueno <at> unixuser.org>
to control <at> debbugs.gnu.org
.
(Tue, 05 Oct 2010 07:09:02 GMT) Full text and rfc822 format available.Debbugs Internal Request <help-debbugs <at> gnu.org>
to internal_control <at> debbugs.gnu.org
.
(Tue, 02 Nov 2010 11:24:03 GMT) Full text and rfc822 format available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.