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

Keystore exception -- #46

Closed
sjmcdowall opened this issue Mar 25, 2019 · 5 comments
Closed

Keystore exception -- #46

sjmcdowall opened this issue Mar 25, 2019 · 5 comments

Comments

@sjmcdowall
Copy link

The older issue is closed -- but I am still seeing this anytime I run/reload my Android app .. even on a branch new emulator device I created..

Any ideas?

Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 39.9s
Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk... 4.3s
W/KeyStore( 605): KeyStore exception
W/KeyStore( 605): android.os.ServiceSpecificException: (code 7)
W/KeyStore( 605): at android.os.Parcel.createException(Parcel.java:1956)
W/KeyStore( 605): at android.os.Parcel.readException(Parcel.java:1910)
W/KeyStore( 605): at android.os.Parcel.readException(Parcel.java:1860)
W/KeyStore( 605): at android.security.IKeystoreService$Stub$Proxy.get(IKeystoreService.java:786)
W/KeyStore( 605): at android.security.KeyStore.get(KeyStore.java:195)
W/KeyStore( 605): at android.security.keystore.AndroidKeyStoreSpi.engineGetCertificateChain(AndroidKeyStoreSpi.java:118)
W/KeyStore( 605): at java.security.KeyStoreSpi.engineGetEntry(KeyStoreSpi.java:484)
W/KeyStore( 605): at java.security.KeyStore.getEntry(KeyStore.java:1560)
W/KeyStore( 605): at com.it_nomads.fluttersecurestorage.ciphers.RSACipher18Implementation.createRSAKeysIfNeeded(RSACipher18Implementation.java:113)
W/KeyStore( 605): at com.it_nomads.fluttersecurestorage.ciphers.RSACipher18Implementation.(RSACipher18Implementation.java:33)
W/KeyStore( 605): at com.it_nomads.fluttersecurestorage.ciphers.StorageCipher18Implementation.(StorageCipher18Implementation.java:31)
W/KeyStore( 605): at com.it_nomads.fluttersecurestorage.FlutterSecureStoragePlugin.(FlutterSecureStoragePlugin.java:46)
W/KeyStore( 605): at com.it_nomads.fluttersecurestorage.FlutterSecureStoragePlugin.registerWith(FlutterSecureStoragePlugin.java:33)
W/KeyStore( 605): at io.flutter.plugins.GeneratedPluginRegistrant.registerWith(GeneratedPluginRegistrant.java:26)
W/KeyStore( 605): at com.missionmode.mobile.MainActivity.onCreate(MainActivity.java:11)
W/KeyStore( 605): at android.app.Activity.performCreate(Activity.java:7136)
W/KeyStore( 605): at android.app.Activity.performCreate(Activity.java:7127)
W/KeyStore( 605): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
W/KeyStore( 605): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2893)
W/KeyStore( 605): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048)
W/KeyStore( 605): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
W/KeyStore( 605): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
W/KeyStore( 605): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
W/KeyStore( 605): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808)
W/KeyStore( 605): at android.os.Handler.dispatchMessage(Handler.java:106)
W/KeyStore( 605): at android.os.Looper.loop(Looper.java:193)
W/KeyStore( 605): at android.app.ActivityThread.main(ActivityThread.java:6669)
W/KeyStore( 605): at java.lang.reflect.Method.invoke(Native Method)
W/KeyStore( 605): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
W/KeyStore( 605): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

@mogol
Copy link
Owner

mogol commented Mar 26, 2019

Hi @sjmcdowall
what simulator version do you use?

@sjmcdowall
Copy link
Author

I use the Nexus 6P API 28 launched out of the Android Studio AVD tool thing. And yes, Android Studio is all up to date and all patches / updates applied. In case you were going to ask :)

@mogol
Copy link
Owner

mogol commented Mar 26, 2019

Yes, found similar issue.
I will add fix on the weekends.

@sjmcdowall
Copy link
Author

Ah ha! Looks perfect! Great news, thanks!!

@mogol
Copy link
Owner

mogol commented Mar 30, 2019

I have published 3.2.1.
@sjmcdowall pls check it solves your problem and reopen the issue if not.

@mogol mogol closed this as completed Mar 30, 2019
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