Integrated: 8292704: sun/security/tools/jarsigner/compatibility/Compatibility.java use wrong key size for EC

Matthew Donovan mdonovan at openjdk.org
Thu Jun 22 18:46:10 UTC 2023


On Wed, 21 Jun 2023 18:46:41 GMT, Matthew Donovan <mdonovan at openjdk.org> wrote:

> In this PR I updated the EC key size and updated the regular expressions used to parse the output of the jarsigner. In addition to updating default key sizes base on Java version, I also updated the logic for determining the default signing algorithm which is based on the version of jarsigner/java used to sign the jar file and the size of the key being used.
> 
> I ran this test with JDKs 17.0.8, 20.0.2, and 21b26.

This pull request has now been integrated.

Changeset: 130a9f13
Author:    Matthew Donovan <mdonovan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/130a9f138759c2f8504a83a6f3a93b1f219f0a42
Stats:     56 lines in 2 files changed: 43 ins; 1 del; 12 mod

8292704: sun/security/tools/jarsigner/compatibility/Compatibility.java use wrong key size for EC

Reviewed-by: rhalade

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

PR: https://git.openjdk.org/jdk/pull/14602



More information about the security-dev mailing list