Questions tagged [android-keystore]

The Android system requires that all installed applications be digitally signed with a certificate whose private key is held by the application's developer. "Android keystore" may also refer to Android Keystore System, introduced in API level 18, which allows storing cryptographic keys securely within an app.

Android requires that all apps be digitally signed with a certificate before they can be installed. Android uses this certificate to identify the author of an app, and the certificate does not need to be signed by a certificate authority. Android apps often use self-signed certificates. The app developer holds the certificate's private key.

"Android keystore" may also refer to Android Keystore System, introduced in API level 18, which allows storing cryptographic keys securely within an app.

Useful links

882 questions
-1
votes
1 answer

Java, Android Keystore - supply unencrypted API key or secret for encrypting

As i am new to Android, i am working on hiding my API keys and found Android keystore the way to go. But when i see examples of how to use Android Keystore, one thing i am not understanding is how to supply the unencrypted original key for…
-1
votes
1 answer

How to create a Key store?

I want to release my android app but when I create apk release version file, my app has blocked protected error. I had created many many key stores with android studio and KeyStore Explorer but they didn't work. What should I do? How should I create…
H Hooshyar
  • 117
  • 1
  • 11
-1
votes
1 answer

Why can I upgrade my app to a version signed with a different keystore

I have multiple flavours in my app lets call them Flavour_1 & Flavour_2. Each flavour has an unique keystore Flavour_1_Release_Key & Flavour_2_Release_Key. I generate an apk using Flavour_1 and version '1.0.1' and then install that to my device. I…
Muto
  • 61
  • 6
-1
votes
1 answer

How to recover password for jks file which is already available in play store?

I have already uploaded an app in play store. I am using android studio 3 for building my application. Android - Forgot keystore password. Can I decrypt keystore file? @varun answer i tried all the three scenarios But not able to get the solution if…
Mohan Gopi
  • 7,080
  • 16
  • 57
  • 107
-1
votes
1 answer

Android Keystore

I've taken over an Android application from another developer, they've provided me with the keystore file but it has a .txt file extension (not .jks or .keystore). When I try to use it with the Alias/Password I'm getting an error. I ran it through…
Alex Brown
  • 1,553
  • 1
  • 11
  • 22
-1
votes
1 answer

Android Studio signed APK does not run

I have an Android app developed with Android Studio. I have managed to generate a signed APK, with the keystore that I also have used before, it installs fine however when I try to run it I get an error and it never runs. Does anyone know what could…
user1319668
  • 329
  • 1
  • 3
  • 16
-1
votes
1 answer

Which information contains apk sign key (android app)?

Does it contain some information about system where apk was signed? Some OS info or something like this? I heard someone say it contains mac address of the device where apk was signed. Is it true? What kind of information Google can get from signed…
-1
votes
1 answer

How to encrypt a string using application signing key so this string could be decrypted during runtime?

It is a pretty straightforward question. I want to use Android Keystore API to decypher string that was previously encrypted with application signing key SHA-1. Is there a way to get the key (for encryption) that will later be available from…
arenaq
  • 2,078
  • 1
  • 19
  • 29
-1
votes
1 answer

java.io.IOException: Error while finalizing cipher while decrypting sub-strings

I am running into an issue that I am not sure the proper fix. I used this thread as reference: java.lang.IllegalArgumentException: bad base-64 when decrypting string Basically I split a string into chunks and encrypt each chunk. But when it is time…
gmmo
  • 2,152
  • 3
  • 22
  • 46
-1
votes
1 answer

Error signing android app on phonegap

I am trying to generate an apk on phonegap This has worked several times and all that has been altered is some of the source code. Error - Keystore uploaded with wrong alias - You can fix this [here][1] I tried a previously succesful build and…
Niccolo
  • 777
  • 1
  • 8
  • 17
-1
votes
1 answer

Cordova-plugin-googlemaps blank screen on Play store

My Ionic app is using the cordova-plugin-googlemaps 1.3.9 plugin, and everything had been working on iOS and Android until yesterday. Cordova android: 5.1.1 Cordova iOS: 4.1.1 Cordova CLI: 6.2.0 Ionic Framework Version: 1.2.1-nightly-1867 Ionic CLI…
-1
votes
1 answer

Lost Keystore file of Android app

I accidentally lost my Keystore file by which I used to sign my Android app for the update on Play Store I am feel like crying. What should I do now to generate the Keystore file of same SHA-1 and MD5 fingerprint? Help needed badly
-1
votes
2 answers

How to rebuild same keystore and certificate with apktool

I only want modified apk but keep keystore and certificate unchange. How to do that. Thank you.
Nguyen Huu
  • 19
  • 2
-1
votes
1 answer

Access private key used for signing my APK through the code

I have a signed APK. What I want to do is, access the private key and sign (encrypt) some message using it. Is it possible to access this private key through my code in run time? Any sample code to do the same?
Shivv
  • 55
  • 1
  • 11
-1
votes
1 answer

invalid key hash. the key hash does not mach any stored keyhash in android?

In my application i am using facebook integration. I added the hash key and release hash key in developer site too. but it is showing "invalid key hash. The key hash XXX does not match any stored key hash. I tried all the links in google. but…
1 2 3
58
59