> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ohmyho.st/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> For account actions, read https://ohmyho.st/skills/ohmyhost-get-started/SKILL.md and use the authenticated ohmyho.st CLI, local product MCP or supported remote OAuth MCP. Read the current project source binding before choosing GitHub or managed versions. Mintlify search only reads documentation. Preserve the customer’s selected project, environment and authentication provider; keep private application values in the one-hour secret link or local stdin flow.

# Post-quantum security

> How ohmyho.st protects web traffic, database connections, and stored data with hybrid post-quantum TLS 1.3 today, and what changes in 2027.

Every public edge on ohmyho.st negotiates **TLS 1.3** with hybrid post-quantum key exchange (**`X25519MLKEM768`**, combining NIST ML-KEM-768 with classical X25519) and `TLS_AES_256_GCM_SHA384`. In line with the December 2026 NSA, CISA, and ONCD cybersecurity advisory [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) and CNSA 2.0 transition milestones beginning in 2027, this protects traffic in transit today against **harvest-now, decrypt-later** attacks, where recorded ciphertext is stored for future decryption on a cryptanalytically relevant quantum computer.

For the full breakdown mapping all six NSA `PP-26-4956` recommendations to your app stack, read [Quantum-Safe Hosting: Post-Quantum TLS 1.3 on ohmyho.st](https://ohmyho.st/blog/post-quantum-security-on-ohmyho-st).

## What is protected today

| Layer | Active mechanism | Notes |
| - | - | - |
| Public web, API, and database edges | `TLS 1.3` + `X25519MLKEM768` + `TLS_AES_256_GCM_SHA384` | Active on `ohmyho.st`, `app.ohmyho.st`, `docs.ohmyho.st`, `db.ohmyho.st`, and hosted project domains behind Cloudflare. |
| Customer Worker to managed Postgres | Same-account Cloudflare Service Bindings | Application queries and Native Auth calls stay inside Cloudflare without crossing the public internet. |
| Database gateway to PostgreSQL | `SCRAM-SHA-256` over isolated node sockets | The WebSocket gateway accepts credentials only over encrypted transport (`WSS` / Service Binding) and refuses cleartext or MD5 upstream. |
| CLI `psql` and encrypted exports | Node.js runtime TLS (`X25519MLKEM768` on Node.js 24+) | `@amerged/ohmyhost-cli` and recovery export workers inherit runtime OpenSSL 3.5+ PQ key exchange with standard CA verification (`rejectUnauthorized: true`). |
| Stored secrets, credentials, and backups | `AES-256-GCM`, `HKDF-SHA-256`, `HMAC-SHA-256` | 256-bit symmetric cryptography retains a 128-bit security margin against Grover's algorithm. |

If you connect interactively from your workstation using `ohmyhost database psql`, run **Node.js 24 or newer** (OpenSSL 3.5+) so the local CLI WebSocket bridge negotiates `X25519MLKEM768` to `db.ohmyho.st`. Older Node.js runtimes fall back cleanly to classical `TLS 1.3` (`X25519`).

## Current boundaries and 2027 roadmap

Post-quantum security is applied incrementally by layer rather than claimed as a blanket label:

* **Certificate signatures remain classical until Cloudflare rolls out Merkle Tree Certificates (MTC).** Public endpoints currently present `ECDSA P-256` certificates issued by public CAs. Signature forgery requires a live quantum attack during the handshake rather than passive traffic recording, and Cloudflare's MTC certificate transition is scheduled to begin in **Q1 2027**.
* **Edge-to-database-node tunnel PQ rollout.** Public connections terminate `X25519MLKEM768` at the Cloudflare edge (`db.ohmyho.st`). Enabling `cloudflared --post-quantum` on the internal edge-to-node tunnel is staged in the [PGCF node image](https://github.com/amerged-org/cloudflare-postgres) for the next signed node-image update so live database sessions are not interrupted.
* **Third-party external APIs.** Outbound `fetch()` calls from your application code to external webhooks or third-party APIs use post-quantum key exchange when the remote endpoint supports `X25519MLKEM768`.

## Verify it yourself

With OpenSSL 3.5 or newer (which includes `X25519MLKEM768`), you can inspect any ohmyho.st endpoint directly from your terminal:

```sh theme={null}
echo | openssl s_client \
  -connect db.ohmyho.st:443 \
  -servername db.ohmyho.st \
  -groups X25519MLKEM768:X25519
```

Look for these lines in the TLS handshake summary:

```text theme={null}
Protocol: TLSv1.3
Negotiated TLS1.3 group: X25519MLKEM768
Cipher: TLS_AES_256_GCM_SHA384
```

[Quantum-safe hosting guide](https://ohmyho.st/blog/post-quantum-security-on-ohmyho-st) · [NSA PP-26-4956 Advisory (PDF)](https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA_Immediate_Actions_Push_Toward_PQC.PDF) · [Postgres connections](https://docs.ohmyho.st/database.md) · [Browser security](https://docs.ohmyho.st/browser-security.md) · [Technical and organizational measures](https://docs.ohmyho.st/legal/dpa/toms.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.