Expand description
Verification receipts (companion, version 1).
Port of continuity_receipt/verification.py: a receipt is a signed record
of a verification run — the full result (verdict, errors, reasons,
summary) bound to the JCS-canonical bundle digest. Wire format and
semantics: VERIFICATION_RECEIPTS.md.
Malformed-input notes (same policy as verify.rs): Python compares the
version field with != 1, which accepts 1.0/true; this port accepts
only integer 1 and fails closed with bad_version otherwise. Nothing in
the format or vectors depends on the looser comparison.
Structs§
- Verification
Receipt Result - Mirrors Python’s
VerificationReceiptResult(as_dictshape).
Constants§
Functions§
- receipt_
digest - SHA-256 of the canonical bytes of a verification receipt minus its
sig(the digest to anchor —VERIFICATION_RECEIPTS.md§Anchoring). - verify_
verification_ receipt - Verify a verification receipt (Python
verify_verification_receipt).