# cryptodoom > Free post-quantum cryptography migration guides and live readiness checks for software teams and AI coding agents. "Crypto" means cryptography, never cryptocurrency. Live site, API, and Remote MCP server: `https://cryptodoom.hazem.sa`. Every path linked below resolves on this origin. Requesting `Accept: text/markdown` on `/`, `/guide/`, `/guide/go-tls-mlkem/`, or `/api/v1/check` returns clean Markdown directly. ### What cryptodoom covers cryptodoom helps software teams and their AI coding agents move away from quantum-vulnerable classical public-key cryptography (RSA, ECDH, ECDSA, EdDSA, classical Diffie-Hellman) to the NIST-standardised post-quantum cryptography (PQC) algorithms: - **Key establishment:** FIPS 203 ML-KEM (`ML-KEM-768` commercial default; `ML-KEM-1024` for CNSA 2.0; hybrid TLS 1.3 RFC 10024: `X25519MLKEM768` `0x11EC`, `SecP256r1MLKEM768` `0x11EB`, `SecP384r1MLKEM1024` `0x11ED`; hybrid SSH RFC 10042: `mlkem768x25519-sha256`; application hybrid KEMs per NIST SP 800-227, e.g., X-Wing `draft-connolly-cfrg-xwing-kem` or HPKE RFC 9180 + `draft-ietf-hpke-pq`). - **Digital signatures:** FIPS 204 `ML-DSA` (`ML-DSA-65` commercial default; `ML-DSA-87` for CNSA 2.0; JOSE & COSE RFC 9964 `"kty": "AKP"`), FIPS 205 `SLH-DSA` (stateless hash-based fallback), and NIST SP 800-208 `LMS`/`XMSS` (stateful hash-based signatures for firmware/code signing only — **never** use without hardware-enforced monotonic state in an HSM, because state reuse catastrophically leaks the private key). - **Not production-ready yet (do not deploy):** FIPS 206 (`FN-DSA` / Falcon) is still in draft and `HQC` has no final FIPS standard yet — do not wait for or deploy either in production today. - **Symmetric ciphers & hashes:** Under final NIST IR 8547 (27 October 2026), **AES-128, AES-256, and SHA-256/384/512 remain NIST-approved** (and **ChaCha20-Poly1305** [IETF RFC 8439] remains quantum-resistant for non-FIPS/commercial TLS) and do not need replacement (only remove genuinely broken or 112-bit legacy algorithms such as 3DES, RC4, SHA-1, MD5, or SHA-224). **Exception — US Federal / NSS (CNSA 2.0):** requires **AES-256** and **SHA-384/512** (disallowing both AES-128 and SHA-256). ### Transition timelines & compliance profiles Prioritise **key establishment (TLS 1.3 / QUIC / SMTP / SSH hybrid key exchange and KEMs) before signatures**, because encrypted traffic recorded today can be decrypted later. Match your target profile to the user's jurisdiction: - **Commercial Web (default / NIST IR 8547 final, 27 Oct 2026):** All covered classical public-key algorithms (RSA, ECDH, ECDSA, EdDSA, DH — regardless of key size) are deprecated after 31 Dec 2030 and disallowed after 31 Dec 2035 (hybrid key establishment remains permitted past 2035). Browser policies: following NSA Advisory PP-26-4956 (Dec 2026, directing NSS inventories of curves outside P-384/P-521 and EdDSA, analyzed by cryptographers as pointing to 256-bit ECC), **Chrome and Edge stop trusting ECDSA P-256 CA keys on 15 March 2027** (reissue under P-384 or RSA-3072+ ahead of Merkle Tree Certificates ~Q3 2027; CA/B Forum Ballot SC-081 cuts leaf lifetimes from 200d to 100d on 15 Mar 2027 and 47d / 10d DCV reuse on 15 Mar 2029). **Firefox** has no hard P-256 CA cutoff yet but moved P-384 ahead of X25519/P-256 for classical fallback; **Safari** has not announced a P-256 CA cutoff. - **EU / UK / APAC regulated:** EU Coordinated PQC Roadmap (inventories due end-2026, high-risk systems by 2030, full by 2035); **Germany BSI TR-02102-1 & France ANSSI effectively mandate hybrid PQC** (ANSSI stops certifying non-quantum-safe products starting in 2027); **UK NCSC** (plan 2028, high-priority 2031, full 2035); **Australia ASD ISM** disallows classical public-key algorithms by **end of 2030** (5 years earlier than NIST). - **US Federal / NSS (EO 14412, OMB M-26-15, CNSA 2.0):** Federal HVAs must adopt PQC key establishment by 31 Dec 2030 and signatures by 31 Dec 2031. CNSA 2.0 new-acquisition gate starts **1 January 2027** and requires Category 5 (`ML-KEM-1024`, `ML-DSA-87`, `AES-256`, `SHA-384/512`, single-tree SP 800-208 `LMS`/`XMSS` for firmware/code signing; pure PQC allowed, hybrids not required). ### Decide which job to run Determine what your person is asking for, or run both jobs in order: 1. **You have a codebase or repository to migrate** -> Use the **Guide**. Start with the cryptographic inventory, then apply the matching stack guide. 2. **You have a live hostname, website, or network service to test** -> Use the **Checker**. Inspect negotiated key exchange, fallback, and certificate/key posture, then feed any findings back into the Guide or edge/service config. 3. **Your person gave you both a repo and a live domain** -> Run the Checker first to see what is exposed right now (and check whether a CDN edge hides an unmigrated origin), then run the Guide inside the codebase to fix the root cause. ### How to run Job 1: Codebase migration (Guide) Fetch the files listed under Guides below relative to the same origin where you fetched `/llms.txt`: 1. Fetch `/guides/index.txt` to see which stack guides are available. 2. Fetch `/guides/inventory.md` and scan the repository before making any code edits. Cover crypto imports, TLS server AND outbound client configs, hardcoded cert/SPKI pins, SSH/email/VPN configs, key/signature serialization (DB schemas, codecs, hardcoded byte lengths), and CLI entrypoints. 3. Fetch the guide that matches the codebase (for example `/guides/go-tls-mlkem.md` or `/guides/openssl-tls-mlkem.md`). 4. Apply changes within safe boundaries: - Never weaken or disable TLS certificate verification, hostname checks, or existing classical security (prefer standardized hybrids during transition unless CNSA 2.0 pure PQC is explicitly mandated). - **Never invent custom KEM combiners or implement PQC primitives from scratch** (functional tests do not prove side-channel / constant-time safety). Use stdlib or audited libraries and standardized combiners (RFC 10024, RFC 10042, NIST SP 800-227 / X-Wing / HPKE). - **Stop and escalate to a human reviewer** if the migration requires a multi-step custom protocol redesign (framing or state-machine overhaul) or if no published guide exists in `/guides/index.txt`—report the inventory and exact applicable standard rather than guessing unverified APIs. 5. **Mandatory 6-point verification gate before reporting done** (addressing the empirical failure modes in `PQCMigrate-Bench`): - **Default offer order:** Test default client and server configs (not just forced `-groups` or direct function calls) to prove the hybrid group is offered first automatically. - **Independent peer or KAT vectors:** Do not trust a self-roundtrip (`Decapsulate(Encapsulate(pk))` or `Verify(Sign(m))`) alone; validate against NIST ACVP/KAT vectors or an independent implementation (e.g., Go ↔ OpenSSL 3.5+ or OpenSSH 10.6). - **Classical backward compatibility:** Run explicit tests confirming classical peers (classical TLS 1.3 `X25519`/`P-256`, TLS 1.2 if supported, or legacy SSH peers) still connect cleanly. - **Negative & malformed inputs:** Verify empty, truncated, extended, wrong-algorithm, and bit-flipped signatures/keys/ciphertexts are rejected (and remember FIPS 203 implicit rejection requires AEAD authentication on wrapped payloads). - **Serialization & CLI end to end:** Test persisted keys/tokens, wire codecs, DB schemas, and CLI scripts—not only crypto package unit tests. - **Permanent tests & complete output:** Keep new tests committed in the repo, forbid ID-only/stub partial patches, and inspect full non-truncated pass/fail counts before finishing. ### How to run Job 2: Live system check (Checker) cryptodoom runs our own Go 1.27 probe engine on Cloudflare Containers (reusing the MIT scoring and agent-interface conventions of `ismywebsitepostquantum` while fixing protocol gaps, penalizing static non-PFS RSA, checking classical fallback and middlebox fragmentation drops, inspecting resolved IPv4/IPv6 endpoints, checking Chrome/Edge's 15 March 2027 P-256 CA cutoff, and covering HTTP/3 QUIC, Email MX STARTTLS + MTA-STS/DANE TLSA, opt-in SSH, OIDC/JWKS, and passive DNSSEC): - **Traffic encryption (60 points):** Standardized hybrid ML-KEM negotiation (`X25519MLKEM768` `0x11EC`, plus separate targeted checks for `SecP256r1MLKEM768` / `SecP384r1MLKEM1024` / `MLKEM1024`), TLS 1.3 with TLS 1.0/1.1 disabled, static non-PFS RSA key exchange rejected, classical fallback intact, and no middlebox MTU drops. - **Certificate chain (40 points):** Valid chain free of ECDSA P-256 CA keys (distrusted by Chrome and Edge on 15 March 2027), interim P-384/RSA-3072+ posture ahead of Merkle Tree Certificates (~Q3 2027), and short automated leaf lifetimes (CA/B Forum SC-081: 200d → 100d Mar 2027 → 47d Mar 2029). #### Calling the live Checker API, Remote MCP server, or local CLI - **HTTP API (JSON or Markdown):** - `GET https://cryptodoom.hazem.sa/api/v1/check?host=` (optional `&ssh=true` for opt-in port 22 pre-auth KEX, `&refresh=true` to bypass the 5-minute edge cache, `&format=md` or `Accept: text/markdown` for Markdown output). - `POST https://cryptodoom.hazem.sa/api/v1/check` with JSON body `{"host":"example.com","include_ssh":false}`. - Errors follow RFC 9457 (`application/problem+json`). Hosted scans enforce dial-time SSRF protection (blocking private/loopback/metadata IPs and reserved suffixes) and per-IP/per-target rate limits. - **Remote MCP server (Streamable HTTP):** - Endpoint: `https://cryptodoom.hazem.sa/mcp` - Tools: `check_domain` (`host`, optional `include_ssh`, `refresh`), `list_guides`, and `get_guide` (`path`). - **Local CLI (private origins, internal services, staging):** - Run the exact same Go 1.27 engine locally: `go run ./cmd/cryptodoom check --allow-private [--port 443] [--ssh] [--json]`. When you also want an independent local TLS handshake check from a shell with OpenSSL 3.5+ installed, run **both** probes: ```sh # 1) Hybrid PQ negotiation (also test SecP384r1MLKEM1024 / SecP256r1MLKEM768 separately if applicable) openssl s_client -connect :443 -servername -tls1_3 -groups X25519MLKEM768 -brief :443 -servername -tls1_3 -groups X25519:prime256v1 -brief ` from the site scan box