Post-Quantum CryptographyCI/CDDevSecOpsSecurity

PQC Migrations: Will They Break Your Build Pipelines?

Discover why migrating to post-quantum cryptography will disrupt software build pipelines before 2028, and learn how to prepare your CI/CD systems for quantum-resistant algorithms.

·22 min read
blog cover image
Table of Contents

PQC migration fails first in CI/CD, dependency graphs, and certificate automation—not in cryptography theory.

01 THE PROBLEM

Post-quantum cryptography migration is the failure mode where an organization knows its current cryptographic stack is vulnerable to future quantum attacks, but discovers too late that the first systems to fail are its software delivery pipelines, not its production traffic.

That failure is already predictable.

The cryptographic part looks manageable on paper: swap vulnerable algorithms, rotate certificates, update TLS libraries, reissue keys, move on. The delivery reality is uglier. Larger keys and signatures push protocol messages over old limits. New libraries break deterministic builds. Certificate tooling assumes RSA or ECDSA everywhere. Hardware security modules lag standards. Mobile and embedded clients pin old assumptions into release trains you cannot accelerate.

By the time the board asks for a “post-quantum readiness plan,” the engineering problem is no longer “which NIST algorithm should we adopt?” It is “how many places in our build, release, test, artifact signing, and service mesh stacks assume yesterday’s crypto?”

That timeline is shorter than most teams think.

In August 2024, NIST finalized its first post-quantum encryption standards, including ML-KEM, derived from Kyber, and digital signature standards ML-DSA, derived from Dilithium, plus SLH-DSA based on SPHINCS+ in FIPS publications. That was the starting gun for vendors, not the finish line for operators. Once standards land, procurement, compliance, browser vendors, cloud platforms, and enterprise customers stop treating PQC as a lab topic and start treating it as a roadmap item.

The deadline pressure is also not hypothetical. In 2022, the U.S. National Security Memorandum 10 directed federal agencies toward quantum-resistant cryptography migration planning. In 2024, NIST’s standards moved the market from “wait and see” to “inventory and execute.” If you sell into regulated sectors, public sector buyers, or Fortune 500 security reviews, the question will arrive before your stack is ready.

The real risk before 2028 is not that a cryptographically relevant quantum computer suddenly appears and decrypts your traffic overnight.

The real risk is that your engineering organization is forced into a compressed migration window after customers, auditors, or platform vendors demand evidence of readiness—and your delivery machinery turns out to be the least adaptable part of your stack.

That is what breaks first:

  • CI runners pinned to old OpenSSL or BoringSSL versions
  • Container signing and provenance tooling tied to classical PKI assumptions
  • mTLS inside service meshes with opaque certificate issuance paths
  • Device fleets that cannot absorb larger handshake payloads
  • Build reproducibility that disappears when crypto providers change
  • Dependency graphs where one transitive package hard-codes unsupported algorithms
  • Mobile apps and SDKs that need multi-quarter release adoption before any server-side crypto switch is meaningful

The consequence is not “we are slightly behind on a security upgrade.”

The consequence is slower deploys, failed releases, broken interoperability, emergency exceptions, and a two-track cryptography estate where every team now carries both classical and post-quantum compatibility debt. That debt compounds exactly where high-performing teams are supposed to move fastest: the build pipeline.

There is a reason Cloudflare started experimenting publicly with post-quantum key agreement years before standards were finalized. Transport changes ripple through everything from protocol negotiation to latency budgets to client compatibility. Once you add software supply chain signing, internal service auth, CI secrets handling, and artifact verification, the blast radius extends far beyond edge TLS. AI-First Engineering: Revolutionizing Software Development

If you are a CTO or Staff+ engineer, the key idea is simple: post-quantum migration is not a future cryptography project. It is a near-term delivery systems project with cryptographic constraints.

And delivery systems fail long before cryptography theory does.

02 WHY IT HAPPENS

This happens because modern software organizations do not have “a cryptography stack.” They have dozens of cryptography decision points hidden inside platform defaults, vendor abstractions, and build-time assumptions.

That fragmentation is the root cause.

