input-output-hk / prism-did-method-spec

Apache License 2.0
15 stars 1 forks source link

Align curve name for Ed25519 and X25519 #52

Closed patlo-iog closed 1 year ago

patlo-iog commented 1 year ago

In the protobuf message and the DID document, we use slightly different curve names to represent the same curve.

curve name in protobuf curve name in jwk
ed25519 Ed25519
x25519 X25519

Keeping the name consistent with the https://www.iana.org/assignments/jose/jose.xhtml should provide more consistency and reduce implementation errors where different names are used in different places.