[jdk8u-dev] RFR: 8275887: jarsigner prints invalid digest/signature algorithm warnings if keysize is weak/disabled

Alexey Bakhtin abakhtin at openjdk.org
Mon Nov 28 13:34:58 UTC 2022


Backported as a follow-on issue for JDK-8269039

Based on the JDK11u patch
I had to resolve some merge issues in a few places:
- TimestampCheck.java - simple merge because of no JDK-8171319 in JDK8
- ManifestEntryVerifier.java - Manually updated because of different arguments of the permits() method
- DisabledAlgorithmConstraints.java - permits() method manually updated because of no JDK-8285398 
- SignerInfo.java - use explicit type instead of var

All corresponding tests passed

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

Commit messages:
 - Backport 03f8c0fb9363dc1bb07bed1ae0359c029caa0130

Changes: https://git.openjdk.org/jdk8u-dev/pull/197/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=197&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8275887
  Stats: 125 lines in 9 files changed: 42 ins; 30 del; 53 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/197.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev pull/197/head:pull/197

PR: https://git.openjdk.org/jdk8u-dev/pull/197


More information about the jdk8u-dev mailing list