Most engineering leaders can tell you where TLS terminates at the edge. Far fewer can tell you:

  • which internal services rely on JWT libraries with fixed signature algorithm support
  • which CI jobs verify provenance with tools bound to current X.509 expectations
  • which package registries, artifact stores, and admission controllers require specific signature formats
  • which devices or clients enforce maximum certificate sizes or handshake limits
  • which third-party SDKs bundle crypto implementations instead of calling system libraries
  • which HSM-backed flows can be updated by config, and which need vendor firmware

That gap exists because cryptography in high-growth teams is usually delegated, not owned.

Platform owns ingress certificates. Security owns policies. Product teams import libraries. Mobile owns release cadence. SRE owns mTLS reliability. Procurement owns HSM vendors. Compliance owns evidence. Nobody owns the end-to-end migration path through the build and release system.

The result is a classic systems problem: local optimizations create a globally rigid stack.

Stripe has written extensively about building infrastructure that reduces integration complexity and centralizes operational concerns. The lesson applies here. The more cryptographic behavior is abstracted behind well-owned internal platforms, the easier migration becomes. The less standardized your internal interfaces are, the more every product team becomes a special case.

Cloudflare’s public PQC experiments exposed another structural issue: cryptography changes are not isolated to a library swap. They alter network behavior. In 2023, Cloudflare discussed the rollout of hybrid post-quantum key agreement for TLS, showing that adding quantum-safe key exchange had measurable but manageable overhead. That matters because infrastructure teams often assume “security changes are CPU problems.” In practice they are frequently compatibility and message-size problems first.

Build systems are especially vulnerable because they sit at the intersection of every bad property in distributed systems:

  • strict reproducibility requirements
  • pinned dependencies
  • older base images
  • brittle plugin ecosystems
  • opaque vendor integrations
  • mandatory verification steps
  • failure-intolerant automation

A production service can sometimes be patched with a compatibility layer.

A build pipeline cannot. If signature verification fails, artifacts do not ship. If provenance generation changes shape, deploy gates fail. If certificate issuance breaks in CI, release trains stop.

There is also an incentive problem.

Teams are rewarded for shipping product features and reducing visible incidents. They are not rewarded for spending two quarters removing cryptographic assumptions from build scripts, custom Terraform modules, bootstrap images, or internal CLIs. So they postpone the hardening work until an external forcing function appears.

DORA’s research has repeatedly shown that software delivery performance depends on reducing friction in build, test, and deployment systems. Forsgren, Humble, and Kim make the point clearly in Accelerate: high performance comes from architecture and process choices that enable safe change. PQC migration is the opposite of safe change if your delivery architecture is tightly coupled to cryptographic implementation details.

Another reason this happens: the industry keeps describing PQC migration as a certificate problem.

It is not.

It is an interface stability problem.

If your internal interfaces expose algorithm choices directly, every migration becomes a coordinated code-and-infra rewrite. If your interfaces expose capabilities—“encrypt,” “sign,” “verify,” “attest,” “establish secure channel”—then you can rotate the underlying implementation over time.

Most orgs are much closer to the first state than they think.

The build pipeline becomes the first casualty because it is where all these hidden assumptions converge:

  • code signing
  • SBOM generation
  • artifact attestation
  • registry authentication
  • secrets decryption
  • package verification
  • mTLS between runners and control planes
  • webhook authentication
  • deploy approvals and policy checks

Each one may be individually manageable.

Together, they create migration coupling across teams that do not normally release in lockstep.

That is why post-quantum migration looks like a security program in PowerPoint and feels like a platform rewrite in Jira.

03 WHAT MOST GET WRONG

The most common mistake is treating PQC migration like a perimeter TLS upgrade.

That is the wrong abstraction, and it produces the wrong roadmap.

The “TLS-first” plan usually looks like this:

  1. Wait for managed load balancers or CDN vendors to support post-quantum options.
  2. Turn on hybrid key exchange at the edge.
  3. Update security documentation.
  4. Declare the organization on a migration path.

This fails because edge TLS is the easiest part to change and the least representative of your actual crypto surface area.

