Skip to content

Who signed it

Result Means
VERIFIED Signed by a trusted K-Veritas key.
SELF-ATTESTED Signed by another key (for example --local). Unchanged, but anyone could have made it.

Signing keys

The CLI and the API carry a list of trusted keys, public at kveritas.org/api/v1/trusted-keys and in KVERITAS-SCIENCE/ledger (trusted_keys.json).

  • One active key signs.
  • Spare next keys are trusted before use, so a key change never makes new reports look self-attested.
  • A retired key stays trusted for signatures made before it retired, so old reports stay VERIFIED.

A signature counts only if its key was trusted at its signing time.

Public ledger

Every seal is added to a public log, and so is every session event of a signer key (as a hash). Each entry includes the hash of the one before, so no entry can be changed, reordered or removed unnoticed.

  • The server signs a checkpoint of the log at every seal and every hour.
  • Hourly checkpoints are published to KVERITAS-SCIENCE/ledger, outside the server.
  • Each report stores the checkpoint from its seal.
  • verify checks the log still holds it. A shortened log shows as TRUNCATED.