Run-receipt format spec sufficient for an independent verifier
Débutant
documentationhelp wantedai-welcomesize/m
942 ★
Poids du clone moyen
Mise à jour
Description
## Gap
The audit bundle ships a spec-driven standalone verifier (`tools/verify_audit_dsse.py` is written to be re-implementable from its docstring alone). The run receipt has exactly one implementation and no normative format document. An operator handing a receipt to a third party today can only point them at our source code.
## What to write
A docs page specifying, field by field:
- the subject binding (run id, journal head, spine head, audit range) and its canonicalization profile,
- the DSSE PAE payload type and signature input,
- embedded-JWK vs pinned-key verdict tiers (integrity-only vs provenance),
- the exit-code contract (0 verified / 1 malformed / 2 tamper),
- a worked example: one valid receipt and one tampered receipt as test vectors.
## Acceptance criteria
- A reader can implement a verifier without opening `src/`; a stdlib-only reference script (or second-language snippet) validates both test vectors.
- Test vectors live in the repo and are exercised by CI.
## Out of scope
Changing the receipt format itself.
Questions welcome in this thread.
Issues similaires
Tout voir
Python
Débutant
VS Code extension should be robust to YAML parser errors
Seeing this error: ``` Failed to read calkit.yaml: YAMLParseError: A block sequence may not be used as an im…
Mise à jour
Python
Débutant
dash: a manual Refresh control
The dashboard polls: `refreshStats()` (`src/doberman/dash/app.py:408`) every 5 s and `refreshPending()` (`:54…
Mise à jour
Python
Débutant
dash: "Copy details" button on each pending-approval card
Each pending-approval card in the dashboard (`renderPending`, `src/doberman/dash/app.py:448-544`) shows the r…
Mise à jour