Cloudflare can enable a hybrid key agreement mode for client traffic because Cloudflare owns the edge platform and can enforce consistency. Your company almost certainly cannot do the same across GitHub Actions runners, self-hosted build agents, mobile apps, internal gRPC traffic, artifact signing, and third-party SaaS callbacks in one motion.

The second mistake is assuming standards finalization means ecosystem readiness.

NIST can finalize ML-KEM and ML-DSA. That does not mean your cloud KMS, HSM vendor, service mesh, Java distribution, package manager, CI platform, mobile platform, and enterprise customer devices all support the same profiles on the same timeline.

They will not.

We have seen this movie before in smaller migrations. TLS 1.3 support took years to become boring across libraries, appliances, observability tools, and enterprise networks. Certificate automation improved the operational picture, but only after teams normalized ACME, central issuance flows, and internal ownership models. PQC is worse because key sizes, signature sizes, and implementation maturity all create compatibility edge cases at once.

The third mistake is thinking inventory means asset inventory.

It does not.

A CMDB-level inventory tells you where certificates or libraries exist. It does not tell you where algorithm assumptions are embedded in code paths, CI templates, policy engines, Terraform modules, sidecar proxies, admission webhooks, or partner integrations.

What you need is a cryptographic dependency graph, not a spreadsheet of hosts.

The fourth mistake is trying to “future-proof” by hard-switching too early.

That sounds contrarian, but premature standardization creates real operational risk. PQC support today often arrives through hybrid modes, limited library support, and uneven client compatibility. If you force a production-wide switch before your release and rollback mechanics are ready, you convert an important security migration into a reliability incident.

A real precedent for this broader pattern comes from certificate and trust-store outages. In September 2021, an expired root certificate in the Let’s Encrypt chain contributed to failures across older clients and systems that handled chain validation poorly. The lesson was not “certificate expiry is hard.” The lesson was that hidden trust assumptions in long-tail clients can cause cascading outages long after the “fix” is available.

PQC migrations will trigger the same class of failure, but at the build layer too.

Imagine these entirely plausible incidents:

  • Build agents cannot verify new artifact signatures because the verification toolchain in the base image is six months behind.
  • A mobile SDK ships larger certificates or handshake messages that trigger latent limits in proxies or embedded clients.
  • Internal mTLS certificates rotate to a hybrid chain and an old sidecar version in one cluster cannot parse the extension set.
  • Code signing throughput drops because your HSM path cannot handle the new algorithms at required concurrency.
  • SBOM attestation tooling fails because your policy engine only trusts classical signature algorithms.

None of these are cryptography research problems.

They are build and platform engineering problems.

The fifth mistake is assigning the project solely to security.

Security should set policy, prioritize risk, and own standards alignment. Security should not be the bottleneck for build-system changes, certificate issuance refactors, SDK release planning, or dependency remediation across every engineering team.

GitHub’s work on artifact attestation and supply-chain security has consistently emphasized that security controls must fit developer workflows, not sit outside them. The same principle applies here. If your migration plan adds manual review queues, exception forms, or centralized crypto gatekeeping, teams will route around it.

What most teams get wrong, then, is not urgency.

It is scope definition.

They think they are preparing to change cryptographic algorithms.

They are actually preparing to change the trust plumbing of their software factory.

04 THE FRAMEWORK

The approach that works is not “pick the right PQC algorithm and migrate.”

The approach that works is “decouple cryptography decisions from build and delivery paths before external deadlines compress your options.”

Use this seven-part framework.

1. Build a cryptographic dependency graph, not an asset list

Start with paths, not components.

Map every build-time and deploy-time flow that relies on cryptography:

  • source fetch and package verification
  • secrets decryption in CI
  • artifact signing
  • SBOM generation and attestation
  • container registry auth
  • admission control verification
  • deploy webhook verification
  • mTLS between CI agents and control planes
  • certificate issuance for internal services
  • code signing for mobile, desktop, and embedded artifacts

