Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You all are missing the fact that this is a documentation bug.</p> <p>Keytool's -list command <em>does not accept</em> the -keypass argument. It is not needed, as -list does not access the private key in any way.</p> <p>If you call 'keytool' with no arguments, it tells you:</p> <p>-list [-v | -rfc] [-protected] [-alias ] [-keystore ] [-storepass ] [-storetype ] [-providername ] [-providerclass [-providerarg ]] ... [-providerpath ]</p> <p>Note: no -keypass</p> <p>This is a documentation bug at: <a href="http://code.google.com/android/add-ons/google-apis/mapkey.html" rel="nofollow">http://code.google.com/android/add-ons/google-apis/mapkey.html</a></p> <p>The reason it works when you switch to using Sun/Oracle's keytool is that version does not signal an error in this case. But as you can see above -- it also specifically does not use it.</p> <p>Public key cryptography is based on standards. So long as any tool can access Java's non-standard keystore format (or if you use a standard one such as PKCS12), you should be able to use that tool for any task involving actual signing, and any MD5 fingerprint you can coax a tool to show you should be equivalent.</p> <p>Don't supply bogus arguments, and you should be fine with whatever keytool you end up with.</p> <p>Edit: Note that it DOES accept the -storepass argument. If you have encrypted your entire keystore, and you don't supply the encryption password, then it will not understand your keystore and you'll get an error. You can supply it either with -storepass <em>password</em> or you can supply it on the command line when prompted. Just typing Enter when a password has been set will of course not work.</p> <p>By contrast, -keypass supplies the password for a private key. It is used only in commands that actually access the private key, such as for signing.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload