Home GnuPG
Diffusion GnuPG 7052a0d77cf8

gpg: More diagnostics for a launched pinentry.
7052a0d77cf8Unpublished

Unpublished Commit · Learn More

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

Description

gpg: More diagnostics for a launched pinentry.

* agent/call-pinentry.c (start_pinentry): Call getinfo/ttyinfo.
* g10/server.c (gpg_proxy_pinentry_notify): Simplify the output so
that we do not change the code when adding new fields to
PINENTRY_LAUNCHED.

This patch changes the --verbose output of gpg to show
for example

gpg: pinentry launched (5228 gtk2 1.0.1-beta10 \
/dev/pts/4 xterm localhost:10.0)

the used tty, its type, and the value of DISPLAY in addiion to the
pid, flavor, and version.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 3 2017, 12:04 PM
Parents
rG407f5f9baea5: gpg: Don't assume that strtoul interprets "" as 0.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG7052a0d77cf8: gpg: More diagnostics for a launched pinentry. (authored by Werner Koch <wk@gnupg.org>).Feb 3 2017, 12:05 PM