Automating Post-Quantum Cryptography (PQC) checks in CI/CD prevents silent TLS regressions after CDN, ingress or load-balancer changes while keeping your CycloneDX 1.6 Cryptographic Bill of Materials (CBOM) current for NIST IR 8547, NSA CNSA 2.0, ASD/ACSC and EU DORA audits. Pair automated passive DNS and Certificate Transparency gates in your pipeline with live hybrid ML-KEM handshake verification after every ingress release.
- Who it is for
- DevSecOps, platform and security engineering teams tracking PQC migration milestones across customer-facing domains.
- What it covers
- A two-stage pipeline workflow combining passive DNS/CT crypto-agility gates with live RFC 10024 ML-KEM verification and CycloneDX 1.6 CBOM snapshots.
- Why it matters
- Ingress edits, WAF policy changes and CDN origin swaps routinely drop hybrid ML-KEM or re-enable TLS 1.2 downgrades without breaking unit tests.
- How to integrate
- Gate passive DNSSEC, MTA-STS and Certificate Transparency signals via API on every merge, and export dated CycloneDX 1.6 CBOMs after each release.
Test any domain for RFC 10024 hybrid ML-KEM key exchange, middlebox tolerance, email STARTTLS PQC and CycloneDX 1.6 CBOM export.
- Ingress or CDN changes open a pull request.
- Automated passive API checks confirm CT, DNSSEC and MTA-STS readiness.
- Live RFC 10024 verification confirms hybrid ML-KEM and archives a CycloneDX 1.6 CBOM.
Why PQC migrations regress silently without CI/CD gates
Turning on X25519MLKEM768 at a CDN or reverse proxy is only day one of a post-quantum transition. Within weeks, someone introduces a new subdomain bypassing the CDN, swaps a load-balancer TLS policy back to a legacy profile, or forgets to enable hybrid key exchange on the IPv6 listener or mail gateway.
Because standard browser traffic falls back transparently to classical X25519, functional smoke tests and synthetic uptime monitors still pass green while Harvest-Now-Decrypt-Later exposure quietly returns. Continuous external verification turns PQC readiness from a one-off spreadsheet into an enforced deployment invariant.
| PQC layer | What breaks silently | Verification signal | Recommended CI/CD action |
|---|---|---|---|
| Hybrid TLS 1.3 key exchange | Ingress or WAF profile drops X25519MLKEM768 (0x11ec) or serves obsolete Kyber draft (0x6399) | PQC Readiness Checker (live handshake) | Verify post-deploy & archive CycloneDX 1.6 CBOM |
| IPv4 / IPv6 & HTTP/3 parity | AAAA listener or QUIC UDP/443 runs older TLS library than IPv4 TCP/443 | PQC Readiness Checker (dual-stack + QUIC) | Flag asymmetric edge listeners before cutover |
| Certificate agility & CT logs | Legacy 397-day certs or undocumented shadow subdomains appear outside ACME automation | ct-logs API | Gate unexpected issuers or long-lived certs in PR |
| Email transport hardening | MX gateways drop MTA-STS enforcement or TLS-RPT reporting during mail migrations | mta-sts, tls-rpt, mx APIs | Fail build if MTA-STS drops from enforce |
| DNS trust anchor | DNSSEC validation breaks ahead of DANE/TLSA or future PQC DNSKEY rollovers | dnssec API | Fail DNS PR on broken DS/DNSKEY chain |
Automate passive PQC crypto-agility gates in GitHub Actions
Start every release pipeline with a zero-intrusion passive gate that queries our API for Certificate Transparency certificate lifetimes, DNSSEC signing posture, and email MTA-STS / TLS-RPT enforcement. Pair the job summary with a direct link to run the live PQC Readiness Checker and download the updated CycloneDX 1.6 CBOM.
name: PQC Crypto-Agility Gate
on:
pull_request:
paths: ['infra/**', 'dns/**', 'terraform/**']
schedule:
- cron: '0 2 * * 1'
jobs:
pqc-agility:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check passive PQC foundations (DNSSEC, MTA-STS, CT logs)
env:
MN_API_KEY: ${{ secrets.MN_API_KEY }}
TARGET_DOMAIN: example.com
run: node scripts/pqc-agility-gate.mjs// scripts/pqc-agility-gate.mjs - passive PQC crypto-agility check via /v1/
const API = 'https://api.middle.network/v1/tools';
const KEY = process.env.MN_API_KEY;
const domain = process.env.TARGET_DOMAIN || 'example.com';
const call = async (tool, input) => (await fetch(`${API}/${tool}`, {
method: 'POST',
headers: { Authorization: `Bearer ${KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({ input }),
})).json();
const [dnssec, mtaSts, tlsRpt, ct] = await Promise.all([
call('dnssec', { domain }),
call('mta-sts', { domain }),
call('tls-rpt', { domain }),
call('ct-logs', { domain }),
]);
const report = {
domain,
checkedAt: new Date().toISOString(),
dnssec: dnssec.status,
mtaStsMode: mtaSts.data?.policy?.mode || 'missing',
tlsRpt: tlsRpt.status,
recentCerts: (ct.data?.certificates || []).slice(0, 5).map((c) => ({
issuer: c.issuer, notAfter: c.notAfter,
})),
livePqcCheckUrl: `https://middle.network/ssl-tls/pqc-readiness/?q=${encodeURIComponent(domain)}`,
};
console.log(JSON.stringify(report, null, 2));
if (dnssec.status === 'fail' || report.mtaStsMode === 'none') {
console.error('PQC foundation gate failed: fix DNSSEC or MTA-STS before promoting.');
process.exit(1);
}# Quick passive check of MTA-STS and DNSSEC before a TLS cutover
curl -sS -X POST "https://api.middle.network/v1/tools/mta-sts" \
-H "Authorization: Bearer $MN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"domain":"example.com"}}' | jq '{status, mode: .data.policy.mode, plain: .summary.plain}'Verify both the CDN edge and the origin hop
A common trap during post-quantum rollouts is seeing X25519MLKEM768 pass externally because a managed CDN terminates public TLS, while the backhaul connection from CDN edge to your origin load balancer still negotiates classical ECDHE or TLS 1.2.
Our PQC Readiness Checker detects major managed CDNs automatically and prints provider-specific origin verification steps right inside the result panel. Track edge and origin upgrades separately in your CBOM inventory so neither leg is left exposed.
Why teams pair middle.network with PQC release pipelines
Standard SSL checkers only test classical TLS 1.3 and miss ~1.5 KB ClientHello middlebox drops, IPv6/QUIC listener mismatches and obsolete Kyber drafts. middle.network crafts wire-level RFC 10024 ML-KEM handshakes directly, generates CycloneDX 1.6 CBOM JSON in one click, and exposes passive DNS/CT crypto-agility checks over one consistent REST API.
Tests X25519MLKEM768 (0x11ec), SecP256r1MLKEM768, SecP384r1MLKEM1024 and obsolete draft 0x6399 independently of host TLS defaults.
Export structured external cryptographic assets and compliance framework mappings ready to archive beside every release SBOM.
Detects managed CDNs with tailored origin checklists and checks IPv4, IPv6, HTTP/3 QUIC and MX STARTTLS for asymmetric downgrades.
Questions people ask
Sources and further reading
- OWASP CycloneDX 1.6 Cryptographic Bill of Materials (CBOM)
- NIST IR 8547: Transition to Post-Quantum Cryptography Standards
- Australian Signals Directorate (ASD/ACSC): Planning for Post-Quantum Cryptography
- RFC 10024
- U.S. ONCD, NSA & CISA Joint Statement on Recent Advances in Cryptographic and Cybersecurity Capabilities (2 Dec 2026)
- NIST FIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism Standard (ML-KEM)
- European Commission & NIS Cooperation Group: Coordinated Implementation Roadmap for PQC
- Cloudflare Research: Post-Quantum Visibility (Edge vs. Origin Adoption Telemetry)
Written by the middle.network engineering team (Middle Enterprises Pty Ltd, ABN 88 633 909 412), who build and operate these tools. Last reviewed 2026-12-03.