Cosmosby

Post-Quantum Cryptography Readiness

Upgrade what's ready. Track what's next.

Inspect your public TLS endpoints in seconds, separating RFC 10024 hybrid upgrades you can ship today from WebPKI layers still waiting on CAs and browsers. Then use the open-source skill and Cosmos to automate discovery, CBOMs, migration PRs, and CI/CD verification across your repositories and PKI.

Assess your organization's domain

Read-only external TLS check across public subdomains. No credentials or repository access required.

Checks TLS 1.3 & RFC 10024 hybrid key exchangePDF & JSON export included
Evaluated against primary standards
NSA CSA PP-26-4956 (Dec 2026)NIST FIPS 203 (ML-KEM)NIST FIPS 204 (ML-DSA)RFC 10024 (Hybrid TLS 1.3)NIST IR 8547 & NCSC (2028–2035)

Readiness Report

External TLS Posture

Sample Assessment·Dec 5, 2026

harness.io

PermalinkAnalyze Deeper in Cosmos

Modern TLS (1.3)

100%

24 of 24 reachable · 1 needs validation

Quantum-Safe Transit

83%

20 of 24 using hybrid KEM

Actionable Today

4

Across 1 grouped fix

Waiting on CAs

24

Public WebPKI certs · deferred

What You Can Fix Today (4 endpoints)

Grouped by fix & environment

Enable RFC 10024 hybrid key exchange on 4 endpoints

P1Prod (assumed)

Enable X25519MLKEM768 (NIST ML-KEM-768 hybrid) on your CDN, ingress controller, or TLS terminator, then plan classical-fallback retirement once client telemetry permits.

harness.iowww.harness.ioappsec.harness.iodashboards.harness.io

Waiting on Industry Standards (24)

No action needed today

Public WebPKI only: Public CAs and browsers do not yet issue or trust production post-quantum website certificates. Maintain automated short-lived ACME renewals and track CA/Browser Forum timelines.

Private PKI & signing can move earlier: Internal CAs, service-mesh mTLS, SSH, and software/firmware signing do not wait on public browsers. Inventory their verifiers and roots of trust in Cosmos now.

View 24 public WebPKI certificates tracked for CA readiness
harness.iowww.harness.ioapp.harness.iodeveloper.harness.iodocs.harness.ioidp-static-assets.harness.ioidp.harness.iostatus.harness.ioai-spend-analytics.harness.ioapidocs.harness.ioappsec.harness.iocab.harness.iocd.harness.iocms.harness.iocommunity.harness.iocsc-prm.harness.iodashboards.harness.iodatainfra.harness.iodesign.harness.iodicp.harness.iodiscuss.harness.ioengineering.harness.ioflightdeck.harness.iogcr.harness.io
Why Post-Quantum Migration

What changes, what stays safe, and why rollout happens in phases.

Public-key cryptography (RSA, ECDH, ECDSA, Ed25519) secures TLS, SSH, certificates, and software signatures, and must transition to NIST post-quantum standards (FIPS 203 ML-KEM and FIPS 204 ML-DSA). Symmetric primitives like AES-256 and SHA-256 remain sound, while larger classical keys (RSA-3072, P-384) are only temporary stopgaps, not a post-quantum fix.

Why the internet can't flip a single switch: Payload Size vs. Standard Network Packet

Comparing classical X25519, NIST FIPS 203 hybrid key exchange, and NIST FIPS 204 digital signatures against a standard 1,500-byte Ethernet MTU.

Ethernet MTU: 1,500 bytes
Classical TLS Key Share (X25519)32 bytes · 2% of 1 MTU · fits easily in 1 packet
Hybrid PQ Key Share (X25519MLKEM768 · FIPS 203)1,216 bytes · 81% of 1 MTU · ready today (ClientHello + headers spans ~2 packets)
Post-Quantum Signature (ML-DSA-65 · FIPS 204)3,309 bytes · 2.2× 1 MTU per signature · full cert chain >10 KB
▲ 1,500 B single-packet Ethernet MTU
1. Data in Transit (TLS 1.3, SSH & Fallback Retirement)Actionable Now

