A
Andreas Leitgeb
When signing a particular JAR file with jarsigner *one* of the
enclosed .class files does *not* get signed !
So, when signing, then to the original manifest a list of *almost*
all content-files with each's base64'd SHA1-checksum gets added,
just not for that said .class file. Only that one class's name
*doesn't show up* in the MANIFEST.MF and neither in the *.SF .
Using some other zip-utility, that shows me all kinds of internal
attributes for each zip-content, there was nothing special about
that one file, and it is correctly unpacked with both "unzip"
and "jar xf".
Using a separate utility to obtain the base64'd sha1-sum of the
unpacked .class file didn't show anything obviously special about
that file's sha1-sum. (it's: oh3SlsLIlsoFZbS2QhWyV2JuroA= )
I'm really confused by this observed behaviour of jarsigner
just skipping one of the files in one of about 20 JARs.
Ι'll continue trying further tricks from the "shouldn't matter
but maybe does"-category, but maybe someone recognizes the
symptoms already from the description so far, and is able to
point to jarsigner's "lesser known feature".
PS: The signing is actually done by someone else, but they
assured me, they really just run the jarsigner utility.
enclosed .class files does *not* get signed !
So, when signing, then to the original manifest a list of *almost*
all content-files with each's base64'd SHA1-checksum gets added,
just not for that said .class file. Only that one class's name
*doesn't show up* in the MANIFEST.MF and neither in the *.SF .
Using some other zip-utility, that shows me all kinds of internal
attributes for each zip-content, there was nothing special about
that one file, and it is correctly unpacked with both "unzip"
and "jar xf".
Using a separate utility to obtain the base64'd sha1-sum of the
unpacked .class file didn't show anything obviously special about
that file's sha1-sum. (it's: oh3SlsLIlsoFZbS2QhWyV2JuroA= )
I'm really confused by this observed behaviour of jarsigner
just skipping one of the files in one of about 20 JARs.
Ι'll continue trying further tricks from the "shouldn't matter
but maybe does"-category, but maybe someone recognizes the
symptoms already from the description so far, and is able to
point to jarsigner's "lesser known feature".
PS: The signing is actually done by someone else, but they
assured me, they really just run the jarsigner utility.