iotaledger / identity.rs

Implementation of the Decentralized Identity standards such as DID and Verifiable Credentials by W3C for the IOTA Tangle.
https://www.iota.org
Apache License 2.0
290 stars 83 forks source link

Support for specification-compliant verification method type `JsonWebKey2020` #1367

Closed UMR1352 closed 1 month ago

UMR1352 commented 1 month ago

Description of change

Support for JWK-based verification has long been added to the library but under a non-standardized type - i.e. JsonWebKey. This PR solves this issue by making the already implemented method spec-compliant by changing the method's type to JsonWebKey2020 and deprecating the previous type.

Links to any relevant issues

Closes #1366

Type of change

How the change has been tested

Describe the tests that you ran to verify your changes. Ran linter and all tests.

Change checklist