[PATCH] gpg: Allow setting of temporary pinentry program
ueno at gnu.org
Fri May 22 05:42:07 CEST 2015
Related to https://bugs.gnupg.org/gnupg/issue1976, where I was
originally requesting to fix a behavior of --pinentry-mode=loopback for
Emacs. However using the option is seemingly not the the preferred way
and NIIBE-san suggested to write a pinentry wrapper instead.
Unfortunately, it is not an option for Emacs. We want to use the custom
pinentry program only temporarily, and continue to use the default
pinentry program for other use-cases (e.g. calling gpg from
gnome-terminal). This is currently not possible.
So, the attached patch adds --pinentry-program option to gpg, which will
be passed to gpg-agent:
$ ./g10/gpg2 --symmetric --pinentry-program '/usr/bin/pinentry-gnome3' \
-o /dev/null < README
To be honest, I doubt this change is acceptable, and I prefer that the
loopback behavior is eventually fixed, regardless of the original intent
of that option.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5606 bytes
Desc: not available
More information about the Gnupg-devel