Post-quantum readiness
Where every layer of OffRouter stands against future quantum computers: what already uses hybrid post-quantum cryptography, what is still classical, and what we are changing. We don't call any of it "quantum-safe". This page says exactly what is true today.
Why this matters now
New research published on November 30 describes a quantum attack on the lattice math behind ML-KEM and ML-DSA, the post-quantum standards NIST published in 2024. It is far from practical at real key sizes, and it is not an immediate threat. But it is a reminder not to rely on one algorithm alone, which is why everything we move to post-quantum, we move to hybrid: a classical algorithm and a post-quantum one together, so an attacker has to break both.
The risk that matters for AI today is harvest now, decrypt later: saving encrypted traffic now, to decrypt once a large quantum computer exists. That only works on data that was encrypted with a key exchange a quantum computer can break, and only if someone recorded it. Most AI prompts don't need any of that: they sit in plain text in a provider's logs. Signatures are different. A future quantum computer cannot go back and forge a signature that was already checked.
Layer by layer
| Layer | What it uses today | Status | What's next |
|---|---|---|---|
| Browser or client to OffRouter | TLS 1.3 with the hybrid X25519MLKEM768 key exchange, at Cloudflare's edge.Modern browsers and up-to-date API clients use it. Older TLS libraries fall back to classical X25519. | Hybrid ✓ | Nothing on our side. Keep your client's TLS library current. |
| OffRouter to the GPU enclaves | TLS from our edge to the enclaves. Checked December 3:Phala's and NEAR's inference APIs accept the hybrid X25519MLKEM768 key exchange. Our own enclave apps (Private Gateway, private agents, Private Swap), reached through Phala's dstack ingress, negotiate TLS 1.2 with classical X25519. Whether our edge's outbound connections offer hybrid is not yet confirmed. | Partly classical | Move our enclave apps to TLS 1.3 with hybrid key exchange, with Phala, and confirm the edge side. |
| End-to-end encryption: private web search | E2EE v3: one X-Wing key exchange per request (ML-KEM-768 and X25519 together), HKDF-SHA256, then AES-256-GCM for the request and the answer.Our own protocol, in our gateway enclave. The hybrid key is signed by the enclave's signer, which its hardware quote names. A request recorded today can't be opened later by breaking X25519 alone. v2 keeps working for older clients. | Hybrid ✓ | @offrouter/mcp uses it automatically once updated. Older clients stay on v2 until they update. |
| End-to-end encryption: Locksley | E2EE v3 for chat: one X-Wing key exchange per message (ML-KEM-768 and X25519 together), HKDF-SHA256, then AES-256-GCM on every message and every streamed piece of the answer.Our own protocol, opened only inside Locksley's GPU enclave. Its key is bound to the enclave by a second Intel TDX quote from the same machine, holding the key's hash and your nonce; OffChat checks it before encrypting. Live lookups (prices, trending, news) run in our gateway, so a Locksley chat with live lookups turned on is not end-to-end encrypted. | Hybrid ✓ | On by default in OffChat. Moving live lookups into the enclave, so they work encrypted too. |
| End-to-end encryption: models we don't host | Per message: X25519 or secp256k1 key exchange, HKDF-SHA256, then AES-256-GCM.On Phala-hosted chat models and Studio agent chats. AES-256 holds up against quantum attacks. The key exchange is classical, so this is the layer open to harvest now, decrypt later. | Classical key exchange | This is our enclave provider's protocol. We're working with Phala to bring the same hybrid key exchange to models. |
| Calls without end-to-end encryption | Locksley without encryption (live lookups, or the API without E2EE headers), NEAR-hosted models, audio, images, embeddings and rerank: TLS to our edge, where the Worker and gateway see the prompt in memory, then TLS into the enclave.Nothing is logged on the way, but the protection is only as strong as the two TLS hops above. | Depends on TLS | Encrypt Locksley calls with E2EE v3 (docs). |
| Storage | No prompts or answers on our servers. Our database keeps token counts and payments. OffChat history stays in your browser.What an enclave provider keeps inside its own enclave is its policy, which our code cannot prove. | None stored ✓ | Nothing on our servers to harvest. |
| Secrets inside our enclaves | Keys derived inside the enclave, data sealed with AES-256-GCM. | Holds up ✓ | Symmetric encryption at 256 bits needs no change. |
| Receipts and attestation | Receipts signed with ed25519 or secp256k1. Intel TDX quotes (ECDSA P-256) and NVIDIA GPU evidence (ECDSA P-384).Signatures, checked when you verify them. Not exposed to harvest now, decrypt later. | Classical signatures | Dual-signed receipts (ed25519 + ML-DSA-65) later. Hardware attestation follows Intel's and NVIDIA's roadmaps. |
| Wallets and payments | Chain-level ECDSA (secp256k1) on Robinhood Chain, Base and Arc.A future quantum computer could go after wallet keys whose public key is on chain. That is not ours to fix alone. | Classical | Follows Ethereum's post-quantum roadmap. |
Check it yourself
The TLS handshake, with OpenSSL 3.5 or newer (macOS ships LibreSSL, which can't do this: use Homebrew's openssl@3):
openssl s_client -connect offrouter.org:443 -servername offrouter.org \ -groups X25519MLKEM768 -brief </dev/null 2>&1 | grep -i group
If the handshake succeeds and names X25519MLKEM768, your connection to OffRouter used the hybrid post-quantum key exchange. With only that group offered, a server that can't do it would refuse the handshake.
The encryption keys the enclave offers right now, and which algorithm each uses (needs curl and jq):
curl -s "https://offrouter.org/v1/private/attestation?nonce=$(openssl rand -hex 32)" \
| jq '.attestation.workload_keyset.e2ee_public_keys[] | {key_id, algo}'Today that lists X25519 and secp256k1 keys: the model enclaves' key exchange is still classical. Private web search offers its hybrid key next to its classical one:
curl -s https://offrouter.org/v1/web | jq '{v2: .e2ee.algo, v3: .e2ee_hybrid.algo, key_id: .e2ee_hybrid.key_id}'To check that a key really lives in the enclave (the hardware quote, your nonce and the key set binding), use the in-browser verifier. Both checks are in one script you can read before you run it: pq-verify.sh.
What we don't claim
- That OffRouter is "quantum-safe" or "quantum-proof". Some layers are hybrid, some are classical, as the table says.
- That every client gets hybrid TLS. That depends on your browser or TLS library.
- Dates for hybrid end-to-end encryption on models we don't host. Those depend on our enclave providers.
- That hybrid end-to-end encryption protects traffic sent before it shipped, or from clients still on v2.
This page changes as the stack does. Questions or corrections: tell us on X.