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

Alexey Bakhtin abakhtin at openjdk.org
Tue Nov 29 07:20:37 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/pull/24/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk8u&pr=24&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/pull/24.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u pull/24/head:pull/24

PR: https://git.openjdk.org/jdk8u/pull/24


More information about the jdk8u-dev mailing list