Skip to main content

Module verify

Module verify 

Source
Expand description

Shallow signature verification (SPEC-GIT-BRIDGE §10).

Shallow mode rebuilds the mkit object from a single bridge-emitted git commit/tag (self-contained: the carried headers include the mkit tree/parent/target hashes) and checks its Ed25519 signature under the proper domain via mkit-core’s strict verifier. It proves the carried fields are exactly what the original signer signed; it does NOT prove the surrounding git graph corresponds to those BLAKE3 hashes — that is deep verification (full crate::reconstruct over the closure, driven by the caller).

Enums§

ShallowVerdict
Outcome of a shallow check.

Functions§

shallow_verify
Shallow-verify a bridge-emitted git commit or tag.