pcsc_connect and PCSC_SHARE_EXCLUSIVE

Werner Koch wk at gnupg.org
Tue Apr 7 12:16:57 CEST 2009


On Sun,  5 Apr 2009 18:47, gordian.klein at gmx.de said:

> Thats not possible because gnupg wants PCSC_SHARE_EXCLUSIVE rights for
> the card.
> Why doesnt it use PCSC_SHARE_SHARED to connect to a smartcard?

Because it requires full control over the card.  Think of scdaemon as a
replacement for pcscd.  

If you don't like that, you may use the ssdaemon option --card-timeout to
release the context if no client is connected to scdaemon.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gnupg-devel mailing list