Cryptographic debugging: fun with keytool

Oct 05, 2011 20:26

I've just started trying to build apps for Android, and one of the steps is to sign the package.

However, for the keys I've generated myself, I kept getting an error along the lines of:
"keystore load: Invalid keystore format"

The problem turns out to be that there are two different versions of keytool on my Debian system, one from gcj-4.4-jre-headless, and one from sun-java6-bin. Despite substantial similarities, they do not produce compatible output.

Frustrating, but solved now.

crypto, debug, java, android, programming

Previous post Next post
Up