Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android P - KeyStore exception android.os.ServiceSpecificException #15

Closed
krasavello13 opened this issue Oct 2, 2018 · 3 comments
Closed

Comments

@krasavello13
Copy link

KeyStore: KeyStore exception
android.os.ServiceSpecificException: (code 7)
at android.os.Parcel.createException(Parcel.java:1956)
at android.os.Parcel.readException(Parcel.java:1910)
at android.os.Parcel.readException(Parcel.java:1860)
at android.security.IKeystoreService$Stub$Proxy.get(IKeystoreService.java:786)
at android.security.KeyStore.get(KeyStore.java:195)
at android.security.keystore.AndroidKeyStoreSpi.engineGetCertificateChain(AndroidKeyStoreSpi.java:118)
at java.security.KeyStoreSpi.engineGetEntry(KeyStoreSpi.java:484)
at java.security.KeyStore.getEntry(KeyStore.java:1560)
at com.bottlerocketstudios.vault.keys.wrapper.AbstractAndroidKeystoreSecretKeyWrapper.getKeyPair(AbstractAndroidKeystoreSecretKeyWrapper.java:82)
at com.bottlerocketstudios.vault.keys.wrapper.AbstractAndroidKeystoreSecretKeyWrapper.unwrap(AbstractAndroidKeystoreSecretKeyWrapper.java:167)
at com.bottlerocketstudios.vault.keys.storage.SharedPrefKeyStorage.loadSecretKey(SharedPrefKeyStorage.java:113)
at com.bottlerocketstudios.vault.keys.storage.SharedPrefKeyStorage.loadKey(SharedPrefKeyStorage.java:60)
at com.bottlerocketstudios.vault.keys.storage.SharedPrefKeyStorage.hasKey(SharedPrefKeyStorage.java:147)
at com.bottlerocketstudios.vault.StandardSharedPreferenceVault.isKeyAvailable(StandardSharedPreferenceVault.java:336)
at com.bottlerocketstudios.vault.SharedPreferenceVaultFactory.getAppKeyedCompatAes256Vault(SharedPreferenceVaultFactory.java:95)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)
at android.app.ActivityThread.access$1100(ActivityThread.java:199)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

@rogerhu
Copy link
Contributor

rogerhu commented Nov 15, 2018

Looks related here: https://stackoverflow.com/a/53287084/961939

@rogerhu
Copy link
Contributor

rogerhu commented Nov 16, 2018

See: #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants