RFR: 8209398: sun/security/pkcs11/KeyStore/SecretKeysBasic.sh failed with "PKCS11Exception: CKR_ATTRIBUTE_SENSITIVE"
Valerie Peng
valeriep at openjdk.java.net
Tue Dec 14 18:44:04 UTC 2021
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
-------------
Commit messages:
- 8209398: sun/security/pkcs11/KeyStore/SecretKeysBasic.sh failed with "PKCS11Exception: CKR_ATTRIBUTE_SENSITIVE"
Changes: https://git.openjdk.java.net/jdk/pull/6837/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6837&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8209398
Stats: 9 lines in 2 files changed: 4 ins; 2 del; 3 mod
Patch: https://git.openjdk.java.net/jdk/pull/6837.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6837/head:pull/6837
PR: https://git.openjdk.java.net/jdk/pull/6837
More information about the security-dev
mailing list