1. The files and their checksums
| File | What it is | SHA-256 |
|---|---|---|
| sample-receipt-v2.json | A sealed gak.receipt.v2 for a SUCCEEDED action (simulated provider) | 79bd76e06a5a531bd2222c9ee3e9326b1364733dcfe4bcb1efed9e5c7e944fea |
| sample-receipt-v1.json | The linked gak.receipt.v1 envelope for the same action | a8f2f95d536078797cf3c15306a77ac39af307976b16d95376b5214ce18c6515 |
| sample-receipt-v2-tampered.json | The same receipt with the approver edited and both digests recomputed. It must fail | 89072114f92a24a41f12bd17296a63d5b085a948746d1c68990267baca27efee |
| sample-jwks.json | The public test key set (JWKS) the samples are signed with | 96d8d05acf444132f0b2e4bf2ba6b62d3600b511ef8700665b5169632a4ad012 |
| check_receipt_v2.py | A standalone Python check of the v2 signature, written from the public spec | 2e981fc7e1606c224d2e4d9ba9a27a24e87ac5b2f70240e08bd6f12df4ee1af2 |
mkdir eb-verify && cd eb-verify
for f in sample-receipt-v2.json sample-receipt-v1.json sample-receipt-v2-tampered.json \
sample-jwks.json check_receipt_v2.py; do
curl -fsSO https://www.evidencebound.io/verify/$f
done
shasum -a 256 * # compare with the table aboveThe sample key id is GftgFyLUWn3ZN50SA0C9zu8NCDP645EkXSWMZ3uq0NE. It is the RFC 7638 thumbprint of the key in sample-jwks.json, so you can recompute it yourself.
2. Check with Python
check_receipt_v2.py is about forty lines and uses only the cryptography package. Read it before you run it. It re-derives the signed bytes from the public spec (RFC 8785 canonical JSON of the body without attestation), checks the domain-separated payload digest, and verifies the Ed25519 signature against the key you pass. It is a reading aid; gak-verify also checks the exact member set, executor statements and the v1 link.
python3 -m pip install cryptography python3 check_receipt_v2.py sample-receipt-v2.json sample-jwks.json GftgFyLUWn3ZN50SA0C9zu8NCDP645EkXSWMZ3uq0NE # PASS SUCCEEDED rcpt_golden_succeeded_simulated python3 check_receipt_v2.py sample-receipt-v2-tampered.json sample-jwks.json GftgFyLUWn3ZN50SA0C9zu8NCDP645EkXSWMZ3uq0NE # FAIL SIGNATURE_INVALID
3. Check with gak-verify
gak-verify is our standalone verifier: a static binary built from a small Go module that uses only the standard library plus canonical JSON. It checks v1 receipts with their Ed25519 attestation and v2 receipts, offline, against a key set you pin, and prints PASS or FAIL with a fixed failure code. Exit codes: 0 PASS, 1 FAIL, 2 unreadable input. This is its real output on the samples (abridged):
gak-verify --receipt sample-receipt-v2.json --jwks sample-jwks.json \ --kid GftgFyLUWn3ZN50SA0C9zu8NCDP645EkXSWMZ3uq0NE --v1-receipt sample-receipt-v1.json # gak-verify: PASS (exit 0) # outcome: SUCCEEDED / VERIFIED_SIMULATED_EFFECT artifact_class: SKELETON_RECEIPT # ok receipt contents hash to its v2 payload_digest # ok Ed25519 signature verifies # ok receipt_v1 link names the v1 receipt passed with --v1-receipt # not checked: that GAK could not write a false receipt (GAK holds the signing key) ... gak-verify --receipt sample-receipt-v2-tampered.json --jwks sample-jwks.json --kid GftgFyLUWn3ZN50SA0C9zu8NCDP645EkXSWMZ3uq0NE # gak-verify: FAIL SIGNATURE_INVALID (exit 1)
Download
A public, checksummed gak-verify release (Linux, macOS and Windows) is being prepared and is not published yet. Until it is, we send the signed bundle (binaries, SHA256SUMS and its signature, the spec and the test vectors) directly to reviewers and auditors. Request the bundle. The Python check above needs nothing from us.
4. Checking a receipt from a real deployment
- Fetch the receipt:
GET /v1/actions/{id}/receipt/v2(and/receiptfor v1), or read it from your own S3 bucket or SIEM if you export receipts. - Fetch the key set from the deployment:
GET /.well-known/gak/jwks.json. - Pin the deployment's key id out of band (we give it to you in the pilot paperwork, not only on a web page), and pass it with
--kid. A check without a pin only shows the receipt matches whatever key set you passed. - Run
gak-verify --receipt receipt_v2.json --jwks jwks.json --kid <pinned kid> --v1-receipt receipt.json.
5. What a PASS does and does not show
- It shows that the receipt was signed by the private key behind the key id you pinned, and that no byte of it has changed since.
- It does not show that the signer could not have written a false receipt. Today EvidenceBound holds the signing key.
- The approver's identity is copied into the signed body from the approval record; the approver's own signature is not in the receipt yet.
- Receipts are labelled SKELETON_RECEIPT and NOT_ASSESSED: no customer deployment topology has been assessed, so the receipt makes no claim that every path to your systems goes through EvidenceBound.