all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: 22711@debbugs.gnu.org, nljlistbox2@gmail.com (N. Jackson)
Cc: Daiki Ueno <ueno@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 13:36:17 -0500	[thread overview]
Message-ID: <qibn7f89r2.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <8737sryzrj.fsf@gmail.com> (N. Jackson's message of "Wed, 17 Feb 2016 14:09:52 -0400")


Adding pinentry author to cc.

N. Jackson wrote:

> 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.)





  reply	other threads:[~2016-02-17 18:36 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
2016-02-17 18:36     ` Glenn Morris [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=qibn7f89r2.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=22711@debbugs.gnu.org \
    --cc=nljlistbox2@gmail.com \
    --cc=ueno@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 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.