rust-ceramic icon indicating copy to clipboard operation
rust-ceramic copied to clipboard

feat: jws signature validation

Open dav1do opened this issue 6 months ago • 1 comments

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.

dav1do avatar Aug 20 '24 22:08 dav1do