-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[proposal] add support for Multikey #304
Labels
Comments
mirceanis
added a commit
that referenced
this issue
Jan 17, 2024
fixes #304 BREAKING CHANGE: The return types have changed for of `extractPublicKeyBytes()` and `multibaseToBytes()` from Uint8Arrays to Objects containing the `keyBytes: Uint8Array` and a decoded or inferred `keyType: string | undefined`
mirceanis
added a commit
that referenced
this issue
Jan 18, 2024
fixes #304 BREAKING CHANGE: The return types have changed for of `extractPublicKeyBytes()` and `multibaseToBytes()` from Uint8Arrays to Objects containing the `keyBytes: Uint8Array` and a decoded or inferred `keyType: string | undefined`
uport-automation-bot
pushed a commit
that referenced
this issue
Jan 18, 2024
# [8.0.0](7.4.7...8.0.0) (2024-01-18) ### Features * add support for Multikey ([#305](#305)) ([20bbc3e](20bbc3e)), closes [#304](#304) ### BREAKING CHANGES * The return types have changed for of `extractPublicKeyBytes()` and `multibaseToBytes()` from Uint8Arrays to Objects containing the `keyBytes: Uint8Array` and a decoded or inferred `keyType: string | undefined`
🎉 This issue has been resolved in version 8.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: