Check it yourself instead of believing us
This page re-computes the signatures of example receipts in your own browser. The check runs in this tab with your browser's own cryptography (WebCrypto, Ed25519); nothing is uploaded.
The examples are generated by our running receipt code. The description of the format is not published yet. So today you can check that the signatures match the text and the key shown here; you cannot yet check where the examples come from.
Public key (Ed25519, base64url):
Signature (base64url):
Canonical form of your text:
What is checked, and what is not
Checked: exactly the text in the box was signed with this key and has not been changed since. Not checked: who holds the key, and whether the statement is true. A visit claim says the page was fetched by the holder of this agent key; it does not say that the agent read or understood the page, and it is no proof that a human saw anything. These are examples with fixed test keys and invented data (ads.example, shop.example), not a customer's receipt. The issuer's own signature on a complete receipt (ML-DSA-65) is not checked on this page. Lab implementation; no paying customer runs it yet.
How the check works
- The text is parsed as JSON and compared with its canonical form (JCS, RFC 8785). Our server accepts the fields in any order; this page is stricter on purpose: it checks a signature only when the text in the box is character for character the canonical form, so a verdict is always about exactly what you see.
- The signed bytes are the bytes of that text; for a receipt of the agent condom they are the 32 bytes of the SHA-256 over them.
- Your browser checks the Ed25519 signature over these bytes under the public key shown.
- Only a signature that verifies gives "valid". If anything cannot be checked, the page says "not verified".
These are the steps of our receipt code. Read what this page runs: verify.js, vectors.json.