Skip to content

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:

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.