digitalbazaar / did-method-key

A did-io driver for the DID "key" method
Other
25 stars 10 forks source link

Add support for `JsonWebKey2020` #49

Closed aljones15 closed 1 year ago

aljones15 commented 1 year ago

This library is nearly there with JsonWebKey2020 support it just needs:

  1. to remove the representationNotSupported check for publicKeyFormatJsonWebKey2020`
  2. Add logic to convert an Ed25519 2020 key to JsonWebKey2020
  3. Add tests to ensure resulting didDocument is ok
dmitrizagidulin commented 1 year ago

2. Add logic to convert an Ed25519 2020 key to JsonWebKey2020

This is probably what you're referencing, but just in case you're not aware, the Ed25519 lib already has this logic (.toJsonWebKey2020()), so it should be an easy logic to add to did-method-key.

aljones15 commented 1 year ago
  1. Add logic to convert an Ed25519 2020 key to JsonWebKey2020

This is probably what you're referencing, but just in case you're not aware, the Ed25519 lib already has this logic (.toJsonWebKey2020()), so it should be an easy logic to add to did-method-key.

I was referencing that, other issue is we don't have JsonWebSignature2020 support though to go along with it.

dlongley commented 1 year ago

Closing as JsonWebSignature2020 has been discontinued.