aboutsummaryrefslogtreecommitdiffstats
path: root/agent/agent.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-05-11 08:23:24 +0000
committerWerner Koch <[email protected]>2015-05-11 08:23:24 +0000
commit14232c3870c5ef5d2fa15e8ed3f302b1ba29d25c (patch)
treec604fce0d1ca321f8cadc6a248bf5fb996478368 /agent/agent.h
parentgpg: Avoid cluttering stdout with trustdb info in verbose mode. (diff)
downloadgnupg-14232c3870c5ef5d2fa15e8ed3f302b1ba29d25c.tar.gz
gnupg-14232c3870c5ef5d2fa15e8ed3f302b1ba29d25c.zip
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 <[email protected]>
Diffstat (limited to 'agent/agent.h')
-rw-r--r--agent/agent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/agent/agent.h b/agent/agent.h
index b374ee867..4d28effa4 100644
--- a/agent/agent.h
+++ b/agent/agent.h
@@ -67,6 +67,9 @@ struct
char *startup_lc_ctype;
char *startup_lc_messages;
+ /* Enable pinentry debugging (--debug 1024 should also be used). */
+ int debug_pinentry;
+
/* Filename of the program to start as pinentry. */
const char *pinentry_program;