[PATCH] gpg: Allow setting of temporary pinentry program

Werner Koch wk at gnupg.org
Fri May 22 10:21:59 CEST 2015


On Fri, 22 May 2015 09:50, ueno at gnu.org said:

> The problem with this approach is that the wrapper doesn't know the
> default pinentry.  gpgconf --list-options doesn't include the value,

/usr/bin/pinentry is the default.  Variants should be installed as a
symlink.

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


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-devel mailing list