ports/security/gnupg/files/patch-doc_scdaemon.texi
Alan Somers a6aa3c3cd7 security/gnupg: add the --shared-access option to scdaemon
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
2019-11-25 23:49:31 +00:00

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