[jdk17u-dev] RFR: 8292704: sun/security/tools/jarsigner/compatibility/Compatibility.java use wrong key size for EC

Goetz Lindenmaier goetz at openjdk.org
Wed Jan 8 10:03:29 UTC 2025


I backport this for parity with 17.0.15-oracle.

I had to resolve because "8267319: Use larger default key sizes and algorithms based on CNSA" is not backported.  This is just the change that makes this backport necessary so that compatibility between 21 and 17 can be tested.

Test passes like this:
bin/jtreg -va -nr -jdk:/.../linux_x86_64/jdk17u-dev-opt/images/jdk/ -DjdkList=/.../linux_x86_64/jdk21u-dev-opt/images/jdk/ -DtsaList=notsa "-DkeyAlgs=EC;" -DdigestAlgs=SHA-256 -Dexpired=false   test/jdk/sun/security/tools/jarsigner/compatibility/Compatibility.java

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

Commit messages:
 - Backport 130a9f138759c2f8504a83a6f3a93b1f219f0a42

Changes: https://git.openjdk.org/jdk17u-dev/pull/3191/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3191&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8292704
  Stats: 55 lines in 2 files changed: 43 ins; 1 del; 11 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/3191.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3191/head:pull/3191

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


More information about the jdk-updates-dev mailing list