[PATCH] Add inside-Emacs mode to GUI pinentry programs

Neal H. Walfield neal at walfield.org
Wed Jun 10 15:37:16 CEST 2015


Hi Daiki,

At Tue, 09 Jun 2015 21:12:43 +0900,
Daiki Ueno wrote:
> Here is the follow-up patch which implements this.  I'm also attaching a
> patch to GnuPG.

Thanks.

I don't like this approach.  In particular, I don't like adding new
options / commands to the Assuan protocol.  I think it is sufficient
to have a command line option to the pinentry to do the emacs check.
Then, users who want to use this would add the following to their
gpg-agent.conf:

  pinentry-program /usr/bin/pinentry --enable-emacs

(We could also add a new option called pinentry-program-options so
that users can still use the system default.)

Thoughts?

Neal




More information about the Gnupg-devel mailing list