For each path, capture five fields:

  1. Algorithm assumptions: RSA, ECDSA, Ed25519, X25519, etc.
  2. Implementation owner: internal team, vendor, or unmanaged third party.
  3. Upgrade mechanism: config, library bump, image rebuild, firmware, vendor roadmap.
  4. Release coupling: can this change server-side only, or does it require client rollout?
  5. Failure blast radius: blocks deploys, blocks clients, degrades performance, or only affects low-risk traffic.

This is where most organizations discover they do not have one migration plan. They have fifteen.

The operator rule: anything that blocks artifact creation, verification, or deployment belongs in the first migration wave, regardless of whether it is internet-facing.

2. Separate edge migration from software factory migration

Treat these as two different programs with different success metrics.

Edge migration includes:
  • public TLS termination
  • external API gateways
  • CDN and WAF integrations
  • customer device compatibility
Software factory migration includes:
  • CI/CD
  • package and artifact signing
  • provenance and attestations
  • internal PKI
  • service-to-service auth
  • admin plane and machine identity

The software factory matters more in the 2025–2028 window because it determines whether you can change anything else safely.

This is not theoretical. GitHub, Google, and Sigstore have pushed the industry toward stronger software provenance because build systems are now part of the attack surface. A PQC migration that ignores provenance and artifact trust chains is incomplete the day it starts.

Use separate KPIs.

For edge:

  • percentage of inbound traffic on PQC-capable hybrid handshakes
  • client compatibility failure rate
  • p95 handshake latency delta

For software factory:

  • percentage of build and deploy paths abstracted from fixed algorithms
  • percentage of signing and verification tooling with tested PQC roadmap
  • median time to rotate cryptographic providers in CI base images
  • percentage of internal services using centrally managed machine identity

A useful benchmark comes from DORA’s four key metrics: lead time for changes, deployment frequency, change failure rate, and failed deployment recovery time. If your PQC plan worsens these materially for multiple quarters, your architecture is too coupled. Migration risk is now delivery risk.

3. Create a cryptographic abstraction layer where teams actually feel it

Do not let product teams choose signature or key exchange primitives directly unless they are building security infrastructure.

This is where high-leverage platform work pays off.

Stripe’s engineering culture has long favored well-defined internal APIs that absorb complexity centrally. The lesson for PQC is straightforward: create one or more internal services or SDK layers for common trust operations:

  • sign artifact
  • verify artifact
  • issue service cert
  • fetch machine identity
  • encrypt secret for environment
  • establish mTLS with approved policy
  • validate webhook source

This abstraction should expose policy and capability, not algorithm names.

That does not mean building your own cryptography.

It means standardizing how applications consume cryptography.

Cloudflare’s PQC rollouts were feasible because the company controlled a coherent edge platform. You need the equivalent coherence inside your software factory. If every team imports crypto libraries ad hoc, no migration plan will hold under schedule pressure.

The tradeoff is obvious: platform abstraction reduces local flexibility.

Take that tradeoff.

A little local inconvenience in 2025 is much cheaper than forty bespoke remediation projects in 2027.

4. Set hard thresholds for message size, handshake overhead, and certificate path limits

PQC migration fails silently when no one tests protocol and payload boundaries.

Run compatibility tests now for:

  • certificate chain size limits in ingress proxies and service meshes
  • maximum header and handshake sizes in load balancers
  • latency increase from hybrid key exchange on mobile and edge networks
  • CPU and memory overhead in signing and verification hot paths
  • HSM and KMS throughput under parallelized signing loads

Cloudflare’s public data on post-quantum experiments is instructive here because it showed overhead can be acceptable in production when carefully rolled out. But “acceptable” is not universal. Your internal gRPC mesh, mobile SDK, or IoT update path may react very differently.

Set concrete guardrails such as:

  • no build-signing path may add more than 10% to median artifact creation time without explicit SRE approval
  • no service mesh rollout proceeds until certificate chain size is tested against all supported sidecar versions
  • no client-visible handshake change ships without p95 latency measurements on constrained mobile networks
  • no cryptographic provider upgrade merges without deterministic rebuild verification on top 20 repos by release volume

Those are internal thresholds, not standards mandates.

