Ephenodrom / Dart-Basic-Utils

A dart package for many helper methods fitting common situations
MIT License
364 stars 77 forks source link

No algorithm registered of type ECDomainParameters with name: ansip256k1 #87

Closed WinKoKo91 closed 1 year ago

WinKoKo91 commented 1 year ago

Hi Sir,

When I try to generate EC PublicKey from bytes I get the following error.

RegistryFactoryException: No algorithm registered of type ECDomainParameters with name: ansip256k1

static ECPublicKey loadECPublicKey(var bytes) { return CryptoUtils.ecPublicKeyFromDerBytes(bytes); }

kindly check for it.

Ephenodrom commented 1 year ago

This was a bug in the pointycastle package. There were two OID entries for 1.3.132.0.10. Please update to the latest basic_utils realse 5.5.3.

WinKoKo91 commented 1 year ago

This was a bug in the pointycastle package. There were two OID entries for 1.3.132.0.10. Please update to the latest basic_utils realse 5.5.3.

Thank you so much!