Cloudflare now uses post-quantum cryptography to talk to your origin server
Sep 29, 2023Suleman Ahmad, Luke Valenta, Bas Westerbaan

Summary
This post details the rollout of X25519+Kyber768Draft00 for outbound connections from Cloudflare to origin servers and Cloudflare Workers fetch() calls. It explains the technical rationale behind adopting post-quantum cryptography (PQC) to defend against future quantum computer decryption threats. The post delves into the TLS 1.3 handshake, the role of HelloRetryRequest (HRR) in enabling smooth transitions, and the specifics of the X25519+Kyber hybrid key agreement, including the choice of security level (768 vs. 512) and the ongoing standardization of ML-KEM. It also provides quick start instructions for enabling PQC via API and configuring servers (e.g., nginx) and clients (e.g., bssl tool) for compatibility.
More from the Random Number Generation for Security trail
- Support for modern cryptographic algorithms in Workers
- Using AI to chart a course for our post-quantum migration
- Post-quantum authentication to origins is now supported
- Why we cannot wait for better post-quantum signature algorithms
- The White House's post-quantum executive order is an important milestone. It’s time to get to work