chiark / gitweb /
gpg: More diagnostics for a launched pinentry.
authorWerner Koch <wk@gnupg.org>
Fri, 3 Feb 2017 11:04:52 +0000 (12:04 +0100)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 18 Sep 2017 20:41:12 +0000 (21:41 +0100)
commit26c9dfa3c831899eaeb0e2e217c14b95ab203bf2
tree6a272ab0ea3d3099c8c56145846ae1f55bc71294
parentea854e72efbbf0907cd57b2c656d3f79c3d0c5a4
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>
(cherry picked from commit 7052a0d77cf8f3a445b252a809d29be445788625)

Gbp-Pq: Name 0026-gpg-More-diagnostics-for-a-launched-pinentry.patch
agent/call-pinentry.c
g10/server.c