From: Daiki Ueno <ueno@unixuser.org>
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: 7130@debbugs.gnu.org
Subject: 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 [thread overview]
Message-ID: <87eic9mohn.fsf@broken.deisui.org> (raw)
In-Reply-To: <878w2h7fop.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Fri, 01 Oct 2010 23:42:46 +0200")
Tassilo Horn <tassilo@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
next prev parent reply other threads:[~2010-10-02 0:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-29 7:33 bug#7130: 24.0.50; EPA queries twice and doesn't cache passwords when decrypting files Tassilo Horn
2010-09-30 2:20 ` Daiki Ueno
2010-09-30 6:24 ` Tassilo Horn
2010-10-01 2:52 ` Daiki Ueno
2010-10-01 10:14 ` Tassilo Horn
2010-10-01 11:47 ` Daiki Ueno
2010-10-01 21:42 ` Tassilo Horn
2010-10-02 0:23 ` Daiki Ueno [this message]
2010-10-02 7:16 ` Tassilo Horn
2010-10-03 9:15 ` Daiki Ueno
2010-10-04 19:01 ` Tassilo Horn
2010-10-05 1:58 ` Daiki Ueno
2010-10-05 6:49 ` Tassilo Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eic9mohn.fsf@broken.deisui.org \
--to=ueno@unixuser.org \
--cc=7130@debbugs.gnu.org \
--cc=tassilo@member.fsf.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.