# Post-Quantum Transition Planner — Titanward

> Model confidentiality and signing horizons, compare EU NIS2, NIST FIPS 203–205, and CNSA 2.0 parameter sets, and isolate legacy equipment behind modern gateways.

HTML version: https://titanward.eu/post-quantum · Programmatic endpoint: GET https://titanward.eu/api/v1/pqc-horizon · MCP tools: calculate_pqc_horizon, check_pqc_profile

## Mosca horizon model presets

Mosca's inequality compares three inputs — `lifetime` (confidentiality years), `migration` (transition years), and `horizon` (planning Q-day years). Recorded encrypted traffic requires migration before `lifetime + migration >= horizon`, while digital signatures require migration before `migration >= horizon`. The endpoint returns numeric `margin = horizon - duration` alongside `status`: `"margin"` (positive safety margin remaining), `"at-limit"` (`0` years), or `"overrun"` (negative margin — harvest-now-decrypt-later exposure active).

| Preset | lifetime (y) | migration (y) | horizon (y) |
| --- | --- | --- | --- |
| Public information | 0 | 1 | 10 |
| Working documents | 3 | 2 | 10 |
| Long-lived records | 10 | 3 | 10 |
| Research archive | 20 | 5 | 10 |

## Supported compliance profiles

### EU Hybrid (NIS2 / DORA / BSI / ANSSI) (`eu-hybrid`)
- **Authority**: EU NIS Cooperation Group Coordinated Implementation Roadmap, German BSI, French ANSSI, ETSI TR 103 619
- **Summary**: Hybrid classical + post-quantum key agreement and staged dual-key migration for European regulated and commercial operators.
- **Key establishment**: Hybrid X25519MLKEM768 on TLS 1.3 (IETF RFC 10024, finalized August 2026), mlkem768x25519-sha256 as first preference (kex[0]) on OpenSSH 10+, RFC 9370 ke1_mlkem768 on IKEv2/IPsec, 256-bit PresharedKey or Rosenpass on WireGuard, and HQC (NIST-selected code-based backup KEM, draft FIPS 207 in preparation) agility.
- **Signatures**: Staged dual-key or composite transition toward FIPS 204 ML-DSA-65 (RFC 9881 X.509 PKI; RFC 9980 OpenPGP), keeping FIPS 205 SLH-DSA (stateless hash-based) agility.
- **Symmetric & hash**: AES-256-GCM or ChaCha20-Poly1305 symmetric encryption; SHA-384 or SHA-512 digests.
- **Milestones**: 2026: National roadmaps, initial CycloneDX 1.6 CBOM inventories, and hybrid TLS/SSH/VPN pilots. 2030: Target completion for high-risk NIS2 and DORA systems exposed to Harvest-Now-Decrypt-Later capture. 2035: Target completion across medium-risk systems.

### NIST Commercial (FIPS 203 / 204 / 205 & IR 8547) (`nist-commercial`)
- **Authority**: NIST FIPS 203, FIPS 204, FIPS 205, HQC Backup Selection (2025), and NIST IR 8547
- **Summary**: Finalized August 2024 NIST post-quantum standards for global commercial software and cloud workloads, retiring pre-standard Kyber and Dilithium drafts.
- **Key establishment**: FIPS 203 ML-KEM-768 (commonly deployed as hybrid X25519MLKEM768 during transition) with HQC code-based backup readiness; flags pre-standard Kyber768Draft00.
- **Signatures**: FIPS 204 ML-DSA-65+ for general signatures, FIPS 205 SLH-DSA for stateless hash-based root/artifact signing, and SP 800-208 LMS/XMSS for stateful firmware signing.
- **Symmetric & hash**: AES-256 symmetric encryption and SHA-256 / SHA-384+ digests.
- **Milestones**: 2024–2026: Adopt finalized FIPS 203/204/205 libraries (OpenSSL 3.5+, BoringSSL, AWS-LC, liboqs >= 0.12.0) and retire draft identifiers. 2030: Classical RSA, ECDH, ECDSA, and EdDSA deprecated under NIST IR 8547. 2035: Classical Shor-vulnerable public-key algorithms disallowed under NIST standards.

