A couple of months ago I generated my android release keystore with this command:
keytool -genkey -v -keystore my-release-key.keystore -alias myalias -keyalg RSA -keysize 2048 -validity 10000
I entered a password for the keystore and wrote it down, in the last step, when it was time to enter a password for the certificate I pressed enter to use the same password as the keystore (so I had to remember only one password for the whole process).
After generating this keystore I signed my apk for release using this command:
jarsigner -verbose -keystore my-release-key.keystore my.apk myalias
where I entered my password (no problem).
Now I have to push an update to my apk in the market and when I try to sign the new apk using the command above I get a "Keystore was tampered with, or password was incorrect".
I'm puzzled, I went back to my keystore backup and I get the same problem. I'm sure the password is correct. Note that I'm not using Eclipse at all for the process (I'm signing from the command line).
What could be the problem here? Heeelppp!!