Code Monkey home page Code Monkey logo

Comments (2)

mrcsh avatar mrcsh commented on May 16, 2024 1

I assume this is the cause of the following error that just showed up after updating to Flutter version 2.3.0-24.1.pre?

I/flutter (14196): INFO 11:47:23.001:CryptoBloc.emit/168:CryptoState(status:CryptoStatus.error, error=Exception: Assertion failed: "package:webcrypto failed to attached finalizer", keyPair=no) #0      _attachFinalizerEVP_PKEY (package:webcrypto/src/impl_ffi/impl_ffi.utils.dart:39:5)
I/flutter (14196): #1      _createEVP_PKEYwithFinalizer (package:webcrypto/src/impl_ffi/impl_ffi.utils.dart:49:3)
I/flutter (14196): #2      _generateRsaKeyPair (package:webcrypto/src/impl_ffi/impl_ffi.rsa_common.dart:287:21)
I/flutter (14196): #3      rsaOaepPrivateKey_generateKey (package:webcrypto/src/impl_ffi/impl_ffi.rsaoaep.dart:68:16)
I/flutter (14196): #4      RsaOaepPrivateKey.generateKey (package:webcrypto/src/webcrypto/webcrypto.rsaoaep.dart:50:12)
I/flutter (14196): #5      _generateRSAKeyRaw (package:common/bloc/crypto/crypto_bloc.dart:52:28)
I/flutter (14196): #6      _generateRSAKey (package:common/bloc/crypto/crypto_bloc.dart:58:24)
I/flutter (14196): #7      _IsolateConfiguration.apply (package:flutter/src/foundation/_isolates_io.dart:81:34)
I/flutter (14196): #8      _spawn.<anonymous closure> (package:flutter/src/foundation/_isolates_io.dart:88:65)
I/flutter (14196): #9      _spawn.<anonymous clos
E/flutter (14196): [ERROR:flutter/lib/ui/ui_dart_state.cc(213)] Unhandled Exception: Exception: Assertion failed: "package:webcrypto failed to attached finalizer"
E/flutter (14196): #0      _attachFinalizerEVP_PKEY (package:webcrypto/src/impl_ffi/impl_ffi.utils.dart:39:5)
E/flutter (14196): #1      _createEVP_PKEYwithFinalizer (package:webcrypto/src/impl_ffi/impl_ffi.utils.dart:49:3)
E/flutter (14196): #2      _generateRsaKeyPair (package:webcrypto/src/impl_ffi/impl_ffi.rsa_common.dart:287:21)
E/flutter (14196): #3      rsaOaepPrivateKey_generateKey (package:webcrypto/src/impl_ffi/impl_ffi.rsaoaep.dart:68:16)
E/flutter (14196): #4      RsaOaepPrivateKey.generateKey (package:webcrypto/src/webcrypto/webcrypto.rsaoaep.dart:50:12)
E/flutter (14196): #5      _generateRSAKeyRaw (package:common/bloc/crypto/crypto_bloc.dart:52:28)
E/flutter (14196): #6      _generateRSAKey (package:common/bloc/crypto/crypto_bloc.dart:58:24)
E/flutter (14196): #7      _IsolateConfiguration.apply (package:flutter/src/foundation/_isolates_io.dart:81:34)
E/flutter (14196): #8      _spawn.<anonymous closure> (package:flutter/src/foundation/_isolates_io.dart:88:65)
E/flutter (14196): #9      _spawn.<anonymous closure> (package:flutter/src/foundation/_isolates_io.dart:87:5)
E/flutter (14196): #10     Timeline.timeSync (dart:developer/timeline.dart:163:22)
E/flutter (14196): #11     _spawn (package:flutter/src/foundation/_isolates_io.dart:85:35)
E/flutter (14196): #12     _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:286:17)
E/flutter (14196): #13     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
E/flutter (14196): ```

from webcrypto.dart.

thomnico avatar thomnico commented on May 16, 2024

I can confirm it works when using the code from git, when will it be available in a release ??

from webcrypto.dart.

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.