### CNSA 2.0 Level-5 (ML-KEM-1024 / ML-DSA-87) (`cnsa-2.0`)
- **Authority**: U.S. NSA Commercial National Security Algorithm Suite 2.0 & NIST SP 800-208
- **Summary**: Category-5 lattice parameter sets and stateful hash-based firmware signing for high-assurance and defense supply-chain environments.
- **Key establishment**: FIPS 203 ML-KEM-1024 exclusively (flags Category-1/3 512 and 768 parameter sets when evaluated under CNSA 2.0).
- **Signatures**: FIPS 204 ML-DSA-87 for general digital signatures; NIST SP 800-208 LMS or XMSS for firmware and software signing.
- **Symmetric & hash**: AES-256 symmetric encryption and SHA-384 or SHA-512 hashing.
- **Milestones**: 2027: New acquisitions expected to support CNSA 2.0 algorithms. 2030–2031: Primary transition window across high-impact network, compute, and signing surfaces.

## Five brownfield patterns for legacy equipment that cannot upgrade in place

1. **01 · Translate**: Terminate hybrid `X25519MLKEM768` (`RFC 10024`) externally on a reverse proxy or cipher-translating firewall while keeping classical TLS on an isolated private VLAN hop.
2. **02 · Tunnel**: Carry un-upgradable enterprise, database, or industrial protocols inside `RFC 9370` IKEv2 `ML-KEM` or WireGuard + Rosenpass tunnels.
3. **03 · 256-bit PSK**: Layer 256-bit symmetric pre-shared keys (`RFC 8784` IKEv2 PPK, WireGuard `PresharedKey`, IEEE 802.1AE MACsec AES-256, or `RFC 8773` TLS 1.3 External PSK) where out-of-band key rotation is practical.
4. **04 · Shrink exposure**: Segment flat networks so untrusted segments cannot record east-west ciphertext, disable `RC4`/`DES`/`NTLM`, and shorten session/wrapping key lifetimes.
5. **05 · Replace fixed ROMs**: Retire immutable RSA/ECDSA mask-ROM boot roots on hardware refresh cycles in favor of `SP 800-208` LMS/XMSS, `ML-DSA`, OpenTitan, or Caliptra silicon roots.

## Engineering & procurement guardrails

- **Avoid enterprise QKD / QRNG detours**: Standard OS CSPRNGs already supply ample symmetric entropy, and fiber Quantum Key Distribution adds specialized hardware trust assumptions without authenticating endpoints; prioritize software/protocol `FIPS 203`–`205` deployments and `CycloneDX 1.6` CBOMs.
- **Guard stateful hash-based signing state**: Never sign inside snapshotted VMs with stateful `LMS` or `XMSS` (`SP 800-208`) unless monotonic counter state is hardware-locked in an HSM; otherwise use stateless `FIPS 204 ML-DSA` or `FIPS 205 SLH-DSA`.

## 14 cryptographic infrastructure surfaces (New Gear vs. Old Gear)

