--- type: concept tags: [parking, security, integrity] sources: [parking-system-architecture] updated: 2026-06-14 --- # Append-Only Event Chain The core integrity mechanism against operator fraud (see [[threat-model]]). (See [[parking-system-architecture]] ยง3.) Three layered properties: 1. **Append-only event model.** Entry/exit events are never edited or deleted, only appended. A "void" is itself a **recorded event**, not an erasure. 2. **Tamper-evident chaining.** Each event stores the **hash of the previous event** (a hash chain). Reordering or deleting **breaks the chain visibly**. 3. **Hardware-backed signing.** The **[[atecc608]]** secure element signs each event with a non-extractable key. This is what makes the chain **unforgeable** rather than merely self-consistent โ€” someone who owns the machine still cannot forge a valid entry. It only becomes trustworthy as an external fraud control when paired with [[reconciliation]] against an authority the operator can't alter. Every device event โ€” including those ingested from the [[uhppote-controller]] via [[event-log-ingestion]] โ€” should land in this host-side chain.