decentralized-identity / veramo

A JavaScript Framework for Verifiable Data
https://veramo.io
Apache License 2.0
432 stars 131 forks source link

did:key resolver doesn't match the spec #1330

Closed mirceanis closed 8 months ago

mirceanis commented 8 months ago

Bug severity 4

Describe the bug The spec examples for Ed25519 keys show documents containing Ed25519VerificationKey2020 or JsonWebKey2020 but our current resolver outputs only Ed25519VerificationKey2018 docs.

This prevents some use-cases, like creating a Ed25519Signature2020 using did:key.

https://w3c-ccg.github.io/did-method-key/#document-creation-algorithm

Versions (please complete the following information):