aboutsummaryrefslogtreecommitdiffstats
path: root/doc/scdaemon.texi
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-03-12 08:21:57 +0000
committerWerner Koch <[email protected]>2021-03-12 08:31:17 +0000
commit5732e7a8e97cebf8e850c472e644e2a9b040836f (patch)
tree06987165f537056be9983c912bda613cc7a5f5b5 /doc/scdaemon.texi
parentscd: Fix computing fingerprint for ECC with SOS. (diff)
downloadgnupg-5732e7a8e97cebf8e850c472e644e2a9b040836f.tar.gz
gnupg-5732e7a8e97cebf8e850c472e644e2a9b040836f.zip
scd: New option --pcsc-shared.
* scd/scdaemon.h (opt): Add field opcsc_shared. * scd/scdaemon.c (opcscShared): New. (opts): Add "--pcsc-shared". (main): Set flag. * scd/apdu.c (connect_pcsc_card): Use it. (pcsc_get_status): Take flag in account. * scd/app-openpgp.c (cache_pin): Bypass in shared mode. (verify_chv2: Do not auto verify chv1 in shared mode. * scd/app-piv.c (cache_pin): By pass caceh in shared mode. -- This option should in general not be used. The patch tries to limit bad effects but using shared mode is somewhat dangerous depending on the other PC/SC users.
Diffstat (limited to 'doc/scdaemon.texi')
-rw-r--r--doc/scdaemon.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/scdaemon.texi b/doc/scdaemon.texi
index c1ca443b9..8af42c58e 100644
--- a/doc/scdaemon.texi
+++ b/doc/scdaemon.texi
@@ -226,6 +226,12 @@ Append all logging output to @var{file}. This is very helpful in
seeing what the agent actually does. Use @file{socket://} to log to
socket.
+@item --pcsc-shared
+@opindex pcsc-shared
+Use shared mode to access the card via PC/SC. This is a somewhat
+dangerous option because Scdaemon assumes exclusivbe access to teh
+card and for example caches certain information from the card. Use
+this option only if you know what you are doing.
@item --pcsc-driver @var{library}
@opindex pcsc-driver