From 14232c3870c5ef5d2fa15e8ed3f302b1ba29d25c Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 11 May 2015 10:23:24 +0200 Subject: 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 --- doc/gpg-agent.texi | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc') diff --git a/doc/gpg-agent.texi b/doc/gpg-agent.texi index 3e77909d0..469c76203 100644 --- a/doc/gpg-agent.texi +++ b/doc/gpg-agent.texi @@ -301,6 +301,12 @@ down to standard random quality. It is only used for testing and shall not be used for any production quality keys. This option is only effective when given on the command line. +@item --debug-pinentry +@opindex debug-pinentry +This option enables extra debug information pertaining to the +Pinentry. As of now it is only useful when used along with +@code{--debug 1024}. + @item --no-detach @opindex no-detach Don't detach the process from the console. This is mainly useful for @@ -753,6 +759,7 @@ This signal flushes all cached passphrases and if the program has been started with a configuration file, the configuration file is read again. Only certain options are honored: @code{quiet}, @code{verbose}, @code{debug}, @code{debug-all}, @code{debug-level}, +@code{debug-pinentry}, @code{no-grab}, @code{pinentry-program}, @code{default-cache-ttl}, @code{max-cache-ttl}, @code{ignore-cache-for-signing}, @code{no-allow-mark-trusted}, @code{disable-scdaemon}, and -- cgit v1.2.3