[Top][All Lists]

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

bug#15559: 24.3.50; epg.el: pinentry prompt is not specific

From: Ted Zlatanov
Subject: bug#15559: 24.3.50; epg.el: pinentry prompt is not specific
Date: Tue, 08 Oct 2013 06:39:51 -0400
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

On Mon, 07 Oct 2013 23:17:22 -0400 Stefan Monnier <address@hidden> wrote: 

>> The epg.el+GnuPG X pinentry dialog is very non-specific ("Enter
>> passphrase") so there's no way to know what passphrase is being
>> requested and why if you don't have the specific instance in focus.

SM> I only use epg.el in very simple ways, where the dialog (no idea whether
SM> it's from "pinentry" or anything else) is very clear and explicit about
SM> which password for which key is requested.
SM> So could you give a recipe to reproduce the above problem?

1. run Emacs, nothing else (no gpg-agent, no idea if that would make a 
2. open file1.gpg
3. prompt is "Enter Passphrase"

Then from the command line:

4. gpg --decrypt file2.gpg
5. prompt is "Enter Passphrase"

This hit me yesterday actually; I was using Git's netrc helper, which
calls out to GnuPG for .gpg files, and it took a while to run something
before getting to the .gpg decode.  I was in Emacs doing VCS interaction
with file1.gpg at that time and saw the dialog with no indication of
what passphrase was wanted.


reply via email to

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