[jdk21u-dev] RFR: 8341927: Replace hardcoded security providers with new test.provider.name system property

Goetz Lindenmaier goetz at openjdk.org
Sat Nov 9 19:08:36 UTC 2024


On Thu, 7 Nov 2024 13:07:52 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this for parity with 21.0.6-oracle.
> 
> I resolved two files:
> test/jdk/sun/security/mscapi/InteropWithSunRsaSign.java
> Copyright
> 
> test/jdk/sun/security/pkcs11/Signature/SigInteropPSS2.java
> Resolved because 8325164: Named groups and signature schemes unavailable with SunPKCS11 in FIPS mode not in 21.
> 
> Tests all pass except for three I skipped:
> test/jdk/sun/security/pkcs11/rsa/GenKeyStore.java
> test/jdk/sun/security/rsa/GenKeyStore.java
> test/jdk/javax/crypto/SecretKeyFactory/evilprov/com/evilprovider/EvilHmacSHA1.java
> Checked the change in these files.

Including this fix Lutz spotted in his review. Better to have this correct right away, and simplifies backport to 17.

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1138#issuecomment-2466412224


More information about the jdk-updates-dev mailing list