mirror of
https://github.com/vee1e/subidx.git
synced 2026-09-01 09:50:18 +00:00
Every fetched batch must now prove itself: before ingesting, the tailer picks one cryptographically random entry, fetches its get-proof-by-hash audit path, and verifies locally that the entry hashes up to the currently verified STH root. Entries served outside the signed tree — by a tampered connection or a misbehaving log — fail the check, the batch is refused, the watermark does not advance, and the cycle retries. Before this, entries were trusted purely on TLS to the log endpoint; only the STH was verified. The fake log in tests now serves a real RFC 6962 Merkle root and audit paths, so the existing round-trip test exercises the gate, and TestTamperedEntriesRejected proves that entries outside the signed tree are never stored and never advance the watermark. README updated: the provenance claim now matches what the code does. |
||
|---|---|---|
| .. | ||
| apex | ||
| loglist | ||
| rfc6962 | ||
| server | ||
| store | ||
| tailer | ||