android-keystore Questions
0
cI have encrypted and decrypted a login password which is stored in the Android Keystore. On Android 9, I observed that the app crashes when trying to decrypt the password(I am not able to reproduc...
Eldon asked 18/9, 2019 at 13:5
6
Solved
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.
How can I match which keystore was used to originally sign m...
Humorist asked 4/7, 2012 at 14:56
0
I'm replacing an Android app on a client Google Play account that was previously maintained by another developer.
I've got the following things to work with:
a PEM file with a BEGIN PRIVATE KEY...
Flexed asked 5/9, 2019 at 12:25
2
We have generate AndroidKeystore and it's working fine but randomly facing below issue.
After App reinstall its working fine.
java.security.KeyStoreException: Failed to store private key
Below ...
Reminisce asked 21/8, 2019 at 13:6
2
How can I set different signing configs for different variants?
For instance, we currently have the buildtypes Debug/Beta/Release with 2 flavors, free and paid, resulting in 6 variants. To make it...
Quartermaster asked 23/9, 2015 at 14:21
3
Solved
When you sign and distribute your Xamarin Android apps the wizard helps you create keystore for your app. However, wherever I looked on my mac I could not find the actual .keystore file anywhere. S...
Preferment asked 11/11, 2015 at 19:52
1
I have an app that generates a key for encryption/decryption and it is working just fine. I store my key in KeyStore and IV as first 12B in encrypted file saved on external storage. When I want to ...
Achromatism asked 15/2, 2018 at 13:14
2
Solved
I need to generate a RSA 2048 Keypair, then save it, and recover it if it exists.
At this moment, I have this:
SecureRandom random = new SecureRandom();
RSAKeyGenParameterSpec spec = new RSAKeyGenP...
Leighleigha asked 8/2, 2017 at 10:8
0
In my Android app I insert an item into KeyStore, and occasionally I get a crash related to InvalidKeyException: Keystore operation failed / KeyStoreException: Key not found. Usually the operation ...
Tobacco asked 9/4, 2019 at 21:36
2
I can't signed my apk with the existing keystore. Its giving me this error when signing:
com.android.ide.common.signing.KeytoolException: Failed to read key Cannot recover key
So, by following thi...
Chock asked 20/11, 2016 at 16:39
0
I'm seeing this in my crash logs a lot when prompting the fingerprint dialog to authenticate the user.
java.security.UnrecoverableKeyException: Failed to obtain information about key at
..my code...
Malapert asked 5/4, 2019 at 23:26
2
I use a SecretKey to encrypt sensitive data in my application. Currently I am storing my SecretKey in Base64 encoded format in DB or SharedPrefs which is not a safe place to store Secret on a roote...
Goudy asked 19/4, 2016 at 6:26
3
Solved
I'm following guideline how to sign Android apk with Jenkins. I have parametrized Jenkins job with KSTOREPWD and KEYPWD. A part of Jenkins' job configuration (Build->Execute shell) is to take those...
Arias asked 7/11, 2014 at 8:38
20
Solved
Trying to create an android app with Facebook integration, I've gotten to the part in the docs where you have to generate a key hash file, it specifies to run the following code
keytool -exportcer...
Tartarus asked 14/3, 2011 at 23:51
2
I have an app that uses AndroidKeystore, and I wanted to cleanup my app specific key entries from Android Key Store, when my app got uninstalled(so, app does not have much control to call deleteEnt...
Zooplasty asked 29/7, 2015 at 19:20
1
Solved
I am using Ubuntu for Android Development. I launch Android Studio as a root user every time. So my SDK files are all located at /root/Android/Sdk.
I also have my debug.keystore file located at
...
Bettinabettine asked 2/2, 2019 at 9:51
9
Solved
My app uses Android 6.0 Fingerprint API to protect AES key in the Android KeyStore. The stored key can be used only when user is authenticated by fingerprint sensor because the KeyGenParameterSpec ...
Magel asked 16/3, 2016 at 18:20
3
Solved
I have got myself into a slightly annoying situation with Android keystore files. Currently I have a few different apps each signed with a different keystore file. Kinda like this:
AppName1.apk s...
Dab asked 18/2, 2014 at 7:39
1
Solved
As far as I remember, 10 years was the default setting when creating a keystore in Eclipse. I think, about 5 years ago, Android development got kind of mainstream so I expect a lot of apps to be un...
Kovrov asked 22/7, 2017 at 22:50
2
I've tried to generate a key pair using the Google sample (BasicAndroidKeyStore). The only modification I made is setting the setUserAuthenticationRequired(true) in the KeyGenParameterSpec.Builder....
Twit asked 3/3, 2017 at 15:14
1
Android has the concept of hardware backed security as TEE and in latest Android i.e., Android Pie devices can have a HSM (Strongbox).
1.What is the actual difference between TEE and HSM?
2.Does ...
Floweret asked 9/10, 2018 at 9:47
0
Is there a way to persist data across multiple reinstallations of the app other than using Expo SecureStore.
I need the unique identifier of the app (UUID) to persist across multiple installations...
Nard asked 18/10, 2018 at 1:41
2
Solved
I'm currently working on an Android client of my encryption software, but I kept getting IllegalBlockSizeException, and e.getMessage() always returns null
Here's the code I used to find the proble...
Semele asked 9/10, 2018 at 10:27
3
Solved
Android 6.0+ has a KeyInfo class to get info on a key saved in the AndroidKeyStore. On the KeyInfo class, we have isInsideSecureHardware() and isUserAuthenticationRequirementEnforcedBySecureHardwar...
Gavin asked 29/1, 2018 at 23:39
1
Solved
Regarding Android Keystore system article,
Key material never enters the application process. When an application performs cryptographic operations using an Android Keystore key, behind the scen...
Galleon asked 18/9, 2018 at 7:21
© 2022 - 2024 — McMap. All rights reserved.