Operator documentation
Witness is pre-1.0, unaudited software. A deployment is experimental until the operator has reviewed the code, configuration, and operational controls against its own threat model. Witness is not Byzantine-fault-tolerant and does not implement consensus. A majority threshold is meaningful only when the signers' keys, hosts, clocks, and administrators can fail independently.
This section is for operators of gateways and signing servers:
- Run a signing server — operate one signing node.
- Run a gateway — operate the public API and aggregator.
- Preserve evidence — issue long-term evidence records, and import and renew them as a custodian.
- Key management — protect signing keys and bearer credentials.
- Monitoring — health, metrics, logs, and incidents.
- Backups — SQLite, signer checkpoint state, and key history.
- Upgrades — reviewed, forward-only upgrades.
- Abuse and rate limiting — IP, global, and deployment-level admission controls.
- Jurisdictional diversity — an operational consideration, not a protocol guarantee.
Security decisions and limitations are documented separately in the security overview, threat model, and privacy properties.
Deployment boundary
The gateway speaks plain HTTP and does not terminate TLS itself. Put it behind a correctly configured TLS-terminating reverse proxy or load balancer for production traffic. Restrict signer signing and checkpoint-state routes to trusted gateways and use high-entropy bearer tokens.
Keep network.json, private signing keys, bearer tokens, API keys, database
files, and backups access-controlled. Do not put secrets in source control,
public images, logs, or examples.
/ws/events requires WITNESS_WS_AUTH_TOKEN. When the token is unset (or
empty/whitespace), the gateway disables the endpoint: GET /ws/events is
rejected with HTTP 503 and a startup warning is logged. There is no
unauthenticated WebSocket mode. When enabled, the stream broadcasts confirmed
attestations only, one event after the reconciler persists a signed, servable
attestation; reservations and submitted digests are never broadcast.