|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Martin Vogt (martin.vogt
itwm.fraunhofer.de)
Date: Mon Feb 08 2010 - 06:15:47 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello list,
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" ?
Background
==========
I'm using a stateless pkcs11 smartcard driver which
I installed in thunderbird and firefox.
Reading encrypted mails, surfing with certificates
works fine.
thunderbird/firefox perform their actions on the smartcard
over the statless driver, which locks the card during
the operations and then unlock it.
This is working fine.
Now I run "testpcsc" and during the time when
it issues:
- SCardReconnect
- SCardDisconnect
My connections in thunderbird/firefox are broken
until I restart these applications.
This does not happen when I use opensc drivers, because
they are not stateless and lock the card forever.
Running the "testpcsc" gives a "Sharing violation".
So my question ist:
Is this the correct behaviour, that SCardReconnect/SCardDisconnect
affect every application using the reader? (with stateless drivers)
I would assume, that these operations are only for this
session, but not for all running sessions, but I don't
know the pcsclite specification :-)
I have tested this behaviour with the current pcsc-lite-1.5.5 version,
because it mentions "SCardReconnect" in the changelog.
But it has the same behaviour as the previous release, I need
to restart thunderbird/firefox after "testpcsc"
regards,
Martin
PS: my previous mail did not make it to the list, which conatins
a patch. Here is the patch again:
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- text/x-patch attachment: testpcsc_timeout.patch
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]