[opensc-devel] PKCS#11 and PKCS#15 with cyberflex 32k or 64k

2009-09-27 Thread gilles Bernabé
Hello, I was trying to use opensc for the first time with cyberflex cards 32K and 64K i've succesfully load the Muscle applet CardEdgeCF.cap and CardEdgeII.ijc in the cards from here : http://www.opensc-project.org/opensc/wiki/Cyberflex and here :

Re: [opensc-devel] PKCS#11 and PKCS#15 with cyberflex 32k or 64k

2009-09-27 Thread João Poupino
On Sep 27, 2009, at 18:51, gilles Bernabé wrote: Hello, I was trying to use opensc for the first time with cyberflex cards 32K and 64K i've succesfully load the Muscle applet CardEdgeCF.cap and CardEdgeII.ijc in the cards from here : http://www.opensc-project.org/opensc/wiki/Cyberflex

Re: [opensc-devel] PKCS#11 and PKCS#15 with cyberflex 32k or 64k

2009-09-27 Thread gilles Bernabé
thanks , i had ever set the SO pin to this time i have set too the user pin to and i've got another error, that's strange ^^: r...@admin1-laptop:~/JavaCard_SDK2# pkcs15-init -S moi2.key -a 1 -u sign,decrypt --split-key Please enter passphrase to unlock secret key: User PIN

Re: [opensc-devel] PKCS#11 and PKCS#15 with cyberflex 32k or 64k

2009-09-27 Thread Martin Paljak
On 28.09.2009, at 0:14, gilles Bernabé wrote: and when i want to load the cert: r...@admin1-laptop:~/JavaCard_SDK2# pkcs15-init -X moi2.crt -v -a 1 error:0906D06C:PEM routines:PEM_read_bio:no start line error: Unable to read certificate from moi2.crt You have a DER encoded certificate.

Re: [opensc-devel] PKCS#11 and PKCS#15 with cyberflex 32k or 64k

2009-09-27 Thread João Poupino
Hi, On Sep 27, 2009, at 22:14, gilles Bernabé wrote: thanks , i had ever set the SO pin to this time i have set too the user pin to and i've got another error, that's strange ^^: I think the problem lies in the initial APDU sent to the card (to initialize it). I suppose