Skip to content

System overview

Client ──SHA-256 hash──► Gateway ──receipt or checkpoint request──► Signers
       ◄──job, receipt,   │     ◄──individual signatures with time──┘
          or proof bundle │
                           └──SQLite (jobs, receipts, batches, checkpoints)

Workspace responsibilities

Component Role
witness-core Defines receipt, checkpoint, key-history, and proof formats and provides their cryptographic checks.
witness-gateway Admits and stores jobs, collects and verifies signatures, builds the log, and serves proofs and public key history.
witness-node Holds one private key, checks its own clock, and keeps its last signed checkpoint on disk.
witness-cli and witness-client Submit hashes, fetch evidence, and verify locally with trusted public keys.
witness-core-wasm and the TypeScript SDK Use the core verifier from JavaScript.
witness-auditor Keeps an independent checkpoint history and detects inconsistent or invalid updates.

Trust boundaries

The gateway can see submitted hashes and choose which requests to serve or log. It does not need signer private keys. Signers authenticate the gateway, but check each request against their own network, epoch, and clock; for a checkpoint, they also check that the log has not been rewritten.

Auditors and clients keep a verified public-key file from outside the gateway. An ordinary receipt gives a time bound only if at least one counted signer is honest and has an accurate clock. A signed checkpoint does not show that the gateway logged every request.

See Protocol flow and the threat model.