OS : Solaris 9 Sparc
TestCase :
/net/latte/deployment1/regtests/1.5.0/test/sun/security/tools/keytool
JDK 1.5.0_02b3
To Reproduce: run the below testcase.
When prompted for password type in test456
Exception is thrown.
This testcase passes on 1.4.2_07
bash-2.05# ${TESTJAVA}/bin/keytool \
-keyclone \
-alias mykey \
-dest myclone \
-keystore CloneKeyAskPassword.jks \
-storepass test123
Enter key password for <mykey>test456
The Following Error is then Displayed:
keytool error: java.security.UnrecoverableKeyException: Cannot recover key
###@###.### 2004-12-22 18:01:27 GMT