Skip to main content

Module sigrefs

Module sigrefs 

Source

Structs§

SignedRefMap
Signed snapshot of repository Git references (ref_name -> oid) with monotonic sequence protection against replay.
SignedRefTracker
Stateful per-signer monotonic sequence watermark tracker preventing stale signed-ref replay.

Enums§

SigRefsError
Failure returned when signing, validating, or verifying a SignedRefMap.

Functions§

validate_ref_entry
Validates a Git ref name (full ref path such as refs/heads/main) and lowercase hex OID (40 or 64 chars).

Type Aliases§

SignedRefs
Canonical alias matching the protocol terminology.