interplane.Get Omega
Read in your language

synapse

A component of the AienOS ecosystem.

Brought by drakestapleton

branch main Branches Tags History

synapse / evidence / crumb-synapse / negative-control.txt

15 lines · 887 bytes Raw Blame History
1Negative control for the D5 suite (2026-10-14, on 9f0e1b0 plus the S12 wording change)
2
3Break on purpose: crates/synapse-evidence/src/lib.rs, EvidenceReceipt::verify, the result of
4key.verify_strict(...) was discarded (`.ok();` in place of
5`.map_err(|_| ReceiptError::SignatureInvalid)?;`), so any signature would be accepted.
6
7Run: CRUMB_C_BIN=<pinned crumb.c> cargo test -q -p synapse-bench --test crumb_synapse_qualification -- --nocapture --test-threads=1
8
9Result: exit 101 (red).
10 test result: FAILED. 13 passed; 1 failed; 1 ignored
11 s06_forged_and_tampered_receipts_refused panicked: "not refused: Current { ... outcome: Pass }"
12 (the receipt with its last signature byte flipped verified Current); no D5-RESULT S06 line.
13
14Revert: git checkout -- crates/synapse-evidence/src/lib.rs (no production diff remains; the
15committed run in results.txt is green on the unmodified code).