From: nljlistbox2@gmail.com (N. Jackson)
To: Glenn Morris <rgm@gnu.org>
Cc: 22711@debbugs.gnu.org
Subject: bug#22711: 25.0.91; prompt for gpg password is displayed in a dialog box rather than in the minibuffer
Date: Wed, 17 Feb 2016 14:09:52 -0400 [thread overview]
Message-ID: <8737sryzrj.fsf@gmail.com> (raw)
In-Reply-To: <9s1t8cuuwt.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 16 Feb 2016 17:56:02 -0500")
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.)
next prev parent reply other threads:[~2016-02-17 18:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-16 22:25 bug#22711: 25.0.91; prompt for gpg password is displayed in a dialog box rather than in the minibuffer N. Jackson
2016-02-16 22:56 ` Glenn Morris
2016-02-17 18:09 ` N. Jackson [this message]
2016-02-17 18:36 ` Glenn Morris
2016-02-17 19:00 ` Daiki Ueno
2016-02-17 21:20 ` N. Jackson
2016-02-18 8:01 ` Daiki Ueno
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8737sryzrj.fsf@gmail.com \
--to=nljlistbox2@gmail.com \
--cc=22711@debbugs.gnu.org \
--cc=rgm@gnu.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).