Ephenodrom / Dart-Basic-Utils

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

UnsupportedObjectIdentifierException: ObjectIdentifier prime192v1 is not supported yet #86

Closed NotoriuStyle closed 1 year ago

NotoriuStyle commented 1 year ago

Hi everybody, i'm trying to encode EcPublicKey to pem to store the public key on a database; i generated they key pair using prime192v1 as curve, but when i call the method encodeEcPublicKeyToPem i receive the following error: UnsupportedObjectIdentifierException (UnsupportedObjectIdentifierException: ObjectIdentifier prime192v1 is not supported yet). Is there a way to encode EcPublicKey (curve prime192v1) to pem successfully? Thanks

Ephenodrom commented 1 year ago

The fix is now available. Please update to the latest basic_utils realse 5.5.3.