Encrypted traffic recorded today can be decrypted later (Harvest Now, Decrypt Later). Upgrade listeners to TLS 1.3 with hybrid key exchange, enable PQ key agreement on SSH, and retire classical-only fallbacks once peer telemetry allows.

Technical reference

RFC 10024 standardizes X25519MLKEM768 (FIPS 203 ML-KEM-768 + X25519) in Go 1.24+, BoringSSL, and OpenSSL 3.5+; OpenSSH 9.9+/10.0+ adds mlkem768x25519-sha256 (RFC 10042). Per NSA CSA PP-26-4956, enabling hybrid support is step one, and removing non-PQC fallbacks and defaults is step two.

2. Network Packets & Serialization BudgetsEngineering Constraint

Post-quantum keys and signatures are significantly larger than classical elliptic curves. Handshakes that fit in a single Ethernet packet now span multiple segments, and fixed-size headers, cookies, or DB columns must be sized before rollout.

Technical reference

Standard Ethernet MTU is 1,500 bytes. An X25519MLKEM768 client key share is 1,216 bytes (~81% of one MTU, splitting ClientHello across ~2 packets), while one ML-DSA-65 signature is 3,309 bytes (2.2× MTU), so full PQ certificate chains exceed 10 KB.

3. Public WebPKI vs. Private PKI & Code SigningSplit Readiness

Public website certificates depend on CA and browser support, so keep short-lived ACME renewals in place. Private PKI, internal mTLS, container/package signing, and firmware roots of trust do not wait on public browsers. Inventory them and update verifiers first.

Technical reference

Digital signatures face future forgery rather than HNDL, but hardware and firmware verifiers stay in the field for 10+ years. Follow NSA CSA PP-26-4956, FIPS 204 (ML-DSA), FIPS 205 (SLH-DSA), and NIST SP 800-208 (stateful LMS/XMSS with strict state control) to upgrade verifiers before signers.

4. Application Code, Key Wrapping & DefaultsInventory & Migrate Now

AES-128/256, SHA-256, and HMAC are not broken by Shor's algorithm. Inside your repositories, prioritize asymmetric DEK wrapping (RSA-OAEP, ECIES), OIDC/JWT signing keys, pinned classical TLS/SSH curves, and replacing non-PQC library defaults.

Technical reference

Per NIST IR 8547, symmetric primitives with ≥128-bit classical security remain sound. Audit actual algorithm-selecting calls and installed library defaults. Larger classical keys (RSA-3072, P-384) are interim stopgaps, not a post-quantum target.

Dec 2026NSA CSA & NCSC

Immediate Transition & Agility

NSA PP-26-4956 and UK NCSC urge immediate inventory, TLS 1.3 hybrid rollout, firmware/PKI root planning, and removing non-PQC defaults.

2028UK NCSC Milestone

Complete Discovery & Plan

Complete full cryptographic asset discovery across code, PKI, dependencies, and vendors with an execution-ready migration roadmap.

2030–2031NIST IR 8547 / NCSC

Deprecation & Priority Cutoff

NIST deprecates quantum-vulnerable public-key standards after 2030; NCSC targets completion of highest-priority migrations by 2031.

2035NIST & NCSC Target

Full Ecosystem Transition

Classical RSA, ECDSA, and ECDH disallowed under NIST guidelines; complete transition across services, PKI, and products.

Want the full engineering deep dive on NSA CSA PP-26-4956, payload math, private vs. public PKI, and CI/CD guardrails?

Read the PQC Migration Guide

How Cosmos + Harness Run the Migration

External TLS is a config change. Put an AI software factory on the rest.

Migrating hundreds of repositories, private CAs, and signing keys by hand stalls after the first spreadsheet. Cosmos agents inspect real call sites, open clean pull requests, and loop with Harness CI/CD to verify every rollout and block regressions.

