-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: SoftHSM 2.0.0b1
-
Fix Version/s: SoftHSM 2.x develop
-
Component/s: PKCS#11 Interface
-
Labels:None
-
Environment:
Windows 32bit and Linux 32bit
If the C_GenerateKey function is called with CKA_MODIFIABLE set as false in the template and the CKA_MODIFIABLE attribute is not the last in the attribute list the function fails with a CKR_ATTRIBUTE_READ_ONLY error.
If the the CKA_MODIFIABLE attribute is set to true or left out of the attribute list the function call succeeds.
I have not checked against SoftHSM 2.0.0b2 but I suspect it is present there as well since a quick code review does not reveal any changes in that area.