MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / a_different_key_cannot_verify

Function a_different_key_cannot_verify

atomic-canonical/src/delegation.rs:728–732  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

726
727 #[test]
728 fn a_different_key_cannot_verify() {
729 let (_alice, _claude, doc) = certificate();
730 let mallory = human("mallory");
731 assert!(verify(&doc, &mallory.identity.public_key).is_err());
732 }
733
734 #[test]
735 fn widening_the_scope_breaks_the_proof() {

Callers

nothing calls this directly

Calls 2

humanFunction · 0.85
certificateFunction · 0.70

Tested by

no test coverage detected