Closed nanderstabel closed 3 months ago
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.
Verifier
JwsVerifier
jsonwebtoken
This ensures that all algorithms that jsonwebtoken supports can now be verified in the Domain Linkage Verification.
Closes #336
Added unit tests:
verifier_successfully_verifies_es256_signed_data
verifier_successfully_verifies_eddsa_signed_data
Add an x to the boxes that are relevant to your changes.
x
Description of change
This PR fix the following TODO:
A new
Verifier
is added which implements theJwsVerifier
trait that simply uses thejsonwebtoken
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:
verifier_successfully_verifies_es256_signed_data
verifier_successfully_verifies_eddsa_signed_data
Definition of Done checklist
Add an
x
to the boxes that are relevant to your changes.