-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0.0a2
-
Fix Version/s: 2.0.0b1
-
Component/s: PKCS#11 Interface
-
Labels:None
Incoming mandatory attributes for DSA (CKA_PRIME, CKA_SUBPRIME, CKA_BASE) and ECDSA (CKA_EC_PARAMS) are ignored when saving the template. It will thus look like they are missing when performing the checks in P11Object::saveTemplate().
In generateDSA and generateEC, remove the attributes from the publicKeyAttribs-switch-statement and also remove them from the manual encryption when saving the public object.
These attributes will be automatically encrypted when calling CreateObject().