Verifying the ledger
Verification re-walks an entity's entire chain, recomputes every hash and checks every link. It is the answer to "can you prove this record has not been altered?"
How do you verify the ledger?#
Use Verify integrity on the entity's Ledger page. Anyone with at least reader access to the entity can run it, auditors included. The work happens in the background, and the page shows the result when the run completes. Recomputation runs inside the database rather than in application code, so the bytes being hashed are exactly the stored bytes.
Every run is itself recorded, with who started it, when, how many events were checked and what the outcome was. A history of verifications is often what an auditor actually wants to see: evidence that you check, not just that you can.
What do verified, broken and failed mean?#
How do you check a single event?#
Opening any event in the Ledger recomputes just that event's hash and compares it with what is stored, showing the result as a proof block. It is instant and useful for spot checks, but it only examines one row. Whether the chain around it is intact is a separate question that only a full verification answers.
What does a verification receipt prove?#
A completed run produces a receipt signed with Ed25519. The signed payload names the organisation, the entity, when the run started and finished, how many events were checked, the result, the first broken event if there was one (null on a broken result means an event is missing), and the hash of the last event checked (the head of the chain). Because every event's hash covers the one before it, the head hash pins the receipt to the entire history it verified.
{
"payload": "{\"v\":1,\"issuer\":\"governax\",\"alg\":\"Ed25519\",\"key_id\":\"9f2c4e1ab07d3c55\",\"verification_id\":\"3c9a1f04-52ab-4f1e-8b0c-9d2e6a7f1b34\",\"org_id\":\"...\",\"entity_id\":\"...\",\"started_at\":\"2026-08-03T11:02:17.004Z\",\"completed_at\":\"2026-08-03T11:02:18.219Z\",\"events_verified\":1842,\"result\":\"verified\",\"broken_at_event_id\":null,\"head_seq\":1842,\"head_hash\":\"5be0...\"}",
"signature": "q0Zx...base64...",
"public_key_url": "https://api.governax.ai/api/ledger/receipt-key"
}Copy it from the verification dialog with Copy receipt. Your auditor can check it without an account and without trusting Governax: fetch the public key from public_key_url, then verify the signature over the exact bytes of payload. The payload's key_id must match the key's key_id.
# receipt.json is the copied receipt. Requires OpenSSL 3 and jq.
curl -s https://api.governax.ai/api/ledger/receipt-key | jq -r .data.public_key_pem > governax.pem
jq -j .payload receipt.json > payload.txt
jq -r .signature receipt.json | base64 -d > signature.bin
openssl pkeyutl -verify -pubin -inkey governax.pem -rawin -in payload.txt -sigfile signature.bin
# Prints "Signature Verified Successfully"What if a chain comes back broken?#
A broken result means a covered field on some event no longer matches its recorded hash, a link no longer points where it should, an independently timestamped hash has changed, or an event has been removed. Reaching that state requires bypassing the append-only triggers, which means database-level access rather than anything reachable through Governax.
- Note the first broken event. Everything before it is consistent, so the break is bounded. If only that event's independent timestamp disagrees, the change lies somewhere after the previous timestamp that still matches.
- Do not attempt to repair it. The ledger cannot be edited, and a break is evidence. Preserve it.
- Contact us immediately. A broken chain on a hosted deployment is an incident on the Governax side, not a misconfiguration on yours.
Remember what verification can and cannot tell you: it proves that what is recorded has not changed. It cannot prove that everything that happened was recorded. Removing the newest events shows up only once an independent timestamp covers them, and someone with full database access who rewrote the whole chain and the timestamp records would not be caught by verification alone. The limits of the hash, including the fields it does not cover, are set out in The hash chain and append-only enforcement.