You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
UnimplementedError: Ecdh.p256(length: 32).newKeyPair() on on Android #170
Activity
phillippbertram commentedon May 7, 2024
I have the same issue.
It seems that the CryptographyFlutterPlugin.kt should support ECDH algorithms:
cryptography/cryptography_flutter/android/src/main/kotlin/dev/dint/cryptography_flutter/CryptographyFlutterPlugin.kt
Line 56 in 4ba46dc
After some debugging, I found that the the
isSupportedPlatformin flutter_ecdh.dart returnsfalseif the current platform is not aCupertinodevice.Maybe an easy fix would be to remove the
&& isCupertinostatement? 🤷joaquingrech commentedon Aug 6, 2025
This bug also happens on windows build, it seems it is forced to ios and android, leaving out all other platforms although they should be supported