Freebird prepares for quantum computers.
A large quantum computer would break the public-key cryptography that most of the Internet uses today: RSA, elliptic curves, and the Diffie-Hellman key exchange that keeps HTTPS connections confidential. No such computer exists yet. The danger that matters now is harvest now, decrypt later: an adversary can record encrypted traffic today and decrypt it once the computer exists.
In December 2026, the NSA advised moving to post-quantum cryptography at once, starting with an inventory of public-key cryptography and with TLS 1.3 using post-quantum key exchange. The advisory followed AI-assisted cryptanalysis, including a quantum algorithm against the structured lattices under ML-KEM and ML-DSA, the new NIST post-quantum standards. That algorithm is far too costly to break those standards. Cryptographers still recommend the highest security level an application can support, hybrids that combine schemes with different mathematical foundations, and designs that can replace a scheme quickly. Freebird follows that advice.
What a quantum computer could and could not do to Freebird
A quantum computer could forge Freebird's tokens and credits, because they rest on RSA and elliptic curves. That is a threat only once such a computer exists, and Issuer keys rotate, so recorded traffic does not help a forger.
It could not retroactively link a user's issuance to their redemption. Blind RSA hides the signed message from the Issuer completely, whatever computing power an adversary has, provided that the Issuer's key was honestly generated. Recording issuance and redemption today and breaking RSA later reveals nothing new about who received which token. The same reasoning probably holds for anonymous credits, whose proofs and commitments hide the client's values unconditionally; this still needs to be confirmed against the draft.
What harvest now, decrypt later does threaten is everything inside the HTTPS connections: request contents and scopes. Freebird therefore protects every HTTPS connection with a hybrid post-quantum key exchange. Application keys, the longest-lived secrets that applications use, never cross the network at all: each request carries a one-time HMAC proof instead, so recorded traffic yields nothing reusable even if TLS were broken later.
Every HTTPS connection uses hybrid post-quantum key exchange
| Connection | Configuration |
|---|---|
| Browsers, apps, and Origins to nginx | TLS 1.3 only. Key exchange is SecP384r1MLKEM1024 for clients that support it, else X25519MLKEM768 or SecP256r1MLKEM768. Ciphers are AES-256-GCM or ChaCha20-Poly1305. |
| The Origin's and the exchange followers' directory reads, and the example clients | rustls with the aws-lc-rs provider: TLS 1.3, X25519MLKEM768 or SecP256r1MLKEM768, and the same ciphers. |
| The server package to the Issuer | Node.js's built-in fetch, which offers X25519MLKEM768 when Node.js uses OpenSSL 3.5 or later. |
Each hybrid group combines ML-KEM with an elliptic-curve exchange, so a connection stays confidential unless both are broken. There is no classical fallback: a client that offers no hybrid group, offers only TLS 1.2, or offers only AES-128 cannot connect.
These clients can connect:
- Current Chrome, Edge, and Firefox, and Safari 26 or later (iOS 26 and macOS 26). Devices that cannot run iOS 26 or macOS 26 cannot reach a Freebird site in Safari.
- Node.js 22.20, 24.5, or later. The server package refuses an HTTPS Issuer with a clear error when Node.js uses an older OpenSSL.
- curl, Python, and other programs built with OpenSSL 3.5 or later. The curl
that ships with macOS uses LibreSSL without ML-KEM; to run the nginx drills
locally, put Homebrew's curl first on
PATH.
The deployment needs Ubuntu 26.04, whose OpenSSL 3.5 provides the hybrid
groups. nginx -t rejects the rendered configuration on an older OpenSSL.
CI checks the negotiated group, the ML-KEM-1024 preference, and the refusal of
classical groups, TLS 1.2, and AES-128 against the real template.
Certificates still use classical signatures, because public certificate authorities do not yet issue post-quantum ones. That is acceptable for now: an attacker must forge a signature during the handshake, so recorded traffic does not help.
Cryptography inventory
| Part | Cryptography | Status |
|---|---|---|
| HTTPS (nginx, Rust clients, server package) | TLS 1.3 with hybrid ML-KEM | Post-quantum |
| Type-2 tokens, and Private Access Token exchange | Blind RSA-2048 (RFC 9474) | Forgeable by a quantum computer; unlinkability unaffected |
Scoped tokens (0xDA7A) |
Partially blind RSA-2048 | Same as type 2 |
Anonymous credits (0xE5AD) |
ACT on Ristretto255 | Forgeable; unlinkability probably unaffected, to be confirmed |
| Admission codes, puzzle, exchange contexts | 256-bit random values, SHA-256, HMAC-SHA256 | Post-quantum |
| Application keys | 256-bit secrets that never cross the network; HMAC-SHA256 request proofs | Post-quantum |
| Key history, trust list, recovery catalogs | SHA-256 hash chains | Post-quantum |
| Release signing | None yet; publishing is held for review | To be chosen post-quantum |
Next steps
- Post-quantum token types. No standard post-quantum Privacy Pass token exists. A candidate must keep unlinkability that holds against unlimited computing power, because unlinkability that rests on a computational assumption could be broken retroactively from recorded traffic. It should not rest on structured lattices alone, and it needs an IETF or CFRG specification. Freebird already carries several token types, so a new one can be added beside them.
- Release signing. When the release hold lifts, sign releases with hash-based (SLH-DSA) or hybrid signatures.