-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
8u121
-
x86
-
os_x
FULL PRODUCT VERSION :
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Darwin f45c89aa1a91.ant.amazon.com 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64
A DESCRIPTION OF THE PROBLEM :
jarsigner is asking for additional key password which actually doesn't exist
REGRESSION. Last worked in version 8u111
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
with jarsigner 8u121
$jarsigner -storetype pkcs12 -keystore cert.p12 -storepass XXX my.jar "myAlias"
Enter key password for myAlias:
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Using another java version it is possible to see the expected result
with jarsigner 8u111
$jarsigner -storetype pkcs12 -keystore cert.p12 -storepass XXX my.jar "myAlias"
jar signed
with jarsigner 7u80
$jarsigner -storetype pkcs12 -keystore cert.p12 -storepass XXX my.jar "myAlias"
jar signed
with jarsigner 9beta
$jarsigner -storetype pkcs12 -keystore cert.p12 -storepass XXX my.jar "myAlias"
jar signed
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Darwin f45c89aa1a91.ant.amazon.com 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64
A DESCRIPTION OF THE PROBLEM :
jarsigner is asking for additional key password which actually doesn't exist
REGRESSION. Last worked in version 8u111
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
with jarsigner 8u121
$jarsigner -storetype pkcs12 -keystore cert.p12 -storepass XXX my.jar "myAlias"
Enter key password for myAlias:
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Using another java version it is possible to see the expected result
with jarsigner 8u111
$jarsigner -storetype pkcs12 -keystore cert.p12 -storepass XXX my.jar "myAlias"
jar signed
with jarsigner 7u80
$jarsigner -storetype pkcs12 -keystore cert.p12 -storepass XXX my.jar "myAlias"
jar signed
with jarsigner 9beta
$jarsigner -storetype pkcs12 -keystore cert.p12 -storepass XXX my.jar "myAlias"
jar signed
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-8174155 Java 8u121 causes error "jarsigner: you must enter key password"
- Closed