Protocol flow
- Submit a hash. A client sends a SHA-256 digest to
POST /v1/attestations. Under its admission limits, the gateway saves one job per hash with a timestamp, sequence, network ID, and key epoch. A duplicate returns the original job. - Collect signatures. A worker claims the job and sends
POST /v1/signto the signing servers. Each checks its network, epoch, and clock, then returns a signature binding the record and its ownsigned_at. Retries keep the original record; an expired job fails rather than receiving a fresh timestamp. - Confirm the receipt. The gateway verifies signatures against
the job's network and epoch. With enough distinct valid signatures
within the time policy, it saves the signed receipt. Clients poll
GET /v1/attestations/{hash}; only confirmed jobs containsigned_attestation. - Publish the log checkpoint. The gateway batches confirmed receipts
using leaves built from their full records. It asks signers to sign the
new tree through
POST /add-checkpoint, with a consistency proof from their prior checkpoint. A signer records an accepted extension before signing. The gateway publishes after meeting the checkpoint threshold. - Verify independently. A client checks the receipt's hash and
signatures with its own trusted key file. For proof of logging it
checks
log_inclusionfromGET /v1/bundle/{hash}or requests a proof at a published size fromGET /v1/log/proof. The CLI checks the key history against the pin, using a saved copy or fetching it from the gateway, to choose the right keys and check for retirements.
See Protocol v2 for the exact signing and key-change rules.