Open nguyenbinhdai opened 4 years ago
It sounds like the PKCS library is saying it doesn’t support rsa_pkcs.
Have you tried enumerating supported mechanisms to see what it supports?
pvpkcs11 doesn't implement CKM_RSA_PKCS
https://github.com/PeculiarVentures/pvpkcs11/blob/master/src/mscapi/crypto_sign.cpp#L46-L58
Use C_GetMechanismList
function to get a list of supported mechanisms
Thanks MicroShine! How can extend to support rsa_pkcs mechanic ?
Start by looking at the SoftHSM implementation.
I using graphene and pvpkcs11 on windows for USB token : when signing using mechanic rsa_pkcs but error invalid mechanic ! Please help me ! Thanks you very much !