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

Goetz Lindenmaier goetz at openjdk.org
Fri Nov 4 09:39:00 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.

Goetz Lindenmaier has updated the pull request incrementally with one additional commit since the last revision:

  Add test

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

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/1497/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/1497/files/8bdb886d..b3d5d65b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1497&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1497&range=02-03

  Stats: 60 lines in 1 file changed: 60 ins; 0 del; 0 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