Download the script, save the files you want to check (for example with curl), then run it on a machine with no network if you like. The public key is inside the script and at /.well-known/kolaboro-keys.json; compare the two once.
Both versions run the same checks and print the same answers. Exit code 0 means every check passed.
Download
- /open/kolaboro_offline_verify.py Python 3.8+, stdlib only
- /open/kolaboro-offline-verify.mjs Node 18+, no packages
How to use it
Snapshot chain: recompute every head of the daily hash chain, and the SHA-256 of each copy you saved (.gz copies are unpacked).
curl -O https://kolaboro.com/data/snapshots/index.json
curl -O https://kolaboro.com/data/snapshots/2026-11-17/named.json.gz
python3 kolaboro_offline_verify.py chain index.json named.json.gzProject certificate: canonical JSON, the facts hash and the Ed25519 signature.
curl -o cert.json https://kolaboro.com/api/v1/projects/amani-melasti/certificate
python3 kolaboro_offline_verify.py cert cert.jsonAny signed API answer: save the body and the x-kolaboro-signature header.
curl -s -D h.txt -o body.json https://kolaboro.com/api/v1/snapshots
node kolaboro-offline-verify.mjs sig body.json "$(grep -i '^x-kolaboro-signature:' h.txt | cut -d' ' -f2 | tr -d '\r')"Build attestation: the signed record of which commit and dataset the site served.
curl -o prov.json https://kolaboro.com/api/v1/provenance
python3 kolaboro_offline_verify.py provenance prov.jsonSelf-test: built-in vectors, including a signature that must fail.
python3 kolaboro_offline_verify.py selftestWhat it checks
- Each chain head is SHA-256 of "kolaboro-snapshot-v1|day|/data/named.json|sha256|bytes|previous head", starting from "genesis"; one changed byte anywhere breaks every later head.
- A saved copy matches the SHA-256 and size of its day.
- Ed25519 signatures over "kolaboro-sig-v1\n" + SHA-256 hex of the exact bytes (RFC 8032; the Python file carries its own implementation, Node uses its built-in crypto).
- Certificates and attestations: keys sorted, no spaces, then the same signature rule; for certificates also the hash of the facts.
/data/snapshots/ · /verify/ · kolaboro-keys.json