Verify a packet

Check a Castle packet right here, with zero install.

Evidence sent as a file is hard to trust on its face. Drop a Castle packet below and this page runs the same castle_verify.py that ships inside Castle's examiner packets, unmodified, in your browser. Your file never leaves your machine.

What this page is, stated plainly

A convenience, not the authority: the authoritative check is your own offline run. This page runs identical code and shows its full output. On first use it downloads a Python runtime from cdn.jsdelivr.net; that download never includes your file.

01 / Verify

Drop a packet

Drop a packet JSON here

or click to choose a file

Accepts an examiner packet, Transparent Statement or delegation chain export (.json). In a pack ZIP, the signed file is packet.json. Nothing is uploaded.

Demo data, signed with a demo key. Download the sample packet ZIP to check offline. Its bundled verifier predates the trust-registry option; for that, use castle_verify.py from this site.
No registry loaded.

What you are looking at

What was checked

Technical report (verbatim verifier output)

            

Runtime unavailable, verify offline instead

The in-browser runtime could not load (you may be offline, or the CDN may be blocked). The offline check needs Python 3.12 or later with the cryptography package:

python castle_verify.py packet.json

Get castle_verify.py (the file this page runs) or use the copy in your packet. Exit code 0 means verified; the report explains every check.

A valid result proves the bytes you received are exactly the bytes that were signed. Without pinning the publisher's key it does not prove who signed, and it never proves the evidence is complete.

The packet format this page checks is an open specification (v0.2 draft), available on request.

02 / What gets checked

Every check, in plain language

  • Merkle root. One fingerprint covers every file. The verifier rebuilds it and confirms it matches the signed value.
  • Ed25519 signature. The signature must verify against the signing key. Pin the publisher's published key to prove who signed.
  • Per-artifact hashes. Each file is re-fingerprinted, so one edited exhibit fails at exactly that file.
  • Inclusion proofs. Any one exhibit can be checked on its own, without the rest.
  • Public anchor, when present. If the packet was anchored in the public Sigstore Rekor log (opt-in, hashes only), that anchor is checked offline too.
  • Receipts and countersignatures. Each receipt from an independent verifying instance is checked against the exact packet bytes.
  • Delegation chains. Across a carrier, MGA and TPA chain, each countersignature is checked in order.
03 / Privacy

How this page runs, exactly

This page runs the standalone castle_verify.py unmodified in Pyodide (Python compiled to WebAssembly). Your browser downloads the pinned runtime (Pyodide v0.27.7) and the cryptography package from cdn.jsdelivr.net once, then caches them. Your packet stays in memory in this tab and is discarded when you leave. No file you drop is ever part of a network request.

If your policy blocks the CDN, use the offline command: same file, same checks.

04 / Verify node

Prefer a standing endpoint? Run a verify node.

Receive packets regularly? Run a verification node: castle countersign serve re-verifies incoming packets over HTTP and can countersign them. Setup takes about ten minutes with our runbook. Ask us for it.