all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: Daiki Ueno <ueno@unixuser.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:16:43 +0200	[thread overview]
Message-ID: <87ocbd83ok.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <87eic9mohn.fsf@broken.deisui.org> (Daiki Ueno's message of "Sat,  02 Oct 2010 09:23:32 +0900")

Daiki Ueno <ueno@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





  reply	other threads:[~2010-10-02  7:16 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
2010-10-02  7:16               ` Tassilo Horn [this message]
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=87ocbd83ok.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=7130@debbugs.gnu.org \
    --cc=ueno@unixuser.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.