Hello,

2010/2/8 Martin Vogt <[email protected]>:
> pcsclite contains "testpcsc" which performs some tests.
>
> If I run this tool, my connection to the smartcard
> is lost and I need to restart firefox/thunderbird
> in order to make it work again :(.
>
> Is this the expected behaviour, that I need to restart
> my applications after using "testpcsc" ?

It is a bug in your PKCS#11 module.
Your module is not stateless since it assumes the card to be in a
certain state between calls.
What PKCS#11 lib are you using?

> So my question ist:
>
> Is this the correct behaviour, that SCardReconnect/SCardDisconnect
> affect every application using the reader? (with stateless drivers)

Yes. If an application power off the card then the card is powered off
for every application.

> PS: my previous mail did not make it to the list, which conatins
> a patch. Here is the patch again:

Can you explain why you need to patch testpcsc?
Why do you want to add a timeout?

Bye

-- 
 Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to