Help: Signatures
Signatures
A record that cannot be checked later is only a claim, and receipts are records. What makes a receipt checkable is its signatures, so this page lays out the two signatures the design puts on every receipt, the other standard signatures it could have put there instead, and the reasoning behind the pair it settled on.
Every receipt carries two signatures, and the receipt counts only when both of them verify. One is Ed25519, a classical signature scheme set out in RFC 8032, quick to make, small on the page, and understood by nearly every tool in use today. The other is ML-DSA-65, a post quantum scheme that NIST standardised in FIPS 204, built on lattice maths rather than on the problems classical signatures rely on. Signing with both means a receipt can still be checked on the day one of the two is broken, whichever day that is.
The two halves do not stand equal against a quantum computer, and it would be wrong to let the pairing suggest they do. Ed25519 rests on an elliptic curve problem that a large enough quantum computer is expected to solve, and RFC 8032 says as much itself. ML-DSA-65 rests on lattice problems where no such shortcut is known, so the quantum resistance of the pair lives entirely in that half. What Ed25519 brings is speed, small signatures, and tools that already speak it wherever the receipt might travel.
Neither half was the only candidate. Standing in for the post quantum half could have been SLH-DSA, the stateless hash based scheme NIST standardised in FIPS 205, which leans on nothing but hash functions and pays for that caution with signatures many times larger. Or the stateful hash based schemes XMSS and LMS, covered by NIST in SP 800-208, where every key carries a counter that must never repeat, a hard promise to keep for a design that signs every single operation. On the classical side, the established alternatives are ECDSA, the elliptic curve scheme in FIPS 186-5 that signs for much of the web and for Bitcoin, and RSA-PSS, the RSA scheme in RFC 8017, older, larger, and still supported almost everywhere.
The design settled on Ed25519 with ML-DSA-65 for plain reasons. Both schemes are public standards, so anyone can verify a receipt without asking permission or buying a tool. Neither keeps state, so there is no counter to exhaust and no signing state to lose. And the two cover different risks that arrive at different times, the classical one carrying today, the lattice one carrying the quantum era, at a combined size a receipt can afford. Another design weighing the same list could land somewhere else, and its receipts would teach the same underlying lesson, that a record worth keeping carries the means to check it.
The sources
- RFC 8032, Edwards-Curve Digital Signature Algorithm, the Ed25519 specification at the RFC Editor
- FIPS 204, Module-Lattice-Based Digital Signature Standard, the ML-DSA standard at NIST
- FIPS 205, Stateless Hash-Based Digital Signature Standard, the SLH-DSA standard at NIST
- SP 800-208, Recommendation for Stateful Hash-Based Signature Schemes, covering XMSS and LMS at NIST
- FIPS 186-5, Digital Signature Standard, the home of ECDSA at NIST
- RFC 8017, PKCS #1 version 2.2, where RSA-PSS is specified, at the RFC Editor