TBD54566975 / web5-rs

Apache License 2.0
6 stars 2 forks source link

Implement semantic JWS verification rules #149

Open KendallWeihe opened 2 months ago

KendallWeihe commented 2 months ago

This work should hold off until the ticket here is closed https://github.com/TBD54566975/web5-rs/issues/143


Currently we verify JWS's only on the cryptographic signature, but we have a set of semantic verifications which must be true for verification to pass. For inspiration, see all the set of if conditions in web5-js linked here.

KendallWeihe commented 2 months ago

https://datatracker.ietf.org/doc/html/rfc7515