[jdk11u-dev] RFR: 8273236: keytool does not accurately warn about algorithms that are disabled but have additional constraints

Goetz Lindenmaier goetz at openjdk.org
Thu Nov 3 17:42:21 UTC 2022


I backport this for parity with 11.0.18-oracle from 17.

I had to resolve src/java.base/share/classes/sun/security/tools/keytool/Main.java
due to various smaller differences. E.g., withWeak() has a 
PublicKey as argument in 11, which is a Key in 17.

Copyright: src/java.base/share/classes/sun/security/tools/keytool/Resources.java

To make it compile I had to add import for KnownOIDs and
replace usage of finalChain by the available chain.

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

Depends on: https://git.openjdk.org/jdk11u-dev/pull/1495

Commit messages:
 - Make it compile
 - Resolved chunks
 - Backport c9c8564d7c094c4dad595c8908f2b37a00130fb6

Changes: https://git.openjdk.org/jdk11u-dev/pull/1497/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1497&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8273236
  Stats: 373 lines in 2 files changed: 318 ins; 0 del; 55 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/1497.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev pull/1497/head:pull/1497

PR: https://git.openjdk.org/jdk11u-dev/pull/1497


More information about the jdk-updates-dev mailing list