Re: [opensc-devel] Java and pkcs11

2011-08-11 Thread Vlastimil Pavicek
You might consider this useful as well (card detection): http://download.oracle.com/javase/6/docs/jre/api/security/smartcardio/spec/javax/smartcardio/package-summary.html it works very well under Sun/Oracle Java. Best regards VLP __

Re: [opensc-devel] Support for Secret Key Objects both session and on card

2011-08-11 Thread Douglas E. Engert
On 8/11/2011 11:19 AM, Viktor Tarasov wrote: > Le 11/08/2011 16:49, Douglas E. Engert a écrit : >> Victor, >> Martin points out that both your branch and my ecdh branch >> at dengert/OpenSC define a struct sc_pkcs15_skey_info. >> https://github.com/viktorTarasov/OpenSC/commit/819bd829563020c2abad

Re: [opensc-devel] Support for Secret Key Objects both session and on card

2011-08-11 Thread Viktor Tarasov
Le 11/08/2011 16:49, Douglas E. Engert a écrit : > Victor, > Martin points out that both your branch and my ecdh branch > at dengert/OpenSC define a struct sc_pkcs15_skey_info. > https://github.com/viktorTarasov/OpenSC/commit/819bd829563020c2abad7537a245d57604951aec I will look it more carefully a

[opensc-devel] Support for Secret Key Objects both session and on card

2011-08-11 Thread Douglas E. Engert
Victor, Martin points out that both your branch and my ecdh branch at dengert/OpenSC define a struct sc_pkcs15_skey_info. https://github.com/viktorTarasov/OpenSC/commit/819bd829563020c2abad7537a245d57604951aec See my note of 8/5 "Mods to add C_DeriveKey and Session based Secret Key Objects at GitH

Re: [opensc-devel] Patch: remove slots of detached reader(token)

2011-08-11 Thread Ludovic Rousseau
2011/8/11 Viktor Tarasov : > Le 08/08/2011 16:31, Ludovic Rousseau a écrit : >> >> 2011/7/19 Viktor Tarasov: >>> >>> Le 18/07/2011 14:52, Ludovic Rousseau a écrit : 2011/7/10 Viktor Tarasov: > > Hi, Hello, > there is patch proposal to treat properly the 'detach

Re: [opensc-devel] Patch: remove slots of detached reader(token)

2011-08-11 Thread Viktor Tarasov
Le 08/08/2011 16:31, Ludovic Rousseau a écrit : > 2011/7/19 Viktor Tarasov: >> Le 18/07/2011 14:52, Ludovic Rousseau a écrit : >>> 2011/7/10 Viktor Tarasov: Hi, >>> Hello, >>> there is patch proposal to treat properly the 'detach token(reader)' event and to remove the slots asso

[opensc-devel] Minidriver in 'write' mode

2011-08-11 Thread Viktor Tarasov
Hello, I would like to implement 'write' mode of minidriver and have created the dedicated branch in github. It's only the begining and at the moment 'works-for-me' key generation, request signing and certificate import with IE on the XP platform. Currently the OpenSC minidriver emulates the (B

Re: [opensc-devel] PIN caching problems with pkcs11-helper 1.08

2011-08-11 Thread Alon Bar-Lev
Martin, The openssl engine is called with 0x24 buffer size and expect it to be encrypted by private key with same length. Prototype: --- static int __pkcs11h_openssl_enc ( IN int flen, IN const unsigned char *from, OUT unsigned char *to, IN OUT RSA *rsa, IN

Re: [opensc-devel] PIN caching problems with pkcs11-helper 1.08

2011-08-11 Thread Martin Paljak
Hello, 2011/8/11 Jonatan Åkerlind : > We have a setup using the Aladdin eToken PRO USB device for certificate > storage using opensc/openct to interface it with openvpn. Works fine but > with pkcs11-helper 1.08 we need to enter the PIN code twice at openvpn > startup and then once at each renegoti

[opensc-devel] PIN caching problems with pkcs11-helper 1.08

2011-08-11 Thread Jonatan Åkerlind
We have a setup using the Aladdin eToken PRO USB device for certificate storage using opensc/openct to interface it with openvpn. Works fine but with pkcs11-helper 1.08 we need to enter the PIN code twice at openvpn startup and then once at each renegotiation. Confirmed with various versions of ope