3

I have an app which is signed and several keystore files. I'd like to update the app, so I need to find out which one of keys was used.

enter image description here

  • How to recreate the keystore file if it got deleted accidentally.

I have recovered it but I want to generate the keystore file again.

I know the user name & password also.


Simply my question is :

How to convert .RSA file to .JKS

Please Help

6
  • If you lost keystore then , your playstore never allow to upadate your app with new keystore . It always conceder as a new application. Mar 14, 2017 at 7:36
  • 1
    Any chances if any As my old app have many users and good reviews.
    – user7693621
    Mar 14, 2017 at 7:38
  • 2
    @Mij this it not at all funny, I am very sad. :-(
    – user7693621
    Mar 14, 2017 at 7:41
  • 1
    it's ipmossible to restore a keystore file after it has been deleted. Mar 14, 2017 at 7:46
  • 1
    I won' t say that its impossible but It may be very difficult to do that, still if you have the .RSA file with you which you extracted it from signed apk of playstore. tordtech.blogspot.in/2009/10/signing-android-applications.html As this would be violation of google playstore security :(
    – Maveňツ
    Mar 14, 2017 at 7:47

1 Answer 1

3

if you lost your keystore then it is gone forever, you can't do anything with that...

if you have your keystore (and log/pass, if not you may try bruteforce) then you can try sign your apk with every key and check fingerprint matches version from Google Play (you can "extract" APK installed on device). note that there is also possiblity of multi-signing APK, but Google Play allows only single one, so it's not for you...

Having only RSA signature (extracted from prev signed APK?) is not sufficient at all, it is only "public" part of keystore, which may be extracted by everyone. you need "private" part, which is stored in your keystore only.

keytool is tool for playing with keystores - generating keys, signing files, recovering "public" key etc. but in your case it will be useless probably. Just find this damn keystore... Good luck!

3
  • 2
    thanks for the quick reply, I have the .RSA file with me, any hope in that case?
    – user7693621
    Mar 14, 2017 at 7:40
  • 1
    have you checked THIS topic? keystore is "sum" of private and public key. you can try to re-create/produce "new" public key from private key, but not private from public, obviusly (it wouldn't be so secure then)... Do your best and find this file, I'm affraid that this is your only hope... Good luck!
    – snachmsm
    Mar 14, 2017 at 7:43
  • Can you edit the answer and post the steps you just told. thanks I will accept that.
    – user7693621
    Mar 14, 2017 at 7:49