Home GnuPG
Diffusion GPGME 9d62bacac782

core: Check for GPG_TTY as well as DISPLAY.
9d62bacac782Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

core: Check for GPG_TTY as well as DISPLAY.

* src/engine-assuan.c (llass_new): Update --ttyname from GPG_TTY.
* src/engine-g13.c (g13_new): Ditto.
* src/engine-gpg.c (gpg_new): Ditto.
* src/engine-uiserver.c (uiserver_new): Ditto.
* src/engine-gpgsm.c (gpgsm_new): Ditto.

Useful when no DISPLAY is set and there is no attached terminal to the
current process.

  • Signed-off-by: Ben Kibbey <bjk@luxsci.net>

Details

Provenance
bjkAuthored on Sep 4 2016, 1:06 AM
wernerCommitted on Sep 19 2016, 8:35 AM
Parents
rMa8ff34fc3025: qt: Add test for setting tofu policy
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rM9d62bacac782: core: Check for GPG_TTY as well as DISPLAY. (authored by Ben Kibbey <bjk@luxsci.net>).Sep 19 2016, 8:35 AM