Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [19:39]ilf@ws1 ~ $ pkcs11-tool --module opensc-pkcs11.so -lt
- Using slot 1 with a present token (0x1)
- Logging in to "InfoNotary (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)
- warning: PKCS11 function C_GetAttributeValue(MODULUS_BITS) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
- testing key 0 (2539DE13-5BDF-46AD-892B-6FD8D4B570D7) -- can't be used for signature, skipping: can't obtain modulus
- warning: PKCS11 function C_GetAttributeValue(MODULUS_BITS) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
- testing key 1 (49833E70-E196-42EA-9AC4-2F929785A062) -- can't be used for signature, skipping: can't obtain modulus
- testing key 2 (F1CC681F-A2C4-4449-8904-DDB6EA39CCA6)
- all 4 signature functions seem to work
- testing signature mechanisms:
- RSA-X-509: OK
- RSA-PKCS: OK
- SHA1-RSA-PKCS: OK
- MD5-RSA-PKCS: OK
- RIPEMD160-RSA-PKCS: OK
- SHA256-RSA-PKCS: OK
- warning: PKCS11 function C_GetAttributeValue(MODULUS_BITS) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
- testing key 1 (0 bits, label=49833E70-E196-42EA-9AC4-2F929785A062) with 1 signature mechanism -- can't be used to sign/verify, skipping: can't obtain modulus
- testing key 2 (2048 bits, label=F1CC681F-A2C4-4449-8904-DDB6EA39CCA6) with 1 signature mechanism
- MD5-RSA-PKCS: OK
- Verify (currently only for RSA):
- testing key 0 (2539DE13-5BDF-46AD-892B-6FD8D4B570D7)
- warning: PKCS11 function C_GetAttributeValue(MODULUS_BITS) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
- -- can't get the modulus length, skipping
- testing key 1 (49833E70-E196-42EA-9AC4-2F929785A062) with 1 mechanism
- warning: PKCS11 function C_GetAttributeValue(MODULUS_BITS) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
- -- can't get the modulus length, skipping
- testing key 2 (F1CC681F-A2C4-4449-8904-DDB6EA39CCA6) with 1 mechanism
- RSA-X-509: OK
- Unwrap: not implemented
- Decryption (RSA)
- testing key 0 (2539DE13-5BDF-46AD-892B-6FD8D4B570D7)
- warning: PKCS11 function C_GetAttributeValue(MODULUS) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
- warning: PKCS11 function C_GetAttributeValue(PUBLIC_EXPONENT) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
- RSA-X-509: public key not extractable
- warning: PKCS11 function C_GetAttributeValue(MODULUS) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
- warning: PKCS11 function C_GetAttributeValue(PUBLIC_EXPONENT) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
- RSA-PKCS: public key not extractable
- testing key 1 (49833E70-E196-42EA-9AC4-2F929785A062)
- warning: PKCS11 function C_GetAttributeValue(MODULUS) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
- warning: PKCS11 function C_GetAttributeValue(PUBLIC_EXPONENT) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
- RSA-X-509: public key not extractable
- warning: PKCS11 function C_GetAttributeValue(MODULUS) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
- warning: PKCS11 function C_GetAttributeValue(PUBLIC_EXPONENT) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
- RSA-PKCS: public key not extractable
- testing key 2 (F1CC681F-A2C4-4449-8904-DDB6EA39CCA6)
- RSA-X-509: OK
- RSA-PKCS: OK
- No errors
Advertisement
Add Comment
Please, Sign In to add comment