-
Notifications
You must be signed in to change notification settings - Fork 352
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
Bad Decrypt on Read after upgrading #24
Comments
Hi, sorry for later answer. Have you tried to disable backup ? |
Worked, thank you very much. |
Hey @mogol just coming from investigating the same issue. Maybe it could make sense to add the backup fix to the changelog or a prominent place in the README? |
@tom95 , it fully makes sense, I updated README. |
@mogol Updated to 3.1.3 and set backup=false but facing the following exception for both 3.1.3 and 3.1.2 on two different devices
|
Hi @rajeshjeshar, |
@mogol sorry for the late reply,i have tried but nothing solved the issue,and i'm reverting back to sharedpreferences without happy, |
HI there,
After upgrading from 3.1.1 to 3.1.2 I've encountered a strange error when I am trying to read data.
No implementation changed. I tried to uninstall the app, clear cache, cleared the data, but nothing worked.
Here are the logs:
Built build\app\outputs\apk\debug\app-debug.apk. E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): Failed to handle method call E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): java.lang.IllegalArgumentException: Unsupported value: javax.crypto.BadPaddingException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): at io.flutter.plugin.common.StandardMessageCodec.writeValue(StandardMessageCodec.java:293) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): at io.flutter.plugin.common.StandardMethodCodec.encodeErrorEnvelope(StandardMethodCodec.java:70) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.error(MethodChannel.java:199) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): at com.it_nomads.fluttersecurestorage.FlutterSecureStoragePlugin.onMethodCall(FlutterSecureStoragePlugin.java:92) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): at android.os.MessageQueue.nativePollOnce(Native Method) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): at android.os.MessageQueue.next(MessageQueue.java:379) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): at android.os.Looper.loop(Looper.java:144) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): at android.app.ActivityThread.main(ActivityThread.java:7425) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): at java.lang.reflect.Method.invoke(Native Method) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
The text was updated successfully, but these errors were encountered: