GithubHelp home page GithubHelp logo

Comments (8)

PieterAelse avatar PieterAelse commented on August 11, 2024 2

We are also noticing this issue on our app.. For example on a Pixel 4a, Android 11.
@mogol Do you have any idea what might be the cause?

from flutter_secure_storage.

mogol avatar mogol commented on August 11, 2024

Hi @Rekubot
Are there any other logs?

from flutter_secure_storage.

chris-wickens avatar chris-wickens commented on August 11, 2024

None in the crash reports, and I haven't been able to reproduce the issue myself.

from flutter_secure_storage.

prprhyt avatar prprhyt commented on August 11, 2024

I have the same problem in pixel3a(Android 9.0).

from flutter_secure_storage.

tuarrep avatar tuarrep commented on August 11, 2024

This bug bubbled for me today. Cleaning app data fixed it

from flutter_secure_storage.

bismarabia avatar bismarabia commented on August 11, 2024

I'm also having the same issue. Android 9.0 Pixel2.
Here is Flutter doctor output

[✓] Flutter (Channel beta, 1.22.0-12.1.pre, on Mac OS X 10.15.4 19E287, locale en-TR)
    • Flutter version 1.22.0-12.1.pre at /Users/bisma/Desktop/Flutter/flutter
    • Framework revision 8b3760638a (3 weeks ago), 2020-09-15 17:47:13 -0700
    • Engine revision 4654fc6cf6
    • Dart version 2.10.0 (build 2.10.0-110.3.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/bisma/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio/Android Studio 4.1 Preview.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4.1, Build version 11E503a
    • CocoaPods version 1.10.0.rc.1

[!] Android Studio
    • Android Studio at /Applications/Android Studio/Android Studio 4.1 Preview.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[!] IntelliJ IDEA Ultimate Edition (version 2019.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[!] VS Code (version 1.49.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

Any further development regarding this?

from flutter_secure_storage.

PieterAelse avatar PieterAelse commented on August 11, 2024

Logs:

03-27 11:08:44.933 22599 22656 E flutter : [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: PlatformException(Exception encountered, read, javax.crypto.BadPaddingException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT
03-27 11:08:44.933 22599 22656 E flutter : at com.android.org.conscrypt.NativeCrypto.EVP_CipherFinal_ex(Native Method)
03-27 11:08:44.933 22599 22656 E flutter : at com.android.org.conscrypt.OpenSSLEvpCipher.doFinalInternal(OpenSSLEvpCipher.java:152)
03-27 11:08:44.933 22599 22656 E flutter : at com.android.org.conscrypt.OpenSSLCipher.engineDoFinal(OpenSSLCipher.java:374)
03-27 11:08:44.933 22599 22656 E flutter : at javax.crypto.Cipher.doFinal(Cipher.java:2055)
03-27 11:08:44.933 22599 22656 E flutter : at d.g.a.b.b.b(Unknown Source:32)
03-27 11:08:44.933 22599 22656 E flutter : at d.g.a.a.b(Unknown Source:11)
03-27 11:08:44.933 22599 22656 E flutter : at d.g.a.a.d(Unknown Source:7)
03-27 11:08:44.933 22599 22656 E flutter : at d.g.a.a.a(Unknown Source:0)
03-27 11:08:44.933 22599 22656 E flutter : at d.g.a.a$b.run(Unknown Source:160)
03-27 11:08:44.933 22599 22656 E flutter : at android.os.Handler.handleCallback(Handler.java:938)
03-27 11:08:44.933 22599 22656 E flutter : at android.os.Handler.dispatchMessage(Handler.java:99)
03-27 11:08:44.933 22599 22656 E flutter : at android.os.Looper.loop(Looper.java:223)
03-27 11:08:44.933 22599 22656 E flutter : at android.os.HandlerThread.run(HandlerThread.java:67)
03-27 11:08:44.933 22599 22656 E flutter : , null)
03-27 11:08:44.933 22599 22656 E flutter : #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:582)
03-27 11:08:44.933 22599 22656 E flutter : #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:159)
03-27 11:08:44.933 22599 22656 E flutter :
03-27 11:08:44.933 22599 22656 E flutter : #2 FlutterSecureStorage.read (package:flutter_secure_storage/flutter_secure_storage.dart:45)
03-27 11:08:44.933 22599 22656 E flutter :

from flutter_secure_storage.

juliansteenbakker avatar juliansteenbakker commented on August 11, 2024

This error can be thrown when the encryption or decryption key is not correct. Probably it became corrupted. I don't have a fix for this because it can have numerous causes. Also, there have been changes made to this package. Please try again with the latest version and if this issue is still occurring please comment.

from flutter_secure_storage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.