[PATCH] Check for GPG_TTY as well as DISPLAY.

Ben Kibbey bjk at luxsci.net
Wed Oct 21 01:59:34 CEST 2015


Hello,

There doesn't seem to be a way to set the tty for a pinentry to prompt
on in gpgme if isatty() fails (daemon process). This patch uses the
GPG_TTY environment variable as the value of --ttyname when set, and the
value of ttyname_r() if not.

OK to push?

-- 
Ben Kibbey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Check-for-GPG_TTY-as-well-as-DISPLAY.patch
Type: text/x-diff
Size: 6017 bytes
Desc: not available
URL: </pipermail/attachments/20151020/55543767/attachment-0001.patch>


More information about the Gnupg-devel mailing list