agent: Add option --debug-pinentry.
authorWerner Koch <wk@gnupg.org>
Mon, 11 May 2015 08:23:24 +0000 (10:23 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 11 May 2015 08:23:24 +0000 (10:23 +0200)
commit14232c3870c5ef5d2fa15e8ed3f302b1ba29d25c
treec604fce0d1ca321f8cadc6a248bf5fb996478368
parentb03a2647299a6c8764a2574590cbaccdff9e497d
agent: Add option --debug-pinentry.

* agent/gpg-agent.c (oDebugPinentry): New.
(opts): Add --debug-pinentry.
(parse_rereadable_options): Set that option.
* agent/call-pinentry.c (start_pinentry): Pass option to
assuan_set_flag.
--

This option is quite useful to see the IPC between gpg-agent and
Pinentry.  Note that "debug 1024" is also required.

Signed-off-by: Werner Koch <wk@gnupg.org>
agent/agent.h
agent/call-pinentry.c
agent/gpg-agent.c
doc/gpg-agent.texi