[PATCH] gpg: Allow setting of temporary pinentry program

Daiki Ueno ueno at gnu.org
Fri May 22 10:45:46 CEST 2015


Werner Koch <wk at gnupg.org> writes:

>> So, instead of implementing the diversion mechanism in wrapper, I would
>> rather suggest to add the diversion mechanism in gpg-agent.  E.g., allow
>> --pinentry-program to have multiple values, and try one by one until
>
> If you want that do it in pinentry.  Actually pinentry already does
> this: If DISPLAY is not set or it cannot init Gtk+ pinnetry falls back
> to curses.

Just to confirm your suggestion: would it be acceptable to add a hack in
Pinentry (upstream, instead of a wrapper) to check INSIDE_EMACS envvar?
http://www.gnu.org/software/emacs/manual/html_node/emacs/Interactive-Shell.html#Interactive-Shell

Regards,
-- 
Daiki Ueno



More information about the Gnupg-devel mailing list