On 29/03/06, Shawn Willden <[EMAIL PROTECTED]> wrote: > On Tuesday 28 March 2006 14:32, Martin Paljak wrote: > > On OS X, the CDSA subsystem and Tokend plugin run as tokend user. If > > a user wants to use the pkcs#11 interface as well (to use opensc from > > firefox too, for example) this would not be possible (assuming that > > apple shall update the pcsc-lite in near future) > > Right. So I can see three possibilities here:
Maybe another more radical solution is possible: - do not allow user V to use reader R if it is already used by U - instead of using SCardBeginTransaction/SCardEndTransaction the application should use SCardConnect/SCardDisconnect (with reset if needed) Many applications would fail with such a change. And we may/will lose the Windows winscard compatibility. The question is: do an application want to share the smart card with another application? I proposed to use SCARD_SHARE_EXCLUSIVE but it has side effects. The problem is that too many frameworks (CDSA, PKCS#11, direct PCSC access, etc.) want to talk to the same card at the same time. I don't know if we can find an solution. Bye, -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
