unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Daiki Ueno <ueno@gnu.org>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: Emacs mailing list <help-gnu-emacs@gnu.org>,
	Teemu Likonen <tlikonen@iki.fi>,
	Lars Ingebrigtsen <larsi@gnus.org>
Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"?
Date: Tue, 09 Feb 2016 12:23:57 +0900	[thread overview]
Message-ID: <m3wpqelg6q.fsf-ueno@gnu.org> (raw)
In-Reply-To: <874mdjxlcx.fsf@web.de> (Michael Heerdegen's message of "Mon, 08 Feb 2016 16:39:10 +0100")

Michael Heerdegen <michael_heerdegen@web.de> writes:

> I tried pinentry.el from Gnu Elpa.  What do I need to add exactly to
> "~/.gnupg/gpg-agent.conf"?  Just "allow-emacs-pinentry" as the package's
> doc tells doesn't work.

pinentry.el requires GnuPG >= 2.1.5 and Pinentry >= 0.9.8, as mentioned
in the header comment.  Is the version requirement met on your system?

If it is all fine, try reloading the configuration with:

  gpgconf --reload gpg-agent

as gpg-agent doesn't automatically reload the configuration.

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Perhaps pinentry.el and the pinentry program should be included in
> Emacs?  Having this stuff work out of the box would be nice.

pinentry.el is actually in lisp/net/ already.  For the pinentry program,
I don't think it is feasible, since there isn't (and won't be) a way to
use a custom pinentry program from the gpg command line:
https://lists.gnupg.org/pipermail/gnupg-devel/2015-May/029862.html

Regards,
-- 
Daiki Ueno



  parent reply	other threads:[~2016-02-09  3:23 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-08 14:44 Password prompt inside Emacs with epg-gpg-program -> "gpg2"? Michael Heerdegen
2016-02-08 15:10 ` Teemu Likonen
2016-02-08 15:39   ` Michael Heerdegen
2016-02-08 17:00     ` Joakim Jalap
2016-02-08 17:54       ` Michael Heerdegen
2016-02-08 18:38         ` Joakim Jalap
2016-02-08 18:56           ` Michael Heerdegen
2016-02-08 19:07             ` Joakim Jalap
2016-02-08 20:26               ` Michael Heerdegen
2016-02-09  9:11                 ` Joakim Jalap
2016-02-09  8:58                   ` tomas
2016-02-09  1:01     ` Lars Ingebrigtsen
2016-02-09  3:23     ` Daiki Ueno [this message]
2016-02-09  3:49       ` Lars Ingebrigtsen
2016-02-09  7:02         ` Daiki Ueno
2016-02-09 22:50           ` Lars Ingebrigtsen
2016-02-09  9:54         ` Joakim Jalap
     [not found]         ` <mailman.4186.1455011693.843.help-gnu-emacs@gnu.org>
2016-02-10 13:47           ` Barry Fishman
2016-02-10 15:16             ` Joakim Jalap
2016-02-15 11:15 ` Lele Gaifax

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=m3wpqelg6q.fsf-ueno@gnu.org \
    --to=ueno@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=larsi@gnus.org \
    --cc=michael_heerdegen@web.de \
    --cc=tlikonen@iki.fi \
    /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.
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).