We have new issues out there:
http://www.gooze.eu/forums/support/can-t-store-key-onto-epass2003-ssh-usage-problem#comment-356

My question to OpenSC list is:

to what extent is pkcs11-tool --login --test
--module /usr/lib/opensc-pkcs11.so relevant

The result is:
Using slot 1 with a present token (0x1)
Logging in to "François Pérou (User PIN)".
Please enter User PIN:
C_SeedRandom() and C_GenerateRandom():
seeding (C_SeedRandom) not supported
seems to be OK
Digests:
all 4 digest functions seem to work
MD5: OK
SHA-1: OK
RIPEMD160: OK
Signatures (currently only RSA signatures)
testing key 0 (Private Key)
all 4 signature functions seem to work
testing signature mechanisms:
RSA-X-509: ERR: verification failed
RSA-PKCS: ERR: verification failed
SHA1-RSA-PKCS: ERR: verification failed
MD5-RSA-PKCS: ERR: verification failed
RIPEMD160-RSA-PKCS: ERR: verification failed
Verify (currently only for RSA):
testing key 0 (Private Key)
RSA-X-509: ERR: verification failed ERR: C_Verify() returned
CKR_SIGNATURE_INVALID (0xc0)
Unwrap: not implemented
Decryption (RSA)
testing key 0 (Private Key)
RSA-X-509: resulting cleartext doesn't match input
Original: 61 62 63 64 65 66 67 68 69 00
Decrypted: 00 a1 39 af 4f ba 95 9f cc ea 2e 7b c5 98 d6 83 ec d4 b3 99
fa ed 88 43 09 f3 a6 f5 b7 a1 22 18 54 7a 03 06 46 52 3f 9b 9f 05 74 3a
d1 d0 33 9a d6 de 0a 2b b3 bb e9 5d 08 17 9f fc b0 0a 47 0e f3 76 71 ca
eb d9 95 81 3e ad 84 83 dc 56 c0 04 8f 92 03 2e b5 d5 4a 09 e3 0b 14 0c
57 dc a1 de bd fa be b8 5f f2 45 92 71 f3 0d c2 01 5b 0d ca d2 9b 9f 94
47 d4 2d f7 f1 7f d9 98 19 3f 08 e1 f2 aa d1 25 e9 49 1c 02 88 0b 1a ed
90 ce 7e 60 00 2b c9 84 89 5b e8 02 40 6d 84 a7 31 ac e3 67 75 c3 e5 3c
1e 9f 45 5a ce d1 af 45 15 b1 37 cc c1 bd e7 72 72 7d 9c ff 48 37 c9 2d
ce 3c 27 46 f9 46 ee cc 64 75 db b9 23 5d f9 e2 94 bd c3 dd 18 ff c6 f5
d2 b0 3b 3d a8 01 61 06 81 c2 54 bb 1d 7f f1 6b 4e 0d 68 ad 30 a4 f4 c1
a7 bf ec 96 75 dc 27 42 e7 57 d5 06 6e 92 3c bf 86 32 c3 8c
error: PKCS11 function C_Decrypt failed: rv = CKR_GENERAL_ERROR (0x5)

Aborting.

Kind regards,
Jean-Michel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to