ilf

Untitled

ilf
Aug 20th, 2014
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.29 KB | None | 0 0
  1. [19:39]ilf@ws1 ~ $ pkcs11-tool --module opensc-pkcs11.so -lt
  2. Using slot 1 with a present token (0x1)
  3. Logging in to "InfoNotary (PIN)".
  4. Please enter User PIN:
  5. C_SeedRandom() and C_GenerateRandom():
  6. seeding (C_SeedRandom) not supported
  7. seems to be OK
  8. Digests:
  9. all 4 digest functions seem to work
  10. MD5: OK
  11. SHA-1: OK
  12. RIPEMD160: OK
  13. Signatures (currently only RSA signatures)
  14. warning: PKCS11 function C_GetAttributeValue(MODULUS_BITS) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
  15.  
  16. testing key 0 (2539DE13-5BDF-46AD-892B-6FD8D4B570D7) -- can't be used for signature, skipping: can't obtain modulus
  17. warning: PKCS11 function C_GetAttributeValue(MODULUS_BITS) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
  18.  
  19. testing key 1 (49833E70-E196-42EA-9AC4-2F929785A062) -- can't be used for signature, skipping: can't obtain modulus
  20. testing key 2 (F1CC681F-A2C4-4449-8904-DDB6EA39CCA6)
  21. all 4 signature functions seem to work
  22. testing signature mechanisms:
  23. RSA-X-509: OK
  24. RSA-PKCS: OK
  25. SHA1-RSA-PKCS: OK
  26. MD5-RSA-PKCS: OK
  27. RIPEMD160-RSA-PKCS: OK
  28. SHA256-RSA-PKCS: OK
  29. warning: PKCS11 function C_GetAttributeValue(MODULUS_BITS) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
  30.  
  31. 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
  32. testing key 2 (2048 bits, label=F1CC681F-A2C4-4449-8904-DDB6EA39CCA6) with 1 signature mechanism
  33. MD5-RSA-PKCS: OK
  34. Verify (currently only for RSA):
  35. testing key 0 (2539DE13-5BDF-46AD-892B-6FD8D4B570D7)
  36. warning: PKCS11 function C_GetAttributeValue(MODULUS_BITS) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
  37.  
  38. -- can't get the modulus length, skipping
  39. testing key 1 (49833E70-E196-42EA-9AC4-2F929785A062) with 1 mechanism
  40. warning: PKCS11 function C_GetAttributeValue(MODULUS_BITS) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
  41.  
  42. -- can't get the modulus length, skipping
  43. testing key 2 (F1CC681F-A2C4-4449-8904-DDB6EA39CCA6) with 1 mechanism
  44. RSA-X-509: OK
  45. Unwrap: not implemented
  46. Decryption (RSA)
  47. testing key 0 (2539DE13-5BDF-46AD-892B-6FD8D4B570D7)
  48. warning: PKCS11 function C_GetAttributeValue(MODULUS) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
  49.  
  50. warning: PKCS11 function C_GetAttributeValue(PUBLIC_EXPONENT) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
  51.  
  52. RSA-X-509: public key not extractable
  53. warning: PKCS11 function C_GetAttributeValue(MODULUS) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
  54.  
  55. warning: PKCS11 function C_GetAttributeValue(PUBLIC_EXPONENT) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
  56.  
  57. RSA-PKCS: public key not extractable
  58. testing key 1 (49833E70-E196-42EA-9AC4-2F929785A062)
  59. warning: PKCS11 function C_GetAttributeValue(MODULUS) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
  60.  
  61. warning: PKCS11 function C_GetAttributeValue(PUBLIC_EXPONENT) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
  62.  
  63. RSA-X-509: public key not extractable
  64. warning: PKCS11 function C_GetAttributeValue(MODULUS) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
  65.  
  66. warning: PKCS11 function C_GetAttributeValue(PUBLIC_EXPONENT) failed: rv = CKR_ATTRIBUTE_TYPE_INVALID (0x12)
  67.  
  68. RSA-PKCS: public key not extractable
  69. testing key 2 (F1CC681F-A2C4-4449-8904-DDB6EA39CCA6)
  70. RSA-X-509: OK
  71. RSA-PKCS: OK
  72. No errors
Advertisement
Add Comment
Please, Sign In to add comment