Re: [opensc-devel] Problems with starcos spk 2.4 and opensc-pkcs11.so

2011-03-22 Thread Felipe Blauth
Hello guys. Following Viktor advice, I managed to make the card compatible with PKCS#11 interface. I've found two ways to make it work: 1) First is initalizing the card as Viktor said: #pkcs15-init -C --profile pkcs15+onepin 2) Second is intializing like that: #pkcs15-init -C --no-so-pin By d

Re: [opensc-devel] Problems with starcos spk 2.4 and opensc-pkcs11.so

2011-03-21 Thread Martin Paljak
Hello, On Mar 19, 2011, at 11:12 PM, Felipe Blauth wrote: > However, I still can't generate a key pair neither coding directly against > PKCS#11 API (with opensc-pkcs11.so) nor using pkcs11-tool (I get > CKR_GENERAL_ERROR). a) have you tried with OpenSC 0.12.0? b) can you provide the debug l

Re: [opensc-devel] Problems with starcos spk 2.4 and opensc-pkcs11.so

2011-03-20 Thread Viktor TARASOV
On 17.03.2011 16:14, Felipe Blauth wrote: > Hello everyone, > > Currently, I'm having some trouble with usage of starcos spk 2.4 cards and > opensc. I used to have no problem, and I don't know where exactly the problem > is. > > Here what's happening: > I have an aplicattion that use's pkcs15-ini

Re: [opensc-devel] Problems with starcos spk 2.4 and opensc-pkcs11.so

2011-03-19 Thread Felipe Blauth
You were right Viktor, by using: #pkcs15-init -G rsa/1024 --auth-id 01 --label "My Private Key" --public-key-label "My Public Key" Solved the problem of beeing unable to sign data with the generated keys, thank you for that. However, I still can't generate a key pair neither coding directly again

Re: [opensc-devel] Problems with starcos spk 2.4 and opensc-pkcs11.so

2011-03-18 Thread Viktor TARASOV
On 17.03.2011 16:14, Felipe Blauth wrote: > Hello everyone, > > Currently, I'm having some trouble with usage of starcos spk 2.4 cards and > opensc. I used to have no problem, and I don't know where exactly the problem > is. > > Here what's happening: > I have an aplicattion that use's pkcs15-ini

[opensc-devel] Problems with starcos spk 2.4 and opensc-pkcs11.so

2011-03-17 Thread Felipe Blauth
Hello everyone, Currently, I'm having some trouble with usage of starcos spk 2.4 cards and opensc. I used to have no problem, and I don't know where exactly the problem is. Here what's happening: I have an aplicattion that use's pkcs15-init to initialize cards and then it codes directly against P