From: Ludovic R. <lud...@gm...> - 2013-08-03 09:15:01
|
Hello, 2013/7/17 Alex Samorukov <ml...@os...>: > On 07/17/2013 11:31 AM, Mat Arge wrote: >> I am using /usr/lib/opensc-pkcs11.so which i added to NSS using FF >> configuration, so yes, of course i am sure. Problem is that when firefox >> is running it preventing other, proprietary PKCS11 driver to access >> card, and this specific card is not supported by OpenSC anyway, so i >> have no idea why it is blocked. >> But you said before, that your card is not supported by opensc. Or are you >> talking about two different smartcards? > > Yes, i have a lot of cards. Most of them are supported by OpenSC and > thats why i need this OpenSC-PKCS11 driver in the browser. But also i do > have a card which is not supported by opensc and using own PKCS11 > library. Problem is that if FF is running i am unable to use this > driver. I posted dump of the falied session (using OpenSC PKCS#11 spy) > to the http://pastebin.com/8s9ErZJ1 . It starts to work very slowly on > C_Initialize and finally dying on C_OpenSession. If FF is closed > everything works well. So i assume that for some reason opensc-pkcs11.so > with FF is locking this card and want to fix that. It may be bug in OpenSC that do not free some PC/SC resources. Can you use PC/SC spy and generate a logfile file as documented in [1] and send it? To configure the spy with OpenSC you may have to edit /etc/opensc.conf and set: provider_library = /usr/lib/libpcscspy.so Bye -- Dr. Ludovic Rousseau |