RFR: 8339280: jarsigner -verify performs cross-checking between CEN and LOC [v19]
Sean Mullan
mullan at openjdk.org
Thu Mar 27 19:51:27 UTC 2025
On Thu, 27 Mar 2025 19:10:08 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:
>
> Add CEN/LOC summary warning to Informational Warnings
src/jdk.jartool/share/man/jarsigner.md line 929:
> 927:
> 928: internalConsistenciesDetected
> 929:
I don't think you need a line break here, the other warnings don't.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23532#discussion_r2017501519
More information about the security-dev
mailing list