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

2011-08-16 Thread Alon Bar-Lev
Thanks for your report and testing! 2011/8/16 Jonatan Åkerlind : > On fre, 2011-08-12 at 23:20 +0300, Alon Bar-Lev wrote: >> Jonatan, >> Can you please try the attached patch and see if it helps? >> Thanks! > ... >> >> seems to work fine, will continue testing during the day. This is on >> an >> A

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

2011-08-16 Thread Jonatan Åkerlind
On fre, 2011-08-12 at 23:20 +0300, Alon Bar-Lev wrote: > Jonatan, > Can you please try the attached patch and see if it helps? > Thanks! ... > > seems to work fine, will continue testing during the day. This is on > an > AMD64 architecture if it makes any difference. So far i have only > entered m

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

2011-08-12 Thread Alon Bar-Lev
Jonatan, Can you please try the attached patch and see if it helps? Thanks! On Thu, Aug 11, 2011 at 11:20 AM, Alon Bar-Lev wrote: > > 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

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