On Wed, 22 Dec 2021 00:40:35 GMT, Weijun Wang <wei...@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