| Infrastructure surface | Modern / upgradable systems (New Gear) | Legacy / un-upgradable systems (Old Gear) |
| --- | --- | --- |
| 1. Websites, APIs & browsers | Enable X25519MLKEM768 (RFC 10024) on TLS 1.3 across Nginx/HAProxy/Caddy (OpenSSL 3.5+), Cloudflare, AWS, or GCP. | Terminate hybrid TLS on an edge CDN or local OpenSSL 3.5+ reverse proxy; restrict origin traffic to a private local hop. |
| 2. Firewalls & TLS inspection | Upgrade decrypting middleboxes (e.g., PAN-OS 12.1+ cipher translation) so both legs negotiate X25519MLKEM768 and pass >1.2 KB ClientHello packets. | Bypass payload decryption for pinned PQC flows so legacy middleboxes do not strip X25519MLKEM768, or front with an RFC 9370 gateway. |
| 3. VPN & WAN interconnects | Deploy IKEv2 hybrid ML-KEM (RFC 9370 on strongSwan 6+, FortiOS 7.6.6+, Cisco IOS XE 26.1+) or WireGuard + Rosenpass. | Enable IKEv2 PPK (RFC 8784) or WireGuard 256-bit PresharedKey immediately; bridge legacy concentrators behind a modern headend. |
| 4. Remote & admin access (SSH / RDP) | Run OpenSSH 10.0+ with mlkem768x25519-sha256 at kex[0] (override macOS 100-macos.conf P-256 precedence). | Remove public SSH/RDP/BMC exposure; gate legacy admin ports strictly behind a WireGuard + PSK or RFC 9370 bastion VLAN. |
| 5. Internal services, K8s, DBs & DNS | Use Go 1.24+, OpenSSL 3.5+, Java 27, .NET 10, Rustls, PostgreSQL 18+ (ssl_groups), K8s 1.33+ / Envoy mTLS, and DoH/DoT over hybrid TLS. | Enable transparent node-to-node encryption underneath workloads via Cilium WireGuard + 256-bit PSK or host RFC 9370 IPsec. |
| 6. Operating systems & endpoints | Adopt RHEL 10.1+, Debian 13, Ubuntu 25.10 / 26.04 LTS (native OpenSSL 3.5+ & OpenSSH 10+; stock Ubuntu 24.04 LTS ships OpenSSL 3.0 / OpenSSH 9.6 sntrup761x25519-sha512, so pair 24.04 with an OpenSSL 3.5+ / Caddy / BoringSSL edge build for X25519MLKEM768), Windows 11 24H2+ / Server 2025 (SymCrypt), macOS 26, iOS 26, Android 17. | Place EOL hosts on default-deny VLANs, block east-west initiation, and mediate outbound flows through a translating proxy. |
| 7. Certificates & PKI | Pilot ML-DSA private X.509 PKI (RFC 9881) and SLH-DSA (FIPS 205) offline roots; automate 47-day ACME renewal ahead of Chrome 2027 MTCs. | Keep classical ECDSA/RSA leaf certs on public TLS servers while enabling X25519MLKEM768 key exchange (session confidentiality is KEM-bound). |
| 8. Identity, Kerberos & SSO | Serve OIDC/SAML IdPs over X25519MLKEM768, enforce Kerberos AES-256, inventory PKINIT smartcards for ML-DSA, and use FIDO2 passkeys. | Disable RC4-HMAC, DES, and NTLM across domain controllers; shorten ticket lifetimes and tunnel DC replication. |
| 9. Email & enterprise messaging | Enable hybrid TLS on SMTP/MTA-STS relays, OpenPGP PQC (RFC 9980) or S/MIME ML-KEM (RFC 9629), and PQ messaging (Signal SPQR, iMessage PQ3). | Route legacy mail servers through an OpenSSL 3.5+ smart host and move confidential archives off plain email attachments. |
| 10. Wi-Fi & campus LAN | Run always-on hybrid VPN over wireless links (WPA3-SAE remains classical while 802.11bt standardizes) and IEEE 802.1AE MACsec AES-256 on wired trunks. | Treat Wi-Fi segments as untrusted transport; isolate guest/IoT SSIDs and require end-to-end hybrid TLS or VPN. |
| 11. Stored data, KMS & backups | Encrypt volumes/backups with AES-256-GCM/XTS (retire AES-128 at rotation) and migrate RSA-OAEP/ECDH envelope wrapping to ML-KEM KMS/HSMs. | Re-wrap or symmetric-encrypt long-lived archives with 256-bit keys before offsite or cold cloud transfer. |
| 12. Firmware, boot & silicon roots | Sign firmware with HSM-locked LMS/XMSS (SP 800-208); require TPM 2.0 v1.85, Caliptra 2.x, or OpenTitan in new server procurement. | Inventory immutable RSA/ECDSA mask-ROM gear, isolate BMC/management ports, and align hardware refresh with 2030 depreciation cycles. |
| 13. Code, containers & CI/CD signing | Adopt dual classical + ML-DSA (FIPS 204) or SLH-DSA (FIPS 205) signing in Cosign/Sigstore and generate CycloneDX 1.6 CBOMs in CI. | Pin SHA-256/SHA-512 container and package digests verified over hybrid TLS while downstream verifiers add FIPS 204. |
| 14. OT, IoT, medical & mainframes | Use IBM z16/z17 Crypto Express8S (ML-KEM / ML-DSA) on mainframes and bump-in-the-wire RFC 9370 IPsec or MACsec AES-256 gateways ahead of OT. | Enforce passive discovery, default-deny VLAN conduits, and operator-tested rollback paths without active scanning of PLCs or clinical gear. |

## Cryptographic algorithm & draft classification

