Verifying a proof
How somebody who does not trust us checks one.
What is in it
A manifest naming the finding, the change, the test that failed before and passed after, and the re-scan that confirmed it — with the framework version pinned, the time, and a signature over all of it.
Each proof also carries the hash of the previous one, so a record cannot be removed from the middle of the chain without the ones after it failing.
Checking it without us
Signing keys are published at the location documented on this page, with retired keys retained: https://secureflow.ruah.ai/v1/public/evidence/keys/directory.json. Verifying a proof signed in 2026 needs the 2026 key whenever somebody asks, so a key is never removed. Each key is also published on its own beside it, at the `url` the directory gives it (`<keyId>.pem`).
The address written inside a proof (`signature.publicKeyUrl`) is only a hint, and the verifier never fetches it. The dedicated key hosts are `keys.secureflow.xyz` for production and `keys.secureflow.ruah.ai` for staging, and proofs name them once they are live; until then, and for proofs issued before, they name the API address above, and some archived ones name an older address that does not answer and that we do not control. None of that matters to checking a proof: verify against a directory you fetched from the location on this page, or against the snapshot in an evidence pack (`keys/directory.json`), which verifies those archived proofs without any URL.
The directory file is not signed, so each key in it carries its full SHA-256 `fingerprint` and the verifier checks that the key hashes to it, and that the key matches the id the proof names. We also publish the SHA-256 of the file itself, beside it as `directory.json.sha256` and inside every evidence pack, so a copy from anywhere else can be compared byte for byte: `sha256sum -c directory.json.sha256`. A directory from before fingerprints still verifies, with a note saying so.
The verification is a signature check over a canonical serialisation. It needs no account, no API key and no request to us, and it keeps working if this company does not. Fetch the directory yourself, rather than taking one from whoever gave you the proof.
Verifying one
npm install -g @secureflow/evidence
curl -L -O https://secureflow.ruah.ai/v1/public/evidence/keys/directory.json
curl -L -O https://secureflow.ruah.ai/v1/public/evidence/keys/directory.json.sha256
sha256sum -c directory.json.sha256
secureflow-verify proof.json --keys directory.json