decentralized-identity / veramo

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

feat: add Multikey support #1316

Closed mirceanis closed 5 months ago

mirceanis commented 5 months ago

What is being changed

This PR upgrades did-jwt, did-jwt-vc and @aviarytech/did-peer dependencies. The update fixes issues with did:peer identifiers that use multiple service endpoints as well as adding support for Multikey verification methods.

The updated libs also allowed the simplification of some codepaths that involved checking the key type and the fixing of some corner cases where the wrong key types were mistakenly used (like using secp256k1 for encryption).

Quality

Check all that apply:

Details

See:

codecov-commenter commented 5 months ago

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (c050588) 85.47% compared to head (40ad8ef) 85.50%.

Files Patch % Lines
packages/utils/src/did-utils.ts 65.51% 10 Missing :warning:
packages/utils/src/jwk-did-utils.ts 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## next #1316 +/- ## ========================================== + Coverage 85.47% 85.50% +0.03% ========================================== Files 170 170 Lines 18952 18946 -6 Branches 2116 2115 -1 ========================================== + Hits 16199 16200 +1 + Misses 2753 2746 -7 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.