-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
CentOS Stream 9
-
None
-
None
-
rhel-idm-ipa
-
ssg_idm
-
1
-
None
-
False
-
False
-
-
None
-
Red Hat Enterprise Linux
-
RHEL JIRAS rhel-idm-ipa
-
None
-
None
-
All
-
None
What were you trying to do that didn't work?
Use the mechanism AES_KEY_WRAP_KWP (RFC5649)
Please provide the package NVR for which bug is seen:
softhsm-2.6.1-7.el9.2.x86_64
How reproducible:
Always
Steps to reproduce
- Create HSM session AES key (for blob wrapping)
- Encrypt a blob(PKCS8 DER data) with session key (PKCS8 key)
- C_UnwrapKey() the ciphered data to import a private key to the HSM
Expected results
Private key can be unwrapped and persisted to the HSM
Actual results
AES_KEY_WRAP_KWP is an invalid mechanism
Reported to upstream as: https://github.com/opendnssec/SoftHSMv2/issues/726