Coriqo
Developer documentation

coriqo-seal-verifier: check a sealed record offline

The verifier checks a Coriqo seal on your machine. No network, no Coriqo account, no Coriqo software, and no trust in Coriqo as an institution. The repository holds the reference verifier and the written specification of the format.

What it does

Coriqo seals governance records into a hash-linked chain and signs periodic checkpoints over it. The verifier takes a record, a certificate or a deliverables bundle, recomputes the hashes, checks the signatures, and reports which checks passed. It is written in Python (standard library plus cryptography) and published under the Apache License 2.0.

There is also a browser version at verify.coriqo.io. Nothing is uploaded: the page’s Content-Security-Policy blocks every network request, and a test in the repository fails if that changes. You can also try it from the verify page on this site.

Use it

Clone the repository and run the file directly:

git clone https://github.com/coriqo/coriqo-seal-verifier
cd coriqo-seal-verifier
pip install cryptography

python verify_proof.py --certificate certificate.json
python verify_proof.py --proof proof.json --pubkey pubkey.pem
python verify_proof.py --bundle deliverables.zip
python verify_proof.py --trace decision.json --pubkey pubkey.pem

Or point it at one file and let it work out what the file is:

python verify_proof.py deliverables.zip   # a bundle, a bare certificate or proof, or a PDF

Exit code 0 means every check passed. Exit code 1 means at least one failed, and the output says which. The repository’s QUICKSTART.md checks a sample record in three commands, then shows a one-character edit failing.

What it checks

  • Proofs and certificates: hash linkage and the signature over the checkpoint.
  • Bundles: the certificate, then that the manifest’s own bytes are what the signature commits to, then every file’s SHA-256.
  • One AI agent decision: the output, the tool calls in order and the sealed event, under a signed checkpoint. When the file carries the sealed mandate the decision ran under, each tool call is also checked against it.
  • Key rotation and witnesses: multiple signing keys through a keyring, and witness cosignatures checked only against a key you supply, never one fetched from Coriqo.
  • Sealed PDFs: the signed download receipt and the manifest binding (needs pypdf).

The specification

The format is written down so that anyone can build their own verifier. SPEC.md gives byte layouts, hashing, canonicalisation and every rule a verifier must enforce. MANDATE_SPEC.md defines the coriqo.mandate.yaml v1 file. A conformance corpus of synthetic bundles, including cases that must fail, is in testdata/.

What a pass proves

A pass shows that the record has not changed since it was signed, and who signed it. It does not prove that the AI action itself was authentic. It proves properties of the submitted record, not of what happened upstream. See known limitations for what Coriqo does not yet have, including an independent review of the signing core.

Questions about the code?

An engineer who works on it will answer.