You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/10/16 20:12:17 UTC
DO NOT REPLY [Bug 37105] New: -
signing JARs does not work correctly
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37105>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37105
Summary: <SignJar> signing JARs does not work correctly
Product: Ant
Version: 1.6.5
Platform: Other
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: jpstotz@gmx.de
For Deploying some JARs over Java Web Start I need to sign all used Jars with
one signature-key. Some of the JARs are already signed or better the MANIFEST.MF
contains some digest information. After resigning the MANIFEST.MF contains two
entries with the SHA Digest, one called "SHA-1-Digest:" and the second "SHA1-
Digest:" for every class inside the jar.
An Example. Before signing the first entry in the MANIFEST.MF is:
Name: com/ibm/util/ByteArrayComparator.class
Digest-Algorithms: SHA-1 MD5
SHA-1-Digest: S7wUZ9ZutxM4aw++z04cos09RNQ=
MD5-Digest: sFk/FpWAavouBPkcBHk+Kw==
after resigning it was changed to
Name: com/ibm/util/ByteArrayComparator.class
SHA-1-Digest: S7wUZ9ZutxM4aw++z04cos09RNQ=
Digest-Algorithms: SHA-1 MD5
MD5-Digest: sFk/FpWAavouBPkcBHk+Kw==
SHA1-Digest: S7wUZ9ZutxM4aw++z04cos09RNQ=
Jan
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org