Skip to content

Architecture

Witness has a gateway, separate signing servers, and clients that verify receipts locally. The gateway saves jobs and assembles receipts and log checkpoints; each signer holds its own key and checkpoint state. Clients decide which keys to trust.

Page What it covers
System overview Component and trust boundaries.
Protocol flow From hash submission to verification.
Gateway Admission, signing requests, and public routes.
Witness node Signer requests, state, and clock checks.
Workers Job leases, retries, and batch timing.
Storage model SQLite, signer state, and local storage.
Verification model Trusted keys, evidence, and independent monitoring.
Deployment modes Proxy, containers, and local examples.
Protocol v2 Wire formats, signing messages, and verification rules.

This project is pre-1.0 and unaudited. It does not provide consensus or Byzantine fault tolerance. See the threat model.