[jdk17u-dev] RFR: 8342181: Update tests to use stronger Key and Salt size

Goetz Lindenmaier goetz at openjdk.org
Thu Nov 21 12:36:44 UTC 2024


I backport this for parity with 17.0.14-oracle.

This is based on the change to 21.
I resolved three files:
jdk/jdk17u-dev/pull/

test/jdk/com/sun/crypto/provider/Cipher/KeyWrap/TestCipherKeyWrapperTest.java
Trivial resolve because
https://bugs.openjdk.org/browse/JDK-8288050: Add support of SHA-512/224 and SHA-512/256 to the PBKDF2 and PBES2 impls in SunJCE provider
is missing in 17.

test/jdk/java/security/Signature/ResetAfterException.java
Copyright because
https://bugs.openjdk.org/browse/JDK-8284191: Replace usages of 'a the' in hotspot and java.base
is missin in 17.

test/jdk/jdk/security/jarsigner/Spec.java
Trivial resolve due to context difference.
Two changes to this file are missing in 17:
https://bugs.openjdk.org/browse/JDK-8267319: Use larger default key sizes and algorithms based on CNSA
https://bugs.openjdk.org/browse/JDK-8303410: Remove ContentSigner APIs and jarsigner -altsigner and -altsignerpath options

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

Commit messages:
 - Backport d81d3015610b2468a954185d15d898ca64f51583

Changes: https://git.openjdk.org/jdk17u-dev/pull/3069/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3069&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8342181
  Stats: 240 lines in 40 files changed: 138 ins; 0 del; 102 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/3069.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3069/head:pull/3069

PR: https://git.openjdk.org/jdk17u-dev/pull/3069


More information about the jdk-updates-dev mailing list