You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CLL checkpoints: name the draft revision and run the -02 MMR vectors in CI #178
The CLL checkpoint chain (#50, landed 2026-08-26) has been hardened a lot since: thanks to everyone on #147, #160, #161 and the fuzzing work. Meanwhile the CLL draft and the MMR profile under it have moved, so this issue is about keeping the registry and the spec in step.
src/trace_verify/_checkpoint.py already says the registry's checkpoint is a JSON form with a name mapping, not the COSE wire format. That's fine. The MMR construction underneath (leaves, peaks, inclusion and consistency proofs) is format-independent, so it can be checked against shared vectors.
Name the revision in docs/mmr-checkpoint.md, for example "MMR construction per draft-mih-scitt-checkpointed-local-log-02; checkpoint in the registry's JSON form (field mapping below)".
Run the -02 known-answer vectors for the MMR layer in CI: log, accumulators, and the four-checkpoint chain with its negative cases. They are generated from the draft text, not from any implementation: https://github.com/action-state-group/checkpointed-local-log/tree/main/cll-02-vectors
The existing tests/test_mmr_kat39.py is the natural place to add them.
Optional: emit the COSE form of the checkpoint alongside the JSON one, so any CLL / SCITT verifier can check the registry without the mapping.
On our side, when a CLL revision changes anything the registry depends on, we'll ship new versioned vectors and open an issue here the same day.
Happy to send a PR for steps 1 and 2 if that helps.
Steps 1 and 2 are in #179. docs/mmr-checkpoint.md now names -02 and the MMR profile, says the checkpoint is the registry's JSON form, and carries the field mapping. tests/test_mmr_kat39.py runs the -02 vectors (pinned in tests/fixtures/cll-02/ at 43300c3): the log at every prefix, the four-checkpoint chain through verify_checkpoint_link, and the negatives.
Three things you may want to know from running them:
fail-proof-on-first is not refused by trace_verify. The registry's proof is outside the signed body and is never read on a first checkpoint. I pinned that rather than change the verifier in this PR; a short check in verify_checkpoint_chain would close it.
cp3 (no growth) is valid at the MMR layer, but verify_checkpoint_link requires strict growth, so a chain with it is refused. The registry never emits one.
fail-leaf-count-mismatch can't reach the verifier because the registry checkpoint has no leaf_count; it is checked as MMR arithmetic.
Activity
drk-ram commentedon Nov 25, 2026
Steps 1 and 2 are in #179.
docs/mmr-checkpoint.mdnow names -02 and the MMR profile, says the checkpoint is the registry's JSON form, and carries the field mapping.tests/test_mmr_kat39.pyruns the -02 vectors (pinned intests/fixtures/cll-02/at43300c3): the log at every prefix, the four-checkpoint chain throughverify_checkpoint_link, and the negatives.Three things you may want to know from running them:
fail-proof-on-firstis not refused bytrace_verify. The registry's proof is outside the signed body and is never read on a first checkpoint. I pinned that rather than change the verifier in this PR; a short check inverify_checkpoint_chainwould close it.cp3(no growth) is valid at the MMR layer, butverify_checkpoint_linkrequires strict growth, so a chain with it is refused. The registry never emits one.fail-leaf-count-mismatchcan't reach the verifier because the registry checkpoint has noleaf_count; it is checked as MMR arithmetic.Step 3 (the COSE form) is not included.
test(mmr): run the CLL -02 known-answer vectors; name the revision in…