[8u] RFR: 8176837: SunPKCS11 provider needs to check more details on PKCS11 Mechanism

Andrew Hughes gnu.andrew at redhat.com
Wed Aug 25 16:34:26 UTC 2021


On 12:49 Tue 08 Jun     , Alexey Bakhtin wrote:
> Hello,
> 
> I’d like to backport JDK-8176837 to 8u for better support PKCS11 in Solaris 11.4
> 
> JBS: https://bugs.openjdk.java.net/browse/JDK-8176837
> Original patch: https://hg.openjdk.java.net/jdk/jdk/rev/3c8f89e2ec03
> 8u patch : http://cr.openjdk.java.net/~abakhtin/8176837/webrev.v0
> 
> The patch applies almost clean except of namespace and extra dummyConfigId field in the SunPKCS11.java
> 
> This is followup fix for JDK-8229243 [1]
> 
> sun/security/pkcs11 tests passed on the Solaris 11.4 after both JDK-8229243 and JDK-8176837 patches applied
> 
> [1] - https://bugs.openjdk.java.net/browse/JDK-8229243
> 
> Regards
> Alexey

Looks pretty much like a clean backport of the 11u version (can't see a dummyConfigId field),
bar some whitespace differences around the isLegacy change.

Please flag for approval.

Thanks,
-- 
Andrew :)
Pronouns: he / him or they / them
Senior Free Java Software Engineer
OpenJDK Package Owner
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222


More information about the jdk8u-dev mailing list