[PATCH] Check for GPG_TTY as well as DISPLAY.

Werner Koch wk at gnupg.org
Wed Oct 21 21:25:17 CEST 2015

On Wed, 21 Oct 2015 01:59, bjk at luxsci.net said:

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

This will change the behaviour of most gpgme using applications.  We
need to better understand the problem and evaluate the risks of breaking



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-devel mailing list