ceramicnetwork / rust-ceramic

Implementation of the Ceramic protocol in Rust
Other
37 stars 10 forks source link

feat: jws signature validation #497

Closed dav1do closed 2 months ago

dav1do commented 2 months ago

Implements event validation using did:key/JWS. This verifies the envelope and makes sure the cacao grants access to the key that signed the payload. This builds on #495 (current target) and I had to make the cacao/pkh Verifier async since it can be a JWS based on the metadata.

This is not invoked anywhere and the tests currently only verify signatures for the valid events from the ceramic-sdk test vectors.

linear[bot] commented 2 months ago

AES-293 Correctness Test are Failing (Typescript module failure...)

dav1do commented 2 months ago

OHMYGSH how can I never get the linear tickets right??? This is 283 not 293.. since there's no unliking or changing the branch name... closing and trying again 😭 😭 💀