mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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 (verify_chv2): Do not auto verify chv1 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.
(cherry picked from commit 5732e7a8e9
)
This commit is contained in:
parent
96577e2e46
commit
5eec40f3d8
5 changed files with 14 additions and 3 deletions
|
@ -248,6 +248,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue