BootloaderSpoofer icon indicating copy to clipboard operation
BootloaderSpoofer copied to clipboard

KeyStore exception on version 3.8

Open piptan opened this issue 1 year ago • 0 comments

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.

piptan avatar Jun 17 '24 04:06 piptan