diff options
| author | Werner Koch <[email protected]> | 2023-11-17 13:40:38 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2023-11-21 07:35:01 +0000 |
| commit | e43bd2a7a7831a2d23fb9aa06b913f17dad89478 (patch) | |
| tree | a3830e7c6120765f9ef4ecbf9b41c340ebfaab7c /scd/scdaemon.h | |
| parent | po: Update Japanese Translation. (diff) | |
| download | gnupg-e43bd2a7a7831a2d23fb9aa06b913f17dad89478.tar.gz gnupg-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.h | 1 |
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; |
