decentralized-identity / did-jwt

Create and verify DID verifiable JWT's in Javascript
Apache License 2.0
333 stars 71 forks source link

feat: add support for Multikey #305

Closed mirceanis closed 9 months ago

mirceanis commented 9 months ago

fixes #304

This PR adds support for Multikey verification methods, both for signature verification and for key agreement. I also added a few internal mappings for known key types, verification methods, algorithms and multiformat codecs.

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

Merging this PR should trigger a major version bump

uport-automation-bot commented 9 months ago

:tada: This PR is included in version 8.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: