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:02:13 UTC 2021


On Wed, 22 Dec 2021 00:40:35 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> What about here?
> 
> https://github.com/openjdk/jdk/blob/a5d7de235101696463dba22792703c6809ff7fc4/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11RSAKeyFactory.java#L280

Well, this bug is about PKCS11 SecretKey. Maybe this line in P11RSAKeyFactory.java needs to be updated as well, but best to do it separately after trying the NSS behavior out first.

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

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



More information about the security-dev mailing list