summaryrefslogtreecommitdiffstats
path: root/scd/scdaemon.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2023-11-17 14:40:38 +0100
committerWerner Koch <wk@gnupg.org>2023-11-21 08:35:01 +0100
commite43bd2a7a7831a2d23fb9aa06b913f17dad89478 (patch)
treea3830e7c6120765f9ef4ecbf9b41c340ebfaab7c /scd/scdaemon.h
parentpo: Update Japanese Translation. (diff)
downloadgnupg2-e43bd2a7a7831a2d23fb9aa06b913f17dad89478.tar.xz
gnupg2-e43bd2a7a7831a2d23fb9aa06b913f17dad89478.zip
scd: New option --debug-allow-pin-logging.
* scd/scdaemon.c (oDebugAllowPINLogging): New. (opts): Add option. (main): Set option. * scd/scdaemon.h (opt): Add debug_allow_pin_logging. * scd/apdu.c (pcsc_send_apdu): Do not hide the PIN dat in the debug output if the option is set. (send_apdu_ccid): Ditto. -- This option is only required during development.
Diffstat (limited to 'scd/scdaemon.h')
-rw-r--r--scd/scdaemon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scd/scdaemon.h b/scd/scdaemon.h
index 68136b886..7b82d1b21 100644
--- a/scd/scdaemon.h
+++ b/scd/scdaemon.h
@@ -66,6 +66,7 @@ struct
strlist_t disabled_applications; /* Card applications we do not
want to use. */
unsigned long card_timeout; /* Disconnect after N seconds of inactivity. */
+ int debug_allow_pin_logging; /* Allow PINs in debug output. */
} opt;