Android Question Keystore File

gerredtor

Active Member
Licensed User
Hello,

My old Keystore File has the data format .dat, i cant choose it.
It doesnt show up in the File Dialog
 

DonManfred

Expert
Licensed User
Longtime User
Have you tried to rename the file and give it a new extension?
Change extension from .dat to .keystore
 
Upvote 0

gerredtor

Active Member
Licensed User
Yes but than comes the error:

B4X:
Error: Keytool-Fehler: java.io.IOException: Keystore was tampered with, or password was incorrect
java.io.IOException: Keystore was tampered with, or password was incorrect
    at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:780)
    at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
    at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:225)
    at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(JavaKeyStore.java:70)
    at java.security.KeyStore.load(KeyStore.java:1445)
    at sun.security.tools.keytool.Main.doCommands(Main.java:792)
    at sun.security.tools.keytool.Main.run(Main.java:340)
    at sun.security.tools.keytool.Main.main(Main.java:333)
Caused by: java.security.UnrecoverableKeyException: Password verification failed
    at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:778)
    ... 7 more

Keystore was tampered


And we think the password is correct
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I don´t know whether those keys are compatible.

It seems that you need to sign your app the same way like phonegap did i guess.
i remember to read a post somewhere here in forum in the past where a user was searching for a way to sign his app with the key from a customer, not his own signkey.
But i don´t know exactly.... There is just "something, somewhere in my brain" :D

Edit: Look here. Maybe this is of help
 
Upvote 0
Top