Veaceslav Gaidarji
Veaceslav Gaidarji

Reputation: 4301

How to sign Android application with RSA key

I don't have original keystore file, it is lost by my colleague, I have just RSA key from application. Is it possible to sign new apk version with this RSA key?

EDIT: I have public RSA key

Upvotes: 2

Views: 2923

Answers (2)

Archiman
Archiman

Reputation: 1080

You need a public key as well because:

Keystore = private + public key pair = identified by an alias

Try to generate a public key from your private key, then package the pair in a keystore. The java keytool should be able to do this. See : http://docs.oracle.com/javase/1.5.0/docs/tooldocs/solaris/keytool.html

Upvotes: 2

shivshnkr
shivshnkr

Reputation: 1465

Hope this serves your purpose.

http://answers.oreilly.com/topic/2293-how-to-sign-your-android-app/

You can also use ADT for your task, see this

http://tordtech.blogspot.in/2009/10/signing-android-applications.html

Upvotes: 0

Related Questions