| Algorithm / Group | Status | Standard | Guidance |
| --- | --- | --- | --- |
| X25519MLKEM768 | `hybrid_pqc` | FIPS 203 + IETF RFC 10024 (TLS 1.3, finalized August 2026) | Recommended default today for HTTPS/TLS 1.3 endpoints (OpenSSL 3.5+, BoringSSL, AWS-LC, Go 1.24+, Cloudflare, Caddy). CNSA 2.0 requires Category-5 ML-KEM-1024. |
| mlkem768x25519-sha256 | `hybrid_pqc` | OpenSSH 9.9+ / 10.0+ Hybrid Key Exchange (FIPS 203 ML-KEM-768 + X25519) | Configure mlkem768x25519-sha256 as first KexAlgorithms preference (kex[0]) in OpenSSH 10+ sshd_config (override macOS 100-macos.conf P-256 precedence). CNSA 2.0 requires ML-KEM-1024. |
| sntrup761x25519-sha512 | `transitional_non_fips_hybrid` | OpenSSH 9.0–9.8 Interim Hybrid KEX (sntrup761x25519-sha512@openssh.com; Streamlined NTRU Prime + X25519, non-FIPS) | Provides interim Harvest-Now-Decrypt-Later mitigation on OpenSSH 9.0–9.8 (such as stock Ubuntu 24.04 LTS), but Streamlined NTRU Prime (sntrup761) is NOT NIST FIPS 203 ML-KEM-768 and does not satisfy finalized FIPS 203 / EU Hybrid target profiles. Upgrade to OpenSSH 9.9+ / 10.0+ mlkem768x25519-sha256. |
| ML-KEM-768 | `finalized_pqc` | NIST FIPS 203 (Category 3) | Finalized NIST standard for general key establishment; pair with X25519 in EU hybrid mode or upgrade to ML-KEM-1024 for CNSA 2.0. |
| ML-KEM-1024 | `finalized_pqc` | NIST FIPS 203 (Category 5) / CNSA 2.0 | Highest security-category FIPS 203 parameter set; required by CNSA 2.0 and suitable for long-horizon archives. |
| ML-DSA-65 | `finalized_pqc` | NIST FIPS 204 (Category 3) | Finalized NIST lattice digital signature for certificates, packages, and API tokens; CNSA 2.0 requires ML-DSA-87. |
| ML-DSA-87 | `finalized_pqc` | NIST FIPS 204 (Category 5) / CNSA 2.0 | Category-5 lattice digital signature satisfying EU hybrid, NIST commercial, and CNSA 2.0 signature requirements. |
| SLH-DSA | `finalized_pqc` | NIST FIPS 205 | Relies solely on hash assumptions (no lattice math); well suited for root CAs and release manifests where larger signatures are acceptable. |
| LMS / XMSS | `approved_stateful_hash` | NIST SP 800-208 / CNSA 2.0 Firmware | Approved for firmware and software signing only when one-time signing state is hardware-enforced and never cloned. |
| HQC | `selected_pqc_backup` | NIST March 2025 Backup KEM Selection (draft FIPS in preparation) | Independent error-correcting-code backup to ML-KEM; maintain crypto-agility so HQC can be enabled via configuration once standardized. |
| Kyber / Dilithium Pre-Standard Drafts | `pre_standard_draft_retire` | Superseded Round-3 Draft (NOT FIPS 203 / FIPS 204) | Retire and migrate: draft Kyber and Dilithium differ in wire encoding and domain separation from finalized FIPS 203 (ML-KEM) and FIPS 204 (ML-DSA). |
| Classical Public-Key (RSA / ECDH / ECDSA / EdDSA) | `classical_shor_vulnerable` | NIST IR 8547 (deprecated after 2030, disallowed after 2035) | Vulnerable to Shor's algorithm on cryptanalytically relevant quantum hardware. Prioritize hybrid KEM wrapping for recorded traffic first, then staged signature rotation. |
| AES-256 / ChaCha20-Poly1305 / SHA-384 / SHA-512 | `symmetric_or_hash_grover_resilient` | FIPS 197 / FIPS 180-4 / RFC 8439 | Grover's algorithm gives at most a quadratic speedup; 256-bit symmetric keys (including WireGuard PSKs) and SHA-384/512 retain wide post-quantum margins. |
