[opensc-devel] Engine PKCS#11 does not release enumerated slots

2010-01-27 Thread Mathieu Lafon
Hello, While investigating an issue with a USB token, I have found that the OpenSSL PKCS#11 engine never release enumerated slots (unless an error has occured during enumeration). Each time OpenSSL try to load a key or a certificate a new slot list is created and initialized and the previous one

Re: [opensc-devel] Problems developing with Starcos 2.3

2010-01-27 Thread Andreas Jellinghaus
Hi Fernando, it is best to check the command line utilities like "pkcs11-tool --test --login" to see if these is a general problem. if there is not, you could use pkcs#11 spy (pkcs11-spy.dll) and hook it between your application and opensc-pkcs11.dll. it will generate a log file of all your functi

Re: [opensc-devel] Problems developing with Starcos 2.3

2010-01-27 Thread François Leblanc
>I cannot offer more information about my problem since my program doesn't have >runtime errors or compiled errors, can I? You can get more information try to configure "opensc.conf" put debug = 9 instead of debug = 0. François. ___ opensc-devel

[opensc-devel] Problems developing with Starcos 2.3

2010-01-27 Thread Fernando Sanchez Chaparro
Hello everybody, It is the first time I'm developing a code with opensc (I have experience developing smart card application, but with the pkcs11 manufacturer libraries). I have found some problems trying to migrate a code base on the manufacturer pkcs11 libreries of a Starcos 2.3 smartcard to ope