logo       

opensc and infocamere card: msg#00249

encryption.opensc.devel

Subject: opensc and infocamere card

Hi All,
I am testing opensc with an infocamere card. The CVS version correctly
detect the card, ask for a PIN and then stop with this error:

$ pkcs11-tool -vvvv -s -i filetobesigned -o filesigned
card-etoken.c:162:etoken_check_sw: file not found
iso7816.c:445:iso7816_select_file: returning with: File not found
card-etoken.c:406:etoken_select_file: returning with: File not found
card.c:756:sc_select_file: returning with: File not found
card-etoken.c:162:etoken_check_sw: file not found
iso7816.c:440:iso7816_select_file: returning with: File not found
card-etoken.c:406:etoken_select_file: returning with: File not found
card.c:756:sc_select_file: returning with: File not found
Please enter PIN:
Using signature algorithm RSA-X-509
error: PKCS11 function C_SignUpdate failed: rv = CKR_DATA_LEN_RANGE
(0x21)

Aborting.

Is there anyone having already fixed this?


Bye,
Giuseppe


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise