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 on version 3.8 #21

Open
piptan opened this issue Jun 17, 2024 · 0 comments
Open

KeyStore exception on version 3.8 #21

piptan opened this issue Jun 17, 2024 · 0 comments

Comments

@piptan
Copy link

piptan commented Jun 17, 2024

When using latest version 3.8 with one bank application, this error was found during reading secured storage (that was written to secure storage during bank app user registration) -

KeyStore exception
android.os.ServiceSpecificException: (code 7)
at android.os.Parcel.createExceptionOrNull(Parcel.java:2403)
at android.os.Parcel.createException(Parcel.java:2373)
at android.os.Parcel.readException(Parcel.java:2356)
at android.os.Parcel.readException(Parcel.java:2298)
at android.security.keystore.IKeystoreService$Stub$Proxy.get(IKeystoreService.java:1007)
at android.security.KeyStore.get(KeyStore.java:238)
at android.security.KeyStore.get(KeyStore.java:227)
at android.security.keystore.AndroidKeyStoreSpi.engineGetCertificate(AndroidKeyStoreSpi.java:165)
at java.security.KeyStore.getCertificate(KeyStore.java:1120)
at com.it_nomads.fluttersecurestorage.ciphers.RSACipher18Implementation.new(Unknown Source:12)
at com.it_nomads.fluttersecurestorage.ciphers.RSACipher18Implementation.goto(Unknown Source:0)
at com.it_nomads.fluttersecurestorage.ciphers.StorageCipher18Implementation.(Unknown Source:72)
at com.it_nomads.fluttersecurestorage.FlutterSecureStoragePlugin.super(Unknown Source:8)
at com.it_nomads.fluttersecurestorage.FlutterSecureStoragePlugin.do(Unknown Source:0)
at com.it_nomads.fluttersecurestorage.FlutterSecureStoragePlugin$MethodRunner.run(Unknown Source:2)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:263)
at android.os.HandlerThread.run(HandlerThread.java:67)

This application does not find BootloaderSpoofer but BootloaderSpoofer breaks one of its functions.

To fix this, I have to use BootloaderSpoofer v2.1 during bank app user registration (writing to secure storage once) and then update to BootloaderSpoofer v3.8. Doing this makes reading secure storage works (no KeyStore exception error) afterwards. But if I use v3.8 since the begining, bank app will throw above error.

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

1 participant