You need them because migration projects fail when they remain “security work” instead of becoming observable engineering work.

5. Treat CI base images and runner fleets as tier-one migration targets

This is the most underappreciated step.

Your build fleet is where stale crypto libraries survive longest because teams optimize for reproducibility and low churn. That creates exactly the wrong environment for a multi-year cryptography transition.

Make CI images first-class managed artifacts.

For every runner image, track:

  • OpenSSL, BoringSSL, Java, Go, Rust, Node, Python crypto library versions
  • signing and verification tools
  • trust stores
  • package manager signature verification support
  • HSM/KMS client versions
  • SBOM and provenance tooling versions

Then enforce a freshness SLO.

A strong starting point is: 95% of production release jobs must run on runner images rebuilt in the last 30 days.

That threshold is not from a formal standard; it is a practitioner control that aligns with reducing security and compatibility drift. In high-performing engineering orgs, the pattern that emerges at scale is clear: the older your CI image fleet, the more “migration” turns into archaeology.

GitHub Actions, Buildkite, CircleCI, and self-hosted runners all have different operational shapes, but the principle is identical. If your runners are snowflakes, your PQC plan is already behind.

6. Force vendor answers now, in writing, by dependency class

Do not ask vendors whether they “support post-quantum cryptography.”

That question is too vague to be useful.

Ask by class:

  • Cloud KMS/HSM: Which NIST-standardized algorithms will you support, on what timeline, and in which APIs?
  • CDN/WAF/Load balancer: Do you support hybrid key exchange in TLS? Which client populations are excluded?
  • Service mesh: Can your certificate issuance and trust distribution handle larger key/signature formats? What versions are required?
  • Artifact signing/provenance: What is the roadmap for post-quantum-safe signatures or hybrid verification?
  • Mobile SDK / device fleet vendors: What maximum certificate and handshake sizes are tested on supported OS versions?
  • Identity providers: What is the roadmap for PQ-safe machine identity and token signing?

Procurement should be involved, but engineering must define the acceptance criteria.

HashiCorp is a useful reference point for this kind of infrastructure dependency thinking. Teams using Vault, Boundary, or Terraform rarely fail because a feature does not exist. They fail because operational assumptions between control planes, plugins, auth backends, and upgrade paths were never made explicit. PQC will amplify exactly that class of hidden dependency.

The tradeoff: pushing vendors early takes time and political capital.

Do it anyway.

Vendor ambiguity is one of the few risks that only gets worse the longer you wait.

7. Run one hybrid migration path end-to-end before broad rollout

Do not start with a company-wide mandate.

Start with one controlled slice that exercises the full software factory.

Pick a path with real business value but bounded blast radius. For example:

  • one external API domain behind your CDN
  • one internal service cluster with mTLS
  • one artifact signing and verification path for a non-critical service
  • one mobile app update flow with full telemetry

Success means more than “the crypto works.”

Success means all of this works together:

  • CI builds complete on time
  • artifacts sign and verify
  • deploy gates pass
  • rollback remains available
  • observability captures handshake and verification errors
  • support teams know how to identify compatibility failures
  • customer-facing latency remains within target

This is where a company like Vercel offers a useful architectural contrast. Platforms built around high automation, unified edge control, and opinionated deployment paths can roll out infrastructure changes faster because there are fewer local exceptions. Most mid-sized startups are less centralized than they think. Running an end-to-end hybrid path exposes the exception map quickly.

If the pilot cannot survive one quarterly upgrade cycle without bespoke fixes, you are not ready for a broad migration.

That answer is painful.

It is also cheap compared to discovering the same thing under customer deadline pressure.

05 STRATEGIC TAKEAWAY

The direct assertion is this: if your cryptographic choices are embedded in build scripts, CI images, certificate automation, and service-to-service defaults, post-quantum migration becomes a delivery performance problem before it becomes a security compliance problem. The organizations that move cleanly by 2028 will not be the ones that picked algorithms earliest; they will be the ones that removed cryptographic assumptions from their software factory fastest. If you do this work now, you buy optionality: vendor flexibility, cleaner audits, lower release risk, and fewer forced exceptions when enterprise customers start asking for roadmaps this quarter and evidence next year. If you do not, the cost shows up exactly where engineering leaders feel it most—longer lead time, higher change failure rate, and a backlog of “temporary” compatibility shims that become permanent platform debt.

