08-22-2011 02:34 PM
I am attempting to get setup to sign Playbook apps (debug tokens for now). When I try to create the keypair I get back the following:
keytoo error: java.io.IOException: failed to decrypt safe contents array: javax.crypto.BadPaddingException: Given final block not properly padded
The command-line looked like "blackberry-keytool -genkeypair -keystore sigtool.p12 -storepass "12345" -dname "cn=my company" -alias author"
I am currently using Java SE build 126.96.36.199-b147.
Thanks for any help.
08-22-2011 04:52 PM
Do you have an existing sigtool.p12 file that was possibly created with invalid information? If so, please delete if first.
You are also missing an opening quote beside author.
Instead of using the command line, you could use this tool to configure your signing keys.
BlackBerry Tablet OS Graphical Aid