GNU bug report logs -
#22711
25.0.91; prompt for gpg password is displayed in a dialog box rather than in the minibuffer
Previous Next
Reported by: nljlistbox2 <at> gmail.com (N. Jackson)
Date: Tue, 16 Feb 2016 22:26:01 UTC
Severity: wishlist
Merged with 20550,
20982
Found in versions 25.0.50, 25.0.91
Done: Daiki Ueno <ueno <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #13 received at 22711 <at> debbugs.gnu.org (full text, mbox):
At 17:56 -0500 on Tuesday 2016-02-16, Glenn Morris wrote:
> See http://debbugs.gnu.org/20982
Thanks Glenn,
I now vaguely remember reading that at the time, but lacked the
background to follow the discussion. Now I have a bit more context, but
it's still a bit opaque.
===
I tried following the instructions in
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20982#20.
I have pinentry version "pinentry-gtk2 (pinentry) 0.9.6" and gpg2 version
"gpg (GnuPG) 2.1.9".
I put the line
allow-emacs-pinentry
in ~/.gnupg/gpg-agent.conf (which file did not previously exist).
Then:
0. emacs -Q &
1. M-x pinentry-start
3. C-x C-f myfile.gpg
But I still got the same graphical dialog box for the password prompt.
===
In NEWS it says:
** pinentry.el allows GnuPG passphrase to be prompted through the
minibuffer instead of a graphical dialog, depending on whether the gpg
command is called from Emacs (i.e., INSIDE_EMACS environment variable
is set). This feature requires newer versions of GnuPG (2.1.5 or
later) and Pinentry (0.9.5 or later).
This seems to be what I want, but if I am reading it correctly, it does
not work.
It seems to say that if the INSIDE_EMACS environment variable is set,
the gpg password prompt will be displayed in the minibuffer.
I even tried starting Emacs with
export INSIDE_EMACS=t; emacs &
so INSIDE_EMACS is unequivocally defined, but it doesn't help. Even if I do
M-x pinentry-start
before opening a .gpg file, I'm still being prompted with a graphical
dialog box.
===
There does not seem to be any user documentation for pinentry.el. (There
is no entry in the Emacs manual for "pinentry" and while there is a
pinentry info manual, it is for the 'real' (command line) pinentry, not
for pinentry.el.)
This bug report was last modified 9 years and 94 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.