[PATCH] Check for GPG_TTY as well as DISPLAY.
bjk at luxsci.net
Sun Sep 4 01:06:36 CEST 2016
On Wed, Oct 21, 2015 at 09:15:09PM -0400, Ben Kibbey wrote:
> On Wed, Oct 21, 2015 at 06:07:20PM -0400, Ben Kibbey wrote:
> > which would keep the original behavior but not work for my case as the
> > foreground server process would catch the pinentry rather than the
> > client on another tty.
> > Would that be OK to push after keeping the isatty() test order?
> Nevermind. Pushing the above modification wouldn't make a difference. I
> got what I needed to work working. Sorry about the noise.
It turns out I need this ability again. Attached is a revised patch with
better readability. Since gpg-agent will always use the DISPLAY when
set, and the user would need to replace/set GPG_TTY in the current
environment, I don't see how it can break anything.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6459 bytes
Desc: not available
More information about the Gnupg-devel