Sample post-quantum decision memo
An illustrative deliverable by Oleksii Vasylenko, author of Lattices.io.
Fictional scenario, not a client report. No production system was assessed. This example shows the structure and depth of a focused decision review; the evidence and scope of an actual engagement depend on your system.
Decision to make
A fictional messaging service uses TLS 1.3 with X25519 for client-to-server connections. Its owners want to reduce exposure of recorded transport traffic to a future quantum attacker. Should they pilot hybrid X25519MLKEM768 at their TLS termination point?
Conditional recommendation: run a limited hybrid key-exchange pilot after confirming the actual client and TLS-termination stack supports it. Retain normal certificate authentication. Do not describe this change as making the entire messaging system post-quantum secure.
Inputs and scope
- Assumed architecture: clients connect through a TLS-terminating proxy to application servers.
- Assumed objective: confidentiality of recorded client-to-proxy traffic over a long retention period.
- Not supplied: code, dependency versions, a packet trace, certificate chain, traffic distributions or an end-to-end messaging design.
- Excluded: implementation audit, endpoint compromise, message-layer ratchets, proxy-to-origin security and replacement of authentication signatures.
Options and size budget
| Option | Client key material | Server key material | Trade-off |
|---|---|---|---|
| X25519 | 32 bytes | 32 bytes | Broad compatibility; no post-quantum confidentiality claim. |
| X25519MLKEM768 | 1,216 bytes | 1,120 bytes | Hybrid confidentiality with larger key shares; support and network effects must be tested. |
The hybrid client key material combines a 32-byte X25519 public value and a 1,184-byte ML-KEM-768 encapsulation key. The server key material combines a 32-byte X25519 public value and a 1,088-byte ML-KEM ciphertext. These are key-material sizes, not complete TLS handshake or packet sizes: framing, extensions, certificates and retransmissions are additional.
References: FIPS 203 and the hybrid TLS engineering guide. A real review would pin the exact protocol specification and deployed versions.
Findings and uncertainty
- The TLS endpoint defines the protection boundary. A proxy upgrade does not demonstrate hybrid protection between proxy and origin, or end-to-end encryption between users. Inventory each connection separately.
- Key exchange and authentication are separate. Changing the negotiated group does not replace RSA, ECDSA or EdDSA certificates. Plan signature migration against its own threat model and compatibility constraints.
- Configuration is not proof of negotiation. Capture successful and fallback connections and inspect the selected group; a configured preference alone is insufficient evidence.
- No performance conclusion yet. Larger shares can change fragmentation, latency and middlebox compatibility. No benchmark was run for this fictional service.
Acceptance criteria and next steps
- Produce a cryptographic inventory with the team that owns every TLS termination point and supported client.
- In staging, verify the selected hybrid group on supported peers and document what happens for unsupported peers.
- Measure handshake bytes, failure rate and p50/p95 latency against the existing path under representative networks.
- Choose rollout thresholds and rollback rules before the pilot. Record any classical fallback so it is not mistaken for hybrid protection.
- Separately review origin transport, message-layer encryption, authentication signatures and key rotation.
Decision record: pilot pending inventory and compatibility evidence. This memo is not a security certification, implementation audit or assertion that the assumed system is secure.
Relevant engineering work
Inspect g6k-rs, my lattice reduction library, the runnable lattice recipes, and my engineering background. These demonstrate relevant work; they are not client endorsements.