-
Bug
-
Resolution: Fixed
-
P2
-
5.0u10
-
b01
-
sparc
-
solaris_10
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2150384 | 7 | Weijun Wang | P4 | Closed | Fixed | b16 |
JDK-2179120 | 6u18 | Abhijit Saha | P3 | Resolved | Fixed | b04 |
The ISV is getting the exception when signing their jar files (attached).
It can be duplicated on both Windows and Solaris SPARC.
java version "1.5.0_10"
1. created a keystore in Java 1.5.
keytool -genkey -alias jim -keystore jimstore
2. sign the Test_InstallLogUtil.jar
jarsigner -keystore jimstore -signedjar sTest_InstallLogUtil.jar
Test_InstallLogUtil.jar jim
3. update the signed jar file
jar -uvf sTest_InstallLogUtil.jar Main.jar
4. sign the updated jar file again
jarsigner -keystore jimstore -signedjar ssTest_InstallLogUtil.jar
sTest_InstallLogUtil.jar jim
5. verify the newer signed jarfile
jarsigner -verify -verbose -keystore jimstore ssTest_InstallLogUtil.jar
jarsigner: java.lang.SecurityException: Invalid signature file digest
for Manifest main attributes
It can be duplicated on both Windows and Solaris SPARC.
java version "1.5.0_10"
1. created a keystore in Java 1.5.
keytool -genkey -alias jim -keystore jimstore
2. sign the Test_InstallLogUtil.jar
jarsigner -keystore jimstore -signedjar sTest_InstallLogUtil.jar
Test_InstallLogUtil.jar jim
3. update the signed jar file
jar -uvf sTest_InstallLogUtil.jar Main.jar
4. sign the updated jar file again
jarsigner -keystore jimstore -signedjar ssTest_InstallLogUtil.jar
sTest_InstallLogUtil.jar jim
5. verify the newer signed jarfile
jarsigner -verify -verbose -keystore jimstore ssTest_InstallLogUtil.jar
jarsigner: java.lang.SecurityException: Invalid signature file digest
for Manifest main attributes
- backported by
-
JDK-2179120 Exception thrown when signing a jarfile in java 1.5
-
- Resolved
-
-
JDK-2150384 Exception thrown when signing a jarfile in java 1.5
-
- Closed
-
- relates to
-
JDK-2179108 jarsigner fails to sign itextasian.jar since 1.5.0_b14, it works with 1.5.0_13
-
- Resolved
-
-
JDK-6948909 Jarsigner removes MANIFEST.MF info for badly packages jar's
-
- Resolved
-
-
JDK-6712755 jarsigner fails to sign itextasian.jar since 1.5.0_b14, it works with 1.5.0_13
-
- Closed
-
-
JDK-2179109 jarsigner fails to sign itextasian.jar since 1.5.0_b14, it works with 1.5.0_13
-
- Resolved
-
(1 relates to)