Skip to content

Privacy properties

Witness is content-private, not metadata-private. Clients submit a SHA-256 hash rather than document content. The gateway therefore need not receive the document, but a hash is not automatically secret: anyone who can guess a public document or low-entropy value can calculate and compare its hash.

What Witness protects

  • The normal timestamp request carries a hash, not the document itself.
  • Clients can hash locally and verify an attestation locally.
  • The public verification configuration is separate from secret-bearing operational configuration.

What remains observable

The gateway, TLS endpoint, reverse proxy, load balancer, and their operators may observe or retain source IP address, timing and frequency, User-Agent, client version, application identifiers, and proxy logs. TLS protects traffic in transit from network observers but does not hide this metadata from the gateway or its infrastructure.

/ws/events broadcasts only confirmed attestations and requires a token. When WITNESS_WS_AUTH_TOKEN is unset, the endpoint is disabled (HTTP 503). Receipts and bundles still expose hashes and signer clock readings to anyone who obtains them.

Do not include filenames, content, account identifiers, or other identifying metadata in a hash submission's surrounding application unless disclosure is acceptable. Witness cannot protect content leaked through another service.

Admission-control tradeoff

Admission controls can reduce abuse but do not hide transport metadata or prevent an operator from correlating IP addresses, timing, User-Agent, and application identifiers. They are not anonymity against the gateway operator.