[opensc-devel] Pin unlock.

2010-09-08 Thread Patrik Martinsson
Hello Everybody, I just wanted to share a small program I wrote for unlocking pin's with your puk. This will *only* work if you use NetID as provider, since they added the C_unlockPIN function to make this possible. This program is intended to use for those people in our company that's using

Re: [opensc-devel] Pin unlock.

2010-09-08 Thread Peter Stuge
Patrik Martinsson wrote: > I just wanted to share a small program I wrote for unlocking pin's > with your puk. .. > Any comments, suggestions, improvements, thoughts around this > method, > are welcome. (Go easy on the coding-part since I'm not a > programmer) The approach seems fine to me. Some t

Re: [opensc-devel] Pin unlock.

2010-09-08 Thread Martin Paljak
Hello, On Sep 8, 2010, at 10:30 AM, Patrik Martinsson wrote: > I just wanted to share a small program I wrote for unlocking pin's with your > puk. > This will *only* work if you use NetID as provider, since they added the > C_unlockPIN function to make this possible. Companies who add C_* functi

Re: [opensc-devel] Pin unlock.

2010-09-08 Thread Patrik Martinsson
Hey, >> Companies who add C_* functions (nCipher, NetID ... others?) or use require the use of pReserved pointers (NSS) are not nice. Better call it CX_UnblockPIN instead of C_UnblockPIN. MIME is nice, with the x- prefix for non-standard subtypes. Ok i hear you. >> You can do the same with "

Re: [opensc-devel] Pin unlock.

2010-09-08 Thread Patrik Martinsson
Hey Peter, >> Is there also a limit to the number of unlock attempts? What happens when >> the limit is reached? Yes there is, if you enter the wrong puk 8 times your card will be locked and not usable anymore. >> Any memory used to store a PIN should IMO be mlock()ed before the first use. Ok

[opensc-devel] OpenSC-0.12 and Spanish DNIe

2010-09-08 Thread jons...@terra.es
hi folks! We have tried to compile, install and get running OpenSC 0.12 with Spanish DNIe code. Status: compile,installs, but fails to run trying to stablish secure channel. Too many changes in debug code, sc_xxx structs, API changes... and not sure about correctness of some patches I've done

Re: [opensc-devel] Pin unlock.

2010-09-08 Thread Peter Stuge
Patrik Martinsson wrote: > >> Is there also a limit to the number of unlock attempts? What > >> happens when the limit is reached? > Yes there is, if you enter the wrong puk 8 times your card will be > locked and not usable anymore. It would be nice for usability if the PUK counter is displayed

Re: [opensc-devel] OpenSC-0.12 and Spanish DNIe

2010-09-08 Thread Martin Paljak
Hello, On Sep 8, 2010, at 3:15 PM, jons...@terra.es wrote: > We have tried to compile, install and get running OpenSC 0.12 with Spanish > DNIe code. > > Status: compile,installs, but fails to run trying to stablish secure channel. > Too many changes > in debug code, sc_xxx structs, API changes..

Re: [opensc-devel] OpenSC-0.12 and Spanish DNIe

2010-09-08 Thread resoli - libero
Il giorno mer, 08/09/2010 alle 19.23 +0300, Martin Paljak ha scritto: > Hello, > On Sep 8, 2010, at 3:15 PM, jons...@terra.es wrote: > > We have tried to compile, install and get running OpenSC 0.12 with Spanish > > DNIe code. > > > > Status: compile,installs, but fails to run trying to stablish

Re: [opensc-devel] OpenSC-0.12 and Spanish DNIe

2010-09-08 Thread jons...@terra.es
> CIE does not use "Secure Channel" implementation by means of secure > messaging, at least not for normal use of the card (which carries only > Authentication Certificates and not Non-Repudiation, so it is not used > to create legally binding Electronic Signatures). > The version in trunk is cov

[opensc-devel] FOSDEM 2011: february 5th and 6th

2010-09-08 Thread Andreas Jellinghaus
Hi everyone, I always wanted to go to FOSDEM conference in Brussels, Belgium. Next year the conference will be on 5th and 6th of february. Maybe more people on this list are interested in going there and meeting up, and maybe having a devroom, a talk, or whatever other options we have? Last time