Ignore CKA_PRIVATE in ykcs11
Newer version of pkcs11-tool set the CKA_PRIVATE attribute during generation making the operation fail. The attribute is now ignored.
This commit is contained in:
@@ -438,6 +438,7 @@ CK_RV check_pubkey_template(op_info_t *op_info, CK_ATTRIBUTE_PTR templ, CK_ULONG
|
|||||||
case CKA_VERIFY:
|
case CKA_VERIFY:
|
||||||
case CKA_WRAP:
|
case CKA_WRAP:
|
||||||
case CKA_DERIVE:
|
case CKA_DERIVE:
|
||||||
|
case CKA_PRIVATE:
|
||||||
// Ignore these attributes for now
|
// Ignore these attributes for now
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user