# Quantum-Safe Hosting: Post-Quantum TLS 1.3 on ohmyho.st

By [Sebastian Mertens](https://www.linkedin.com/in/auto-mate/) · Published December 4, 2026 · Updated December 5, 2026

Every web app, API, and managed Postgres endpoint on ohmyho.st delivers **quantum-safe hosting** today by negotiating **TLS 1.3** with hybrid **`X25519MLKEM768`** key exchange and `TLS_AES_256_GCM_SHA384`. Aligned with the December 2026 NSA, CISA, and ONCD post-quantum advisory ([PP-26-4956](https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA_Immediate_Actions_Push_Toward_PQC.PDF)), active sessions stay shielded against harvest-now, decrypt-later collection with zero changes to your application code.

<figure class="fig"><img src="/images/post-quantum-transport-map.png" alt="End-to-end post-quantum transport map showing browsers, coding agents, and Node 24+ CLI connecting via TLS 1.3 X25519MLKEM768 to Cloudflare edge, over internal Service Bindings, to managed Postgres." width="1200" height="675" fetchpriority="high" decoding="async"><figcaption>Public traffic negotiates hybrid X25519MLKEM768 at Cloudflare's edge, while Worker-to-Postgres calls travel exclusively over internal Service Bindings.</figcaption></figure>

## Why the December 2026 NSA, CISA, and ONCD advisory matters

In early December 2026, the National Security Agency (NSA), the Cybersecurity and Infrastructure Security Agency (CISA), and the White House Office of the National Cyber Director (ONCD) issued urgent migration guidance in [Immediate Actions to Push Toward Post-Quantum (PP-26-4956)](https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA_Immediate_Actions_Push_Toward_PQC.PDF), paired with a December 2 joint statement. The advisory followed responsible disclosures from frontier AI research labs describing mathematical and cryptanalytic findings relevant to certain classical cryptographic mechanisms.

Both agencies were explicit about what changed and what did not. Deployed public-key encryption has not collapsed overnight, and websites do not face an immediate global decryption break today. What changed is the urgency timeline: cryptanalytic research accelerated faster than many engineering teams assumed, making passive traffic interception far riskier for any data that must stay confidential for five, ten, or twenty years.

That long-horizon risk is called **harvest-now, decrypt-later (HNDL)**. An adversary does not need a fault-tolerant quantum computer in 2026 to compromise your users. They only need to capture encrypted TLS handshakes and session traffic off wirelines or peering links today, store the ciphertext cheaply, and wait until quantum capability or improved cryptanalysis lets them recover classical `X25519` or `P-256` session keys later. The NSA guidance also underscores approaching **CNSA 2.0** procurement and transition milestones, beginning with National Security System software and equipment requirements on January 1, 2027.

For teams building web apps, SaaS tools, and internal dashboards, the practical takeaway from `PP-26-4956` is straightforward. Waiting until X.509 post-quantum certificates arrive across every root program means leaving today's session keys exposed in stored packet captures. The single highest-leverage defense available immediately in web hosting is moving public TLS 1.3 endpoints to hybrid post-quantum key exchange.

## What makes hosting quantum-safe in 2026

Cryptography breaks down into distinct primitives with very different quantum resilience, so evaluating **quantum-safe hosting** requires separating transport key exchange, symmetric data encryption, and certificate signatures:

- **Asymmetric key exchange (highest urgency today).** Classical Diffie-Hellman key agreements such as `X25519` and `ECDH P-256` protect the ephemeral shared secret negotiated during every TLS handshake. Shor's algorithm — or sharper classical/quantum attacks — targets the underlying discrete-logarithm problem retroactively on captured traffic. Pairing classical `X25519` with NIST FIPS 203 `ML-KEM-768` into hybrid **`X25519MLKEM768`** closes that recording risk right now.
- **Symmetric encryption and hashing (strong today).** Bulk TLS stream encryption (`TLS_AES_256_GCM_SHA384`) and encrypted data at rest (`AES-256-GCM`, `HKDF-SHA-256`, `HMAC-SHA-256`) rely on 256-bit keys and 256-bit digests. Grover's quantum search algorithm cuts effective symmetric brute-force strength roughly in half, leaving `AES-256` with a 128-bit security margin that remains strong under NIST and NSA CNSA 2.0 parameters.
- **Digital signatures and certificates (active only at connection time).** Leaf X.509 certificate signatures (`ECDSA P-256`) authenticate who operates a server *during* the live handshake. Unlike key exchange, forging a certificate signature cannot retroactively unlock TLS sessions recorded in 2026; an attacker would need real-time quantum factoring capability during an active man-in-the-middle interception.

<figure class="fig"><img src="/images/post-quantum-hndl-shield.png" alt="Comparison between classical X25519 key exchange alone and hybrid X25519MLKEM768 against harvest-now, decrypt-later attacks." width="1200" height="675" loading="lazy" decoding="async"><figcaption>Classical X25519 alone leaves recorded sessions exposed once a cryptanalytically relevant quantum computer exists; hybrid X25519MLKEM768 closes that gap in transit.</figcaption></figure>

## Mapping the six actions in PP-26-4956 to ohmyho.st

The December 2026 NSA and CISA cybersecurity sheet prioritizes six concrete steps for infrastructure operators and application owners. Because ohmyho.st runs customer workloads directly on Cloudflare Workers with managed Postgres and strict egress isolation rather than exposing unproxied origin VMs, the platform already satisfies the urgent network layers while keeping application responsibilities clear:

| NSA PP-26-4956 Action | Platform behavior on ohmyho.st | What you control in your app |
| --- | --- | --- |
| 1. Inventory cryptographic dependencies and flag non-CNSA 2.0 primitives | Core runtime, SDK, CLI, and managed [Postgres](https://docs.ohmyho.st/database) TLS paths are documented openly in [post-quantum docs](https://docs.ohmyho.st/post-quantum-security). | Audit third-party npm packages, custom JWT/signing helpers, and external API destinations in your repo. |
| 2. Move TLS services to TLS 1.3 with `X25519MLKEM768` key exchange | Enabled across `ohmyho.st`, `app.ohmyho.st`, `docs.ohmyho.st`, `db.ohmyho.st`, and every hosted app domain and custom hostname. | No app change needed for inbound traffic; confirm Node.js 24+ locally when tunneling with CLI `psql`. |
| 3. Stand up post-quantum CAs and roots of trust | TLS edge termination rides Cloudflare's CA trust chain as Merkle Tree Certificates (MTC) roll out in Q1 2027. | Keep OS, container, and Node/Python CA bundles updated so browsers and CLI clients accept upcoming roots. |
| 4. Migrate certificates, PKI, and code signing toward NIST PQC signatures (`ML-DSA`) | Platform certificates follow Cloudflare's automated MTC rollout in 2027; internal service tokens follow Access PQ-JWT schedules. | Plan `ML-DSA` or hash-based signature upgrades if your app signs long-lived downloadable artifacts or firmware. |
| 5. Update software and firmware natively for post-quantum support | Worker runtimes stay managed continuously; `cloudflared --post-quantum` is staged in [PGCF](https://github.com/amerged-org/cloudflare-postgres) for the next signed node image. | Keep `@amerged/ohmyhost-cli`, `@amerged/ohmyhost-sdk`, and your local Node.js runtime on current releases. |
| 6. Isolate or add compensating controls for systems that cannot upgrade yet | Worker-to-Postgres traffic stays inside same-account Cloudflare Service Bindings; database webhooks block internal targets and require HTTPS on port 443. | Restrict outbound `fetch()` calls to modern TLS 1.3 providers and isolate legacy third-party dependencies behind scoped secrets. |

## How ohmyho.st protects every hop from browser to Postgres

Securing only the landing page is not enough when full-stack applications open WebSockets, query relational databases, issue session cookies, and export backups. Each layer of the ohmyho.st runtime handles confidentiality and transport boundaries explicitly:

1. **Public web, API, and database edges.** Every TLS handshake terminating at `ohmyho.st`, `app.ohmyho.st`, `docs.ohmyho.st`, `db.ohmyho.st`, `.ohmyho.st` project previews, or custom customer domains negotiates TLS 1.3 with `X25519MLKEM768` and `TLS_AES_256_GCM_SHA384` whenever the connecting browser, mobile OS, or agent supports it. Classic-only clients still negotiate `TLS 1.3` with `X25519` cleanly so older webhooks never break.
2. **Worker-to-Postgres Service Bindings.** Applications deployed on ohmyho.st never dial managed Postgres across the public internet. Both application SQL queries and [Application Auth](https://docs.ohmyho.st/application-auth) requests traverse same-account Cloudflare Service Bindings (`PGCF_EDGE` and `PGCF_API`) into our open-source [PGCF](https://github.com/amerged-org/cloudflare-postgres) gateway, which authenticates upstream over isolated node sockets using `SCRAM-SHA-256` and rejects cleartext or MD5 upstream connections.
3. **Interactive `psql` and encrypted recovery exports.** When you connect interactively via `ohmyhost database psql`, the CLI opens an outbound WebSocket over TLS to `db.ohmyho.st` with strict root certificate verification (`rejectUnauthorized: true`). On **Node.js 24 or newer** (OpenSSL 3.5+), that CLI tunnel negotiates `X25519MLKEM768` automatically.
4. **Stored application secrets and database backups.** API keys managed via [Secrets](https://docs.ohmyho.st/secrets), tokens, and encrypted SQL exports use `AES-256-GCM`, `HKDF-SHA-256`, and `HMAC-SHA-256`, preserving full 128-bit post-quantum symmetric resistance at rest.
5. **Webhook SSRF and egress boundaries.** Database webhook deliveries strictly require `https://` on port `443` with no URL fragments and block `.workers.dev`, `.ohmyho.st`, `.omh.st`, loopback, link-local, and RFC 1918 private destinations.

## Honest cryptographic boundaries and the 2027 roadmap

Rather than stamping "post-quantum complete" across every screen, engineering teams deserve exact visibility into what runs today and what follows vendor and CA schedules in 2027:

- **PGCF node tunnels (`cloudflared --post-quantum`).** We audited both EU and US database clusters running `cloudflared 2026.11.1` over QUIC and added `--post-quantum` directly in the [cloudflare-postgres repository](https://github.com/amerged-org/cloudflare-postgres). Enabling that flag requires restarting the tunnel daemon, so it rolls out alongside the next signed node image update without dropping live customer database pools.
- **Public leaf certificate signatures.** Edge certificates remain `ECDSA P-256` today while browsers and operating systems prepare root support for compact post-quantum verification. Cloudflare's Merkle Tree Certificates (MTC) transition is scheduled for **Q1 2027**.
- **Zero Trust Access tokens and external third-party APIs.** Access PQ-JWT verification follows Cloudflare's **Q2 2027** rollout, and outbound `fetch()` requests from your Worker to external services (such as Stripe, Resend, GitHub, or upstream AI APIs) negotiate `X25519MLKEM768` automatically whenever the remote server supports hybrid PQ key exchange.

<figure class="fig"><img src="/images/post-quantum-roadmap-2026-2027.png" alt="Summary of active December 2026 post-quantum protections on ohmyho.st compared against staged node-image tunnel PQ and 2027 Cloudflare transitions." width="1200" height="675" loading="lazy" decoding="async"><figcaption>What runs in production today versus the staged PGCF tunnel update and 2027 certificate transitions.</figcaption></figure>

## How to verify quantum-safe TLS 1.3 yourself

You can confirm active post-quantum key exchange in seconds without trusting marketing copy. With OpenSSL 3.5 or newer (bundled with Node.js 24+ and current Homebrew/Linux builds), probe `db.ohmyho.st` or your own live `.ohmyho.st` application hostname:

```sh
echo | openssl s_client \
  -connect db.ohmyho.st:443 \
  -servername db.ohmyho.st \
  -groups X25519MLKEM768:X25519
```

Look for these three lines in the server handshake output:

```text
Protocol: TLSv1.3
Negotiated TLS1.3 group: X25519MLKEM768
Cipher: TLS_AES_256_GCM_SHA384
```

You can inspect the same negotiation inside Chrome or Edge: open **DevTools -> Security** on any deployed ohmyho.st app, reload once, and check the connection section for **TLS 1.3**, **`AES_256_GCM`**, and key exchange **`X25519MLKEM768`**. Follow the [quickstart](https://docs.ohmyho.st/quickstart) to ship a new app with this transport stack enabled automatically, or check the [framework guides](/frameworks/astro) and [pricing breakdown](/pricing/breakdown) when planning production workloads.

[Post-quantum security docs](https://docs.ohmyho.st/post-quantum-security) · [Postgres documentation](https://docs.ohmyho.st/database) · [Changelog](/changelog) · [Home](/)

## FAQ

### What is quantum-safe hosting and why did NSA and CISA warn about it in December 2026?

Quantum-safe hosting protects traffic and stored credentials using cryptography resistant to future quantum computers, starting with hybrid post-quantum TLS 1.3 key exchange (`X25519MLKEM768`). In December 2026, NSA, CISA, and ONCD published advisory [PP-26-4956](https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA_Immediate_Actions_Push_Toward_PQC.PDF) urging immediate action because cryptanalytic research increases the risk of harvest-now, decrypt-later traffic capture before CNSA 2.0 milestones begin in 2027.

### Does ohmyho.st protect against harvest-now, decrypt-later attacks today?

Yes. Every public endpoint on ohmyho.st — including `ohmyho.st`, `app.ohmyho.st`, `docs.ohmyho.st`, `db.ohmyho.st`, and every hosted customer domain — negotiates `TLS 1.3` with hybrid `X25519MLKEM768` (`X25519` + NIST `ML-KEM-768`) and `TLS_AES_256_GCM_SHA384`. Passive ciphertext recorded in transit today cannot be unlocked later by breaking classical elliptic-curve key exchange alone.

### Do I need to change code in my hosted app to enable X25519MLKEM768?

No application code change is needed. Inbound browser, API, and agent traffic inherits `X25519MLKEM768` at the Cloudflare edge automatically, and Worker-to-Postgres traffic stays inside Cloudflare Service Bindings. The only client-side upgrade recommended is running **Node.js 24 or newer** locally if you tunnel into databases interactively with `ohmyhost database psql`.

### Why are ohmyho.st X.509 leaf certificates still ECDSA P-256 until 2027?

Certificate signatures verify identity live during the TLS handshake rather than protecting recorded session keys retroactively, so passive packet recording cannot break past sessions by attacking a leaf certificate later. Switching web PKI signatures cleanly requires browser and CA root support for Merkle Tree Certificates (MTC), which Cloudflare begins deploying in Q1 2027 alongside NIST `ML-DSA` signature transitions.

### How can I verify X25519MLKEM768 on my own ohmyho.st domain?

Run `openssl s_client -connect <your-domain>:443 -servername <your-domain> -groups X25519MLKEM768:X25519` using OpenSSL 3.5 or newer and confirm `Negotiated TLS1.3 group: X25519MLKEM768` appears in the output. You can also open Chrome DevTools under the Security tab while visiting your deployed app to inspect the active key exchange group directly in the browser.