Bug 32864 - keytool is not compatible with sun-java5 keytool
Summary: keytool is not compatible with sun-java5 keytool
Status: UNCONFIRMED
Alias: None
Product: classpath
Classification: Unclassified
Component: cp-tools (show other bugs)
Version: 0.95
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-23 12:10 UTC by Matthias Klose
Modified: 2007-07-23 12:10 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Klose 2007-07-23 12:10:22 UTC
[forwarded from http://launchpad.net/bugs/113012]

GCC trunk 20070720 (cp-0.95)

The keytool shipped with java-gcj-compat is not compatible with the non-free from sun-java5. The simple step for generating a and selfsigning is not working at least.

Reproduce by:

$ gkeytool -genkey
[...]
$ ls -l .keystore 
-rw-r--r-- 1 doko doko 1574 2007-07-23 14:12 .keystore
$ gkeytool -selfcert
Enter key store password: ...
keytool error: java.lang.IllegalStateException: not encrypted
$ ls -l .keystore 
-rw-r--r-- 1 doko doko 0 2007-07-23 14:12 .keystore

Keytool then reports an error and destroys the ~/.keystore