Skip to content

Verification model

Trusted keys

Keep a public verification config from a source independent of the gateway. It specifies the network, key epoch, signer keys, majority threshold, signature scheme, and time policy. GET /v1/network serves the current public config, but fetching it from the gateway does not authenticate it independently. GET /v1/config is only an informational summary.

Receipts and checkpoints identify their epoch. Clients can use GET /v1/key-history to find the correct keys, but must authenticate that history against their pin. Each transition is signed by both sets of keys. After compromise, pin the replacement keys independently; a chain signed using compromised keys is not enough to choose the next trusted keys.

Receipt and log evidence

Receipt verification checks the expected hash, network, key epoch, and distinct valid Ed25519 signatures within the time policy. The latest counted signed_at is the ordinary existence bound, allowing for the clock error of an honest counted signer.

Bundle verification also checks any supplied inclusion proof. It recomputes the leaf from the full receipt record and checks the path against a checkpoint authenticated with that checkpoint's own epoch. An epoch retired after compromise instead requires a proof at the exact checkpoint recorded in the authenticated transition. In that case the existence bound is the transition's effective time.

witness-core provides these checks to the Rust CLI and SDK and to the TypeScript SDK through WASM. The gateway's POST /v1/verify is a remote opinion, not an independent check.

Auditor

The auditor verifies each checkpoint with the keys for its epoch and checks that new checkpoints extend its last accepted one. It saves accepted checkpoints and failures separately from the gateway. It cannot prove that every receipt was logged or tell why a log has stopped growing.