06 IMPLEMENTATION ANGLE

Start with a 90-day platform-security sprint, not a multi-year “quantum initiative.”

In the first 30 days, produce the cryptographic dependency graph for build, deploy, artifact signing, internal PKI, and machine identity. In the next 30, establish ownership and freshness SLOs for CI base images, signing tools, and trust stores. In the final 30, run one pilot path end-to-end with measurable latency, reliability, and compatibility outputs. If you cannot point to one owner for build signing, one owner for internal PKI, and one owner for runner image hygiene, fix that before discussing algorithms.

The practical stack today is mostly about preparedness, not broad production cutover. Track NIST-standardized algorithms. Prefer vendor-supported hybrid modes where available. Standardize on centrally managed certificate issuance and machine identity rather than app-level crypto sprawl. Add compatibility tests for message size, chain length, and verification tooling to CI now, even if you are still fully classical in production. That is how you surface breakpoints while the schedule is still yours.

If your engineering org is growing fast, this is one of the places where a stronger platform team pays for itself. Amplify helps engineering teams scale, and this is the kind of cross-cutting migration where scaling clean ownership matters more than adding one more security tool.

07 FAQ

Q: Why will post-quantum cryptography migrations break build pipelines before production systems? A: Build pipelines are more brittle than production systems because they depend on deterministic verification, pinned base images, signing tools, trust stores, and artifact policies that fail closed. A production service can sometimes tolerate a compatibility shim, but a CI job cannot ship if signature verification or certificate issuance fails. This is why supply-chain initiatives from GitHub and Sigstore focus so heavily on build-time trust, not just runtime encryption. Q: What changed in 2024 that makes post-quantum migration urgent for engineering leaders? A: NIST finalized its first post-quantum cryptography standards in 2024, including ML-KEM for key establishment and ML-DSA and SLH-DSA for signatures. That shifted PQC from research to roadmap planning because vendors, regulated customers, and government buyers now have concrete standards to reference. For CTOs, the implication is immediate: you can no longer justify waiting on standardization before inventorying dependencies. Q: Is enabling post-quantum TLS at the edge enough to claim readiness? A: No. Edge TLS is only one slice of the cryptographic surface area, and usually the easiest one to change. Internal PKI, service mesh mTLS, artifact signing, provenance verification, CI secrets handling, and mobile or embedded client compatibility are often harder and more operationally risky than public ingress; Cloudflare’s PQC rollout work illustrates how even edge changes require careful compatibility management. Q: What is the most important first step in a post-quantum cryptography migration? A: The first step is building a cryptographic dependency graph for your software factory, not a general asset inventory. You need to know which build, signing, verification, certificate, and machine-identity paths are tied to fixed algorithms, who owns them, and whether they can be changed by config, library upgrade, or vendor action. Without that graph, every migration plan is just a certificate spreadsheet. Q: What metric should teams track first for post-quantum readiness? A: Track the percentage of release-critical CI jobs running on runner images rebuilt in the last 30 days, plus the percentage of signing and verification paths abstracted away from fixed algorithms. Those are leading indicators that your delivery system can absorb cryptographic change safely. DORA’s four key metrics—lead time, deployment frequency, change failure rate, and time to restore—should also be monitored because a bad PQC migration will degrade delivery performance before it improves security posture.

Enjoyed this article?

Share it with your network

LatAm Engineering Insights

Stay ahead of the curve

Weekly insights on hiring LatAm developers, salary trends, tech stack analysis, and exclusive job opportunities.

No spam, unsubscribe anytime. We respect your privacy.

Salary Insights

Real market data on LatAm developer salaries

Hiring Tips

Best practices for remote LatAm teams

Exclusive Roles

Early access to new job opportunities

Join 2,500+ CTOs, Engineering Managers, and Developers