Skip to main content

verify_commit

Function verify_commit 

Source
pub fn verify_commit(c: &Commit) -> Result<(), MkitError>
Expand description

Verify a commit against the public key embedded in c.signer.

Returns Ok(()) on success. Note: this does not check whether c.author’s payload matches c.signer — that is an application policy decision (see SPEC §6).