Comments (7)
Hi, sorry for later answer.
Have you tried to disable backup ?
#13 (comment)
from flutter_secure_storage.
Worked, thank you very much.
from flutter_secure_storage.
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?
Thank you for the support and help!
from flutter_secure_storage.
@tom95 , it fully makes sense, I updated README.
Thanks!
from flutter_secure_storage.
@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
Launching lib\main.dart on SM G532G in debug mode...
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Note: D:\sdk\flutter\.pub-cache\hosted\pub.dartlang.org\connectivity-0.4.0+1\android\src\main\java\io\flutter\plugins\connectivity\ConnectivityPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: D:\sdk\flutter\.pub-cache\hosted\pub.dartlang.org\esys_flutter_share-0.0.7\android\src\main\java\de\esys\esysfluttershare\EsysFlutterSharePlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: D:\sdk\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.6.6\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: D:\sdk\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.6.6\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: D:\sdk\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.2.5+1\android\src\main\java\io\flutter\plugins\firebase\core\FirebaseCorePlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: D:\sdk\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_messaging-2.1.0\android\src\main\java\io\flutter\plugins\firebasemessaging\FlutterFirebaseInstanceIDService.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: D:\sdk\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_webview_plugin-0.3.0+2\android\src\main\java\com\flutter_webview_plugin\WebviewManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: D:\sdk\flutter\.pub-cache\hosted\pub.dartlang.org\image_jpeg-1.1.1\android\src\main\java\com\yangyxd\imagejpeg\ImageJpegPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Built build\app\outputs\apk\debug\app-debug.apk.
E/StorageCipher18Impl(25847): unwrap key failed
E/StorageCipher18Impl(25847): java.security.InvalidKeyException: Failed to unwrap key
E/StorageCipher18Impl(25847): at android.security.keystore.AndroidKeyStoreCipherSpiBase.engineUnwrap(AndroidKeyStoreCipherSpiBase.java:618)
E/StorageCipher18Impl(25847): at javax.crypto.Cipher.unwrap(Cipher.java:1707)
E/StorageCipher18Impl(25847): at com.it_nomads.fluttersecurestorage.ciphers.RSACipher18Implementation.unwrap(RSACipher18Implementation.java:47)
E/StorageCipher18Impl(25847): at com.it_nomads.fluttersecurestorage.ciphers.StorageCipher18Implementation.<init>(StorageCipher18Implementation.java:44)
E/StorageCipher18Impl(25847): at com.it_nomads.fluttersecurestorage.FlutterSecureStoragePlugin.<init>(FlutterSecureStoragePlugin.java:46)
E/StorageCipher18Impl(25847): at com.it_nomads.fluttersecurestorage.FlutterSecureStoragePlugin.registerWith(FlutterSecureStoragePlugin.java:33)
E/StorageCipher18Impl(25847): at io.flutter.plugins.GeneratedPluginRegistrant.registerWith(GeneratedPluginRegistrant.java:49)
E/StorageCipher18Impl(25847): at com.example.sketcherssuperadmin.MainActivity.onCreate(MainActivity.java:11)
E/StorageCipher18Impl(25847): at android.app.Activity.performCreate(Activity.java:6904)
E/StorageCipher18Impl(25847): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136)
E/StorageCipher18Impl(25847): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3266)
E/StorageCipher18Impl(25847): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3415)
E/StorageCipher18Impl(25847): at android.app.ActivityThread.access$1100(ActivityThread.java:229)
E/StorageCipher18Impl(25847): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1821)
E/StorageCipher18Impl(25847): at android.os.Handler.dispatchMessage(Handler.java:102)
E/StorageCipher18Impl(25847): at android.os.Looper.loop(Looper.java:148)
E/StorageCipher18Impl(25847): at android.app.ActivityThread.main(ActivityThread.java:7406)
E/StorageCipher18Impl(25847): at java.lang.reflect.Method.invoke(Native Method)
E/StorageCipher18Impl(25847): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
E/StorageCipher18Impl(25847): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
E/StorageCipher18Impl(25847): Caused by: javax.crypto.BadPaddingException
E/StorageCipher18Impl(25847): at android.security.keystore.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:482)
E/StorageCipher18Impl(25847): at android.security.keystore.AndroidKeyStoreCipherSpiBase.engineUnwrap(AndroidKeyStoreCipherSpiBase.java:616)
E/StorageCipher18Impl(25847): ... 19 more
E/StorageCipher18Impl(25847): Caused by: android.security.KeyStoreException: Invalid argument
E/StorageCipher18Impl(25847): at android.security.KeyStore.getKeyStoreException(KeyStore.java:945)
E/StorageCipher18Impl(25847): at android.security.keystore.KeyStoreCryptoOperationChunkedStreamer.doFinal(KeyStoreCryptoOperationChunkedStreamer.java:224)
E/StorageCipher18Impl(25847): at android.security.keystore.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:473)
E/StorageCipher18Impl(25847): ... 20 more
D/ViewRootImpl(25847): #1 mView = com.android.internal.policy.PhoneWindow$DecorView{941e3ea I.E...... R.....I. 0,0-0,0}
D/OpenGLRenderer(25847): Use EGL_SWAP_BEHAVIOR_PRESERVED: false
D/FirebaseApp(25847): Notifying auth state listeners.
D/FirebaseApp(25847): Notified 0 auth state listeners.
I/OpenGLRenderer(25847): Initialized EGL, version 1.4
D/Surface (25847): Surface::connect(this=0x9a8e2600,api=1)
D/mali_winsys(25847): new_window_surface returns 0x3000
D/Surface (25847): Surface::connect(this=0x9a8e2d00,api=1)
D/mali_winsys(25847): new_window_surface returns 0x3000
D/libGLESv1(25847): DTS_GLAPI : DTS is not allowed for Package : app.yazhiragu
I/[MALI][Gralloc](25847): [+]r_hnd(0xb437b420), client(61), share_fd(60)
D/GraphicBuffer(25847): register, handle(0xb437b420) (w:540 h:960 s:544 f:0x1 u:0x000b00)
D/ViewRootImpl(25847): MSG_RESIZED_REPORT: ci=Rect(0, 36 - 0, 0) vi=Rect(0, 36 - 0, 0) or=1
I/[MALI][Gralloc](25847): [+]r_hnd(0xb437b560), client(61), share_fd(63)
D/GraphicBuffer(25847): register, handle(0xb437b560) (w:540 h:960 s:544 f:0x1 u:0x000b00)
I/Timeline(25847): Timeline: Activity_idle id: android.os.BinderProxy@d6afc8c time:14548009
I/FA (25847): Tag Manager is not found and thus will not be used
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): Failed to handle method call
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): java.lang.IllegalArgumentException: Unsupported value: javax.crypto.BadPaddingException: error:1e06b065:Cipher functions:EVP_DecryptFinal_ex:BAD_DECRYPT
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): at io.flutter.plugin.common.StandardMessageCodec.writeValue(StandardMessageCodec.java:293)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): at io.flutter.plugin.common.StandardMethodCodec.encodeErrorEnvelope(StandardMethodCodec.java:70)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.error(MethodChannel.java:208)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): at com.it_nomads.fluttersecurestorage.FlutterSecureStoragePlugin.onMethodCall(FlutterSecureStoragePlugin.java:92)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:200)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): at android.os.MessageQueue.next(MessageQueue.java:323)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): at android.os.Looper.loop(Looper.java:135)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): at android.app.ActivityThread.main(ActivityThread.java:7406)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
from flutter_secure_storage.
Hi @rajeshjeshar,
can you delete the app and install again? is the error still there?
from flutter_secure_storage.
@mogol sorry for the late reply,i have tried but nothing solved the issue,and i'm reverting back to sharedpreferences without happy,
from flutter_secure_storage.
Related Issues (20)
- App uses CBC with PKCS5/PKCS7 padding HOT 4
- [WEB] Upgrade of js Dependency in flutter_secure_storage_web HOT 1
- Implementing encryption with the same logic as FlutterSecureStorage HOT 2
- Is this project still maintained? HOT 11
- I suspect a bug where my session keys are deleted and it causes my session to be logged out. HOT 15
- Could not find gradle-8.1.1.jar (com.android.tools.build:gradle:8.1.1)
- Libsecret issues on fedora 39 HOT 1
- Error when updating the flutter_secure_storage_platform_interface 1.1.0 HOT 5
- Flutter secure storage 8.1.0 no longer works HOT 19
- The specified item could not be found in the keychain HOT 49
- Message: The specified item already exists in the keychain, IOS HOT 24
- StorageCipher initialization failed cause by AndroidKeyStore not found HOT 2
- [bug] Race condition on `write` and `read`. HOT 2
- `deleteAll` not working on iOS HOT 3
- A problem occurred configuring project ':flutter_secure_storage'. HOT 1
- [Web] Encryption of saved value by app-specific key
- PlatformException: Code: -25308. Help me! HOT 11
- requires js ^0.6.3 depends on js ^0.7.1 HOT 6
- Beware the androidx.security:security-crypto is deprecated
- [WEB] Wasm support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_secure_storage.