RFR: 8209398: sun/security/pkcs11/KeyStore/SecretKeysBasic.sh failed with "PKCS11Exception: CKR_ATTRIBUTE_SENSITIVE"

Valerie Peng valeriep at openjdk.java.net
Wed Dec 22 19:54:13 UTC 2021


On Tue, 14 Dec 2021 18:33:47 GMT, Valerie Peng <valeriep at openjdk.org> wrote:

> Can someone help review this small fix? NSS returns PKCS11 CKR_ATTRIBUTE_SENSITIVE error when trying to retrieve CKA_VALUE out of its token keys. So this fix is to add special handling for NSS token secret keys. There is already an existing regression test which detects this and disabled in ProblemList.txt. Removing that test from ProblemList.txt to verify this fix.
> 
> Thanks,
> Valerie

Thanks HaiMay and Weijun for review~~

-------------

PR: https://git.openjdk.java.net/jdk/pull/6837


More information about the security-dev mailing list