mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 12:56:28 -04:00
gnupg's scdaemon opens smart cards in exclusive mode, which prevents other
applications (such as PKCS#11 libraries) from concurrently accessing the
card). Upstream refuses to fix the problem. This commit adds a
--shared-access option to scdaemon. When enabled, scdaemon will access the
smart card in shared mode, playing nicely with other applications. The
default behavior is unchanged.
See Also:
d6cb8039a0
https://dev.gnupg.org/T3267
https://dev.gnupg.org/D320
https://github.com/OpenSC/OpenSC/issues/953
Reviewed by: adamw
Approved by: adamw (maintainer)
Obtained-from: GPGTools
Sponsored by: Axcient
Differential Revision: https://reviews.freebsd.org/D22473
14 lines
565 B
Text
14 lines
565 B
Text
--- doc/scdaemon.texi.orig 2019-11-20 21:45:47 UTC
|
|
+++ doc/scdaemon.texi
|
|
@@ -300,6 +300,11 @@ Note that with the current version of Scdaemon the car
|
|
down immediately at the next timer tick for any value of @var{n} other
|
|
than 0.
|
|
|
|
+@item --shared-access
|
|
+@opindex shared-access
|
|
+Open the smart card in shared mode, rather than exclusive. This will allow
|
|
+other applications like PKCS#11 libraries to use the smart card concurrently.
|
|
+
|
|
@item --enable-pinpad-varlen
|
|
@opindex enable-pinpad-varlen
|
|
Please specify this option when the card reader supports variable
|