Fix:DOGTAG-4585 SSKG Fails on Thales HSM with error CKR_ATTRIBUTE_VALUE_INVALID(RHCS 10.4). - #5420
Conversation
…UE_INVALID(RHCS 10.4). When decrypting the p12 password in the KRA with a session key, we must unwrap the session key with DECRYPT usage, since the next operation does a decryption with the key.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ladycfu
left a comment
There was a problem hiding this comment.
This looks like a good fix in theory, provided that nShield and NSS continue to work.
Approving now.
When decrypting the p12 password in the KRA with a session key, we must unwrap the session key with DECRYPT usage, since the next operation does a decryption with the key.