|corrupted eclipse JAR signature? [message #504473]
||Sat, 19 December 2009 19:08
| Hacking Bear
Registered: July 2009
In the process of exporting application to JNLP, I found that one of the Eclipse jar seems to have a corrupted signature.
(JAR the directory if it is not in JAR file form.)
$ jarsigner.exe -verify -verbose org.eclipse.core.runtime.compatibility.registry_3.2.200.v200 90429-
jarsigner: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
The library/JAR (as found in eclipse/plugins) is apparently corrupted. The Eclipse apparently is using this JAR and the JNLP Export Wizard does not make any complain. But the resulting JAR in the JNLP plugins folder cannot be loaded by WebStart. I have to unjar this one, edit the MANIFEST.MF to remove the signatures, remove the META-INF/ECLIPSE*.*, sign it again manually with our certificate. This does not happen to any other JARs, whether it is ours or eclipse.
More strangely, if I create an unsigned version of this JAR and replace the one in eclipse/plugins, Eclipse would complain unable to find this JAR and the Export Wizard complain the same thing. If they depend on the signed JARs, why wouldn't they complain with the original one?
Does anyone have the same problem?
Powered by FUDForum
. Page generated in 0.02163 seconds