RFR: 8339280: jarsigner -verify performs cross-checking between CEN and LOC [v22]

Weijun Wang weijun at openjdk.org
Sat Mar 29 12:17:10 UTC 2025


On Sat, 29 Mar 2025 05:37:00 GMT, Hai-May Chao <hchao at openjdk.org> wrote:

>> The jarsigner -verify command currently performs verification by reading from JarFile to navigate the central directory (CEN) headers. It is now enhanced to include cross-validation of entries between JarFile (CEN-based) and JarInputStream (stream-based) representations of the JAR. It emits earnings when detecting discrepancies between a JAR file’s central directory and its local file entries.
>
> Hai-May Chao has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update with Weijun's comments

LGTM. Thanks for the patience.

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

Marked as reviewed by weijun (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/23532#pullrequestreview-2727354857


More information about the security-dev mailing list