Mode: assessment-only
<run-dir>/evidence/infrastructure/tls-ssh.json
# Mode: assessment-only · Passive CT/DNS + wire handshake + auth-free SSH KEX
ingress.prod.internal:443 TLSv1.3 key_exchange: X25519 (classical_only)
bastion.prod.internal:22 SSH-2.0 kex: curve25519-sha256 (advisory_weak_curve)
legacy-partner.example:443 TLSv1.2 ECDHE-RSA-AES128-GCM -> migrate_now (P1)
old-campaign.example:443 NXDOMAIN -> routed to needs_validation (not a finding)
 
# Separate migration units preserved:
WI-001 Enable X25519MLKEM768 + mlkem768x25519-sha256 on edge & bastion [P1]
WI-004 Public WebPKI leaf ECDSA-P256 -> deferred (waiting on CA/browser roots)

Subagents correlate CT, DNS, Kubernetes Ingress, and SSH handshakes, keeping stale DNS records out of vulnerability counts and tracking fallback separately from certificates.

Run in Cosmos
01·Cosmos Lead & Subagents

Evidence-gated discovery & clean diffs

Fans out bounded read-only subagents across code, configs, PKI, and network endpoints. Stores <run-dir>/REPORT.md, cbom.json, and findings externally so target repositories only ever receive clean migration pull requests.

02·Engineering Owners

Explicit human gates at every boundary

Assessment-only is always the default. Creating branches/PRs, rotating keys, merging, or deploying to production requires explicit authorization. Agents never auto-merge or mutate live infrastructure.

03·Harness CI / STO / CD

Continuous verification & downgrade guardrails

Pre-merge pipeline checks block new PRs that reintroduce classical-only curves or non-PQC defaults. Post-deploy checks verify commit containment and live hybrid negotiation before marking work migrated.

Commit-Pinned Open-Source Benchmarks

Real repository audits: raw mentions vs. verified migration units.

Measured outputs from running pqc-migration-skill discovery, call-site verification, and CycloneDX 1.6 CBOM export on public Go codebases.

github.com/harness/gitness@24aa64f·Open-source Git server & developer environments (Go)

Files Scanned

6,942

Non-vendored repository files

Raw Crypto Mentions

2,450

111 NSA PP-26-4956 flag hits

Filtered by Subagents

2,448

999 test fixtures + 155 symmetric HS256 JWT calls + HTTP client & SHA-256 checksum matches

PQC Migration Units

2

Verified call-site findings

Regex flagged 155 JWT token-signing hits, but reading app/jwt/jwt.go:114 confirmed SigningMethodHS256 (symmetric HMAC-SHA256, unaffected by Shor's algorithm). Subagents kept it in cbom.json and isolated the actual SSH key-exchange and host-key migration units.

Enforce hybrid ML-KEM KEX floor on Gitspace container sshd

Migrate Now · P1

Container sshd config sets AuthorizedKeysFile without an explicit post-quantum KexAlgorithms preference (mlkem768x25519-sha256, RFC 10042).

app/gitspace/orchestrator/utils/script_templates/setup_ssh_server.sh:66

Embedded Git SSH server host key (RSA-4096) & user key verification

Deferred · P2

Generates 4,096-bit RSA host keys and validates RSA/ECDSA/Ed25519 user keys. Deferred until OpenSSH and golang.org/x/crypto/ssh standardize PQ SSH signatures.

ssh/server.go:459

JWT authentication uses symmetric SigningMethodHS256

CBOM Verified

Recorded in CycloneDX 1.6 CBOM as not quantum-vulnerable under NIST IR 8547 (no asymmetric token signature migration needed).

app/jwt/jwt.go:114
Migration PR preview · app/gitspace/orchestrator/utils/script_templates/setup_ssh_server.sh
--- a/app/gitspace/orchestrator/utils/script_templates/setup_ssh_server.sh
+++ b/app/gitspace/orchestrator/utils/script_templates/setup_ssh_server.sh
@@ -64,4 +64,5 @@
echo "PasswordAuthentication no" >> $config_file
echo "AuthorizedKeysFile .ssh/authorized_keys" >> $config_file
+echo "KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512" >> $config_file
Ready to Start

Run the open-source skill locally, or scale across your org in Cosmos.

Run pqc-migration-skill locally in Claude Code, Cursor, or Auggie, or connect your repositories and CI/CD pipelines directly in Cosmos.