Run and replay
Requires Python and cryptography. Download the existing demo script as demo.py, then run:
python -m pip install cryptography
python demo.py --offline-demo
python demo.py --replay-demo
Running --offline-demo creates synthetic-receipt.json and synthetic-public-key.txt in the current directory. It reports a valid signature and rejects an in-memory change to the verdict. Replay verifies the saved receipt against the separately saved key. Edit the saved verdict and rerun replay to see an invalid signature and a nonzero exit.
This receipt is synthetic: no customer, production key, paid API, verification engine, or accuracy measurement is involved. A signature authenticates bytes under a key; it does not prove the verdict is true. For a real receipt, obtain and pin the expected production key independently; do not trust a key merely because the receipt contains it.
Explore the quality and calibration page or the paid API quickstart.