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:
Alessio Di Mauro
2018-05-03 10:18:36 +02:00
parent 15aef8957d
commit 7533e7fb56
+1
View File
@@ -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;