emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bad epg.el+GPG2 behavior: unavoidable passphrase pinentry prompt


From: Ted Zlatanov
Subject: Re: bad epg.el+GPG2 behavior: unavoidable passphrase pinentry prompt
Date: Mon, 30 Sep 2013 21:13:57 -0400
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

On Mon, 30 Sep 2013 20:40:08 -0400 Stefan Monnier <address@hidden> wrote: 

SM> AFAIK it's perfectly OK to popup a password prompt when needed and
SM> I don't know under what circumstance this would be a problem.

>> Using symmetric (passphrase) encryption:

>> open authinfo.gpg in a buffer -> prompt
>> edit
>> save -> prompt
>> VCS commit -> 2 or 3 prompts

SM> I don't see how that relates to your previous question, which was about
SM> preventing the prompt from appearing at all, rather than about making
SM> sure that previous passwords are recorded and reused in subsequent uses.

I see.  Sorry for confusing you.  Here's what I wrote originally:

TZ> It used to be possible to do
TZ> GPG_AGENT_INFO=none gpg --decrypt foo.gpg
TZ> GPG_AGENT_INFO=none gpg --batch --decrypt foo.gpg
TZ> etc.

TZ> but with GPG 2.x that seems to be disabled and the pinentry prompt pops
TZ> up no matter what
....
TZ> The effect to Emacs users is that the pinentry passphrase dialog comes
TZ> up over and over, at least in X.  It makes working with .gpg files (in
TZ> VCS in particular) practically unusable and I haven't found a way to
TZ> disable the pinentry prompt.

So very specifically, the external pinentry prompt is preventing the
`epa-file-cache-passphrase-for-symmetric-encryption' defcustom from
operating properly.  Ideally I don't want the initial graphical popup
either--it's very annoying--but I can live with one popup.

Ted




reply via email to

[Prev in Thread] Current Thread [Next in Thread]