impierce / identity-wallet

A Tauri-based Identity Wallet for people to manage Decentralized Identities and Verifiable Credentials.
https://www.impierce.com
Apache License 2.0
26 stars 3 forks source link

feat: add support for ES256 Domain Linkage Verification #338

Closed nanderstabel closed 3 months ago

nanderstabel commented 3 months ago

Description of change

This PR fix the following TODO:

    // TODO: Only EdDSA is supported for now

A new Verifier is added which implements the JwsVerifier trait that simply uses the jsonwebtoken crate under the hood.

This ensures that all algorithms that jsonwebtoken supports can now be verified in the Domain Linkage Verification.

Links to any relevant issues

Closes #336

How the change has been tested

Added unit tests:

Definition of Done checklist

Add an x to the boxes that are relevant to your changes.