Some DIDDocuments can use Multikey as a verification method type. The key type must then be inferred from the multibase(multicodec(keyBytes)) encoding found in the publicKeyMultibase property of the verification method.
Describe the solution you'd like
It should be possible to verify tokens whose issuer DID document contain Multikey verification methods at least pointing to the key types that are already supported.
Describe alternatives you've considered
Until #234 is fixed, the verification logic is hardcoded, so a fix must be provided here.
Some DIDDocuments can use
Multikey
as a verification method type. The key type must then be inferred from themultibase(multicodec(keyBytes))
encoding found in thepublicKeyMultibase
property of the verification method.Describe the solution you'd like It should be possible to verify tokens whose issuer DID document contain
Multikey
verification methods at least pointing to the key types that are already supported.Describe alternatives you've considered Until #234 is fixed, the verification logic is hardcoded, so a fix must be provided here.
Additional context https://www.w3.org/TR/vc-data-integrity/#multikey https://identity.foundation/peer-did-method-spec/#resolving-a-didpeer2 https://w3c-ccg.github.io/did-method-key/#document-creation-algorithm