DuoKey
Resources
Article

What Is Crypto Agility? Policy, Platform and How to Measure It (2026 Guide)

Crypto agility explained: NIST's definition, a ready-to-adapt crypto agility policy, what a crypto agility platform must do, KPIs and a 5-level maturity model.

DuoKey Team··17 min read

Crypto agility (cryptographic agility) is an organization's ability to replace and adapt the cryptographic algorithms, keys and parameters in its protocols, applications, hardware and infrastructure without breaking security or interrupting operations. In practice it means you know where every algorithm is used, applications ask for cryptography by policy rather than hard-coding it, and changing an algorithm across the estate is a planned, measured change, not a multi-year rewrite.

The business problem: every organization has to replace RSA and elliptic-curve cryptography with post-quantum algorithms, and NIST's draft transition plan puts a 2035 end date on the quantum-vulnerable ones. Touching thousands of applications, certificates and devices by hand won't get there in time. Switching algorithms by changing a policy will.

This guide gives the NIST definition, the five building blocks, and three working tools: a crypto agility policy outline with example rules, a platform capability checklist, and KPIs with a five-level maturity model.


Table of Contents

  1. What Is Crypto Agility?
  2. Why Crypto Agility Matters Now
  3. The Five Building Blocks of Crypto Agility
  4. Crypto Agility Policy: Template Outline and Example Rules
  5. What a Crypto Agility Platform Must Do
  6. How to Measure Crypto Agility: Recommended KPIs
  7. Crypto Agility Maturity Model (Levels 1-5)
  8. How DuoKey Approaches Crypto Agility
  9. FAQ

What Is Crypto Agility?

The reference definition comes from NIST. Its Cybersecurity White Paper 39, Considerations for Achieving Crypto Agility: Strategies and Practices, was first published as final on 19 December 2025. The current version, CSWP 39 upd1, includes updates as of 29 June 2026 and supersedes the December 2025 release. (The March 2025 draft was titled Considerations for Achieving Cryptographic Agility, which is why both spellings circulate.) Its abstract opens:

"Cryptographic (crypto) agility refers to the capabilities needed to replace and adapt cryptographic algorithms in protocols, applications, software, hardware, firmware, and infrastructures while preserving security and ongoing operations."

Note the plural "capabilities": crypto agility spans inventory, architecture, process and tooling, not one product. "Replace and adapt" covers both swapping RSA for ML-DSA and changing parameters or hybrid combinations. And a change that needs an outage, or leaves a downgrade path open, doesn't meet "preserving security and ongoing operations".


Why Crypto Agility Matters Now

The post-quantum deadline has dates

NIST IR 8547, Transition to Post-Quantum Cryptography Standards, was published as an initial public draft on 12 November 2024 and is still marked as a draft on csrc.nist.gov. Its proposed timeline for quantum-vulnerable digital signatures (RSA, ECDSA, EdDSA) and key establishment (finite-field and elliptic-curve Diffie-Hellman and MQV, RSA):

Security strengthProposed status
112 bits (e.g. RSA-2048)Deprecated after 2030, disallowed after 2035
128 bits and above (e.g. ECDSA P-256, RSA-3072)Disallowed after 2035

The draft aligns with National Security Memorandum 10, which sets 2035 as the primary target year. Treat the dates as a planning baseline, not as final. Either way, nine years is short when algorithms are compiled into applications and burned into device firmware.

Data encrypted today with RSA or ECDH key exchange can also be recorded now and decrypted later: see store now, decrypt later.

Post-quantum won't be the last change

PQC implementations will get patches, parameters may move, and hybrid combinations will eventually give way to PQC-only. Crypto agility is what turns the next change into a routine instead of a crisis.

Regulators ask for the capability, not just the algorithm

Regulators ask for governed, reviewable cryptography rather than a specific algorithm:

The common thread: an auditor will ask how you know what cryptography you run, who decides what's allowed, and how fast you can change it. Those three questions are crypto agility.


The Five Building Blocks of Crypto Agility

1. Inventory (CBOM)

You can't replace what you can't find. The inventory records each certificate, key, algorithm, library and endpoint, its owner and the data it protects; in machine-readable form it's a cryptography bill of materials (see our CBOM guide). It has to be refreshed continuously, not built once.

2. Abstraction layer

The architectural core. If an application calls RSA_sign() directly, every algorithm change means a code change, rebuild and redeploy. If it asks a service to "sign this customer record" and the algorithm comes from central policy, the change happens in one place. The abstraction can be a crypto service API, a KMS or HSM interface (PKCS#11, KMIP), a TLS gateway, or a CA that issues the new algorithm on renewal.

3. Policy

A written, versioned policy states which algorithms are approved for which data classes and purposes, what the hybrid posture is, what triggers a deprecation and how fast keys must rotate. The policy is what an auditor reads. In an agile estate, it's also what the abstraction layer executes.

4. Automation

Certificate issuance and renewal (ACME, EST, SCEP, CMP), key rotation, deployment and remediation tickets must run without manual steps. Manual work doesn't scale to a migration.

5. Testing

Larger post-quantum keys, clients that don't understand ML-DSA and middleboxes that drop large handshakes all break things. Simulation, staged rollout and rollback are part of agility, not an extra.


Crypto Agility Policy: Template Outline and Example Rules

A crypto agility policy is the governance document that defines which cryptography is allowed, who owns it, and how and how fast it changes. Use the outline below as a starting point. The example rules are illustrative; set the values to match your risk appetite, your regulators and your vendors' support.

Policy outline

  1. Purpose and scope: systems, third parties, data classes.
  2. Roles and ownership: policy owner, crypto review board, asset owners.
  3. Approved algorithms and parameters by purpose.
  4. Post-quantum and hybrid posture per data class.
  5. Inventory requirements and refresh frequency.
  6. Architecture requirements: abstraction, no hard-coded algorithms.
  7. Key and certificate lifecycle: custody, rotation, revocation.
  8. Deprecation process: triggers and sunset dates.
  9. Change and testing: simulation, staged rollout, rollback.
  10. Exceptions: approval, compensating controls, expiry.
  11. Metrics and review cadence.
  12. References: NIST, BSI and sector guidance you align to.

Example rules

SectionExample rule (adapt values to your context)
Approved algorithmsNew signatures use ML-DSA-65 or a hybrid ML-DSA-65 + ECDSA P-256 composite; new key establishment uses ML-KEM in a hybrid with a classical group where the protocol supports it; symmetric encryption uses AES-256.
Hybrid postureData with confidentiality needs beyond 2035 (customer PII, long-term contracts) defaults to hybrid; internal systems where you control both ends may move to pqc_only; legacy interfaces stay classical only under a recorded exception.
ProhibitedNo new RSA or ECC keys below 112-bit security strength; no SHA-1 signatures; no 3DES or RC4.
Deprecation triggersDeprecation starts when NIST, BSI or a national authority deprecates an algorithm, a practical attack is published, or vendor support ends; a sunset date follows within 30 days and new use stops immediately.
Rotation SLAsTLS certificates renewed automatically before expiry; data-encryption keys rotated at least yearly; a key suspected of compromise is revoked and replaced within 24 hours.
OwnershipEvery key and certificate has a named owner and an associated application in the inventory; assets without an owner are flagged within 7 days.
AbstractionNew applications must request cryptography through the approved crypto service or KMS interface; direct use of an algorithm in code requires an exception.
Exceptions and reviewExceptions last at most 12 months, are approved by the crypto review board and recorded in the inventory; the policy is reviewed yearly and on every deprecation trigger.

What a Crypto Agility Platform Must Do

A crypto agility platform turns the policy into running controls: it finds cryptography, decides what's allowed, enforces it through an abstraction layer and proves it to auditors. Evaluate capabilities, not labels.

CapabilityWhat to checkWhy it matters
DiscoveryCertificates, keys and keystores on hosts; cloud KMS inventories; TLS endpoints; algorithm and key size detectionAn inventory you don't have to build by hand
Risk scoringPer-asset quantum and classical risk; an aggregate readiness scoreLets you prioritize instead of migrating everything at once
Central policyAlgorithms resolved from a policy by data class and purpose, with versioningOne place to change; one document to audit
PQC and hybrid supportML-KEM, ML-DSA, SLH-DSA, hybrid composites; classical, hybrid and PQC-only posturesThe algorithm change you are actually preparing for
Abstraction for applicationsAPI or SDK where code declares intent rather than an algorithmAlgorithm changes without code changes
Backend independencePKCS#11 and KMIP; HSMs, cloud KMS, open-source vaultsAvoids replacing one lock-in with another
Certificate automationACME, EST, SCEP, CMP; PQC and hybrid CAs; deployment connectorsMost algorithm changes reach servers through certificates
Simulation"What breaks if we change this policy?" before rolloutPreserves ongoing operations, as NIST's definition requires
Remediation workflowTickets or pull requests to owners; ITSM integration; human approvalTurns findings into changes
Audit trailTamper-evident log of policy changes and key operationsShows what changed, when and who approved it

A demo that only covers discovery shows an inventory tool; one that only covers key storage shows a KMS. A crypto agility platform closes the loop from discovery to an enforced change.


The KPIs below are recommended metrics for your own programme, not benchmarks. Take a baseline now and track the trend quarterly.

KPIDefinitionHow to measureDirection
Time to replace an algorithm across the estateElapsed time from a deprecation decision to the last production use removedRun a drill on one algorithm or one data class and record start and end datesLower is better; this is the headline metric
% of assets inventoriedDiscovered cryptographic assets with full inventory records / estimated totalCompare discovery coverage (hosts, cloud accounts, endpoints) with the CMDBHigher; aim for full coverage of production
% of keys and certificates with an ownerAssets with a named owner and application / all inventoried assetsInventory queryHigher; orphaned keys block migration
% of services behind an abstraction layerServices that get algorithms from policy (crypto API, KMS, gateway) / all services using cryptographyArchitecture review and code scanningHigher; the leading indicator of future speed
Mean time to rotateAverage time to rotate a key or reissue a certificate once a rotation is requiredTicket or automation timestampsLower

The first KPI answers the board's question: "if we had to replace this algorithm tomorrow, how long would it take?" The others are levers on that number.


Crypto Agility Maturity Model (Levels 1-5)

Use it to set a current and target level per business unit; most organizations are uneven, such as level 3 for TLS certificates and level 1 for application signing.

LevelNameInventoryArchitecturePolicy and governanceChange capability
1Ad hocNone, or partial spreadsheetsAlgorithms hard-coded in applications and devicesNo cryptography policy, or one that's out of dateAlgorithm changes are bespoke projects measured in years
2AwareOne-off discovery scan; known gapsSome certificates automated; most code still hard-codedWritten policy listing approved algorithmsChanges are planned per system; owners often unknown
3DefinedContinuous discovery; CBOM for critical systemsNew applications use a crypto service or KMS; ACME/EST for certificatesPolicy with deprecation triggers, rotation SLAs and an exception processMigration roadmap with dates; KPIs baselined
4ManagedCBOM for the whole estate, with owners and data classesMost services behind abstraction; PQC and hybrid available in productionPolicy enforced by tooling; regulatory mapping; regular reviewsPolicy changes simulated and rolled out in stages; time to replace measured
5AgileReal-time inventory with drift alertsAlgorithms resolved at runtime from policy; backend independentPolicy as code, versioned and auditedAn algorithm switch is a reviewed policy change with no code change; remediation is automated with human approval

Moving from level 2 to 3 is mostly about process and inventory. Moving from 3 to 5 is mostly about architecture: getting algorithms out of application code.


How DuoKey Approaches Crypto Agility

DuoKey's approach maps onto the building blocks above. The facts below come from DuoKey's product documentation.

Discover, score, simulate, remediate: Cryptographic Posture Management

DuoKey's cryptographic posture management runs a continuous loop: discover → score → simulate → remediate. Discovery covers certificate and key files, keystores (including the Windows certificate store and TPM), AWS, Azure and Google Cloud KMS inventories, TLS domains and Cockpit-managed vaults. Findings get a P1-P4 risk score, each scan a Quantum Readiness Score (0-100), and the output is a living CBOM with drift alerts. Simulation reports show the effect of a change before it's made; remediation pull requests are drafted by an agent and approved by a human, with ServiceNow sync and mapping to DORA, NIS2, FINMA 05/2026, NIST IR 8547 and CNSA 2.0. The free Quantum Readiness Score is a starting point that needs no access to internal systems.

Intent, then policy, then algorithm: the Crypto Agility Plane SDK

The Crypto Agility Plane (CAP) is DuoKey's abstraction layer. Developers declare what they protect and why, for example a PII data class with a sign purpose, not which algorithm to use. A central tenant policy resolves the algorithm, the post-quantum posture, the key reference and the backend at runtime:

Developer declaresPolicy postureResolved algorithm (example)
PII + signhybridhybrid-ml-dsa65-ecdsa-p256
PII + signpqc_onlyml-dsa65
PII + signclassicalclassical algorithm set by the policy

The three postures are classical, hybrid and pqc_only, with hybrid post-quantum (ML-KEM, ML-DSA) available out of the box. Moving to PQC-only is a policy edit: application code doesn't change, and deprecating a cipher needs no recompile. That's the architecture column of level 5 in the maturity model, for the services that use CAP.

CAP is available today on DuoKey Cockpit through a REST API and reference clients for Java/Spring Boot and .NET/EF Core, plus an AI/MCP control plane. Packaged SDKs and annotations such as @Protect are on the roadmap. CAP holds no key material.

Backend independence: Cockpit vaults

DuoKey Cockpit is one console and API over software, MPC, HSM and cloud KMS backends. Through PKCS#11 and KMIP, CAP works with Securosys HSMs, Azure Key Vault, AWS KMS, Google Cloud KMS, HashiCorp Vault and OpenBao. With MPC, keys are split so no single host holds a complete key. Cockpit keeps a cryptographically chained audit log, with RBAC, ABAC and tenant isolation.

Certificates: where most algorithm changes land

DuoKey certificate management issues RSA, EC, ML-DSA (FIPS 204), SLH-DSA (FIPS 205) and hybrid composite ML-DSA-65 + ECDSA-P256 certificates from vault-signed CAs over ACME, EST, SCEP and CMP. DuoKey's documentation recommends PQC where you control both ends and the hybrid composite where you must interoperate with classical relying parties, since not every client understands ML-DSA or SLH-DSA yet.

For AI agents that request keys and sign on their own, see agentic crypto agility.


FAQ

Q: What is crypto agility?

Crypto agility is the ability to replace and adapt cryptographic algorithms in protocols, applications, software, hardware, firmware and infrastructure while preserving security and ongoing operations. That's NIST's definition in CSWP 39. In practice it rests on an inventory, an abstraction layer, a policy, automation and testing.

Q: What is a crypto agility policy?

It's the governance document that states which algorithms are approved for which data classes and purposes, the post-quantum and hybrid posture, what triggers a deprecation, rotation SLAs, ownership of keys and certificates, and how exceptions are approved and expire. In an agile estate, the same policy is also executed by tooling, not just read by auditors.

Q: What is a crypto agility platform?

It's the tooling that discovers cryptographic assets, scores their risk, resolves algorithms from a central policy through an abstraction layer, automates certificate and key changes, simulates changes before rollout, and keeps an audit trail. If a product only covers discovery or only key storage, it covers part of the problem, not the whole loop.

Q: How do you measure crypto agility?

The headline metric is the time to replace an algorithm across the estate, from decision to last production use removed. Supporting KPIs are the percentage of assets inventoried, the percentage of keys and certificates with an owner, the percentage of services behind an abstraction layer and mean time to rotate.

Q: Does NIS2 require crypto agility?

Not under that name for every entity. The NIS2 Directive requires policies and procedures on the use of cryptography. For the specific entity types covered by Implementing Regulation (EU) 2024/2690, the Annex adds a dedicated cryptography section with a documented policy and periodic review, which in practice requires the ability to change algorithms. Other entities should check their national transposition. Details are in our NIS2 crypto agility article.

Q: When do RSA and ECC have to be replaced?

NIST's draft transition plan (IR 8547, initial public draft, November 2024) proposes deprecating 112-bit-strength quantum-vulnerable algorithms such as RSA-2048 after 2030 and disallowing all quantum-vulnerable signature and key establishment algorithms after 2035. Sector regulators may set earlier milestones; see our PQC migration roadmap guide.

Q: Is hybrid cryptography part of crypto agility?

Yes. A hybrid posture combines a classical and a post-quantum algorithm, adding quantum resistance while staying interoperable with systems that don't support PQC yet. An agile estate moves a data class from classical to hybrid to PQC-only by changing its policy.


Conclusion: Your Crypto Agility Starting Checklist

Crypto agility is a capability you can measure: how fast you can change cryptography without breaking anything. The post-quantum deadline gives it a date, and regulators are making it an audit question. Start by moving algorithms out of code and into policy.

  • Continuous discovery is running and producing a CBOM for critical systems
  • Every key and certificate in the inventory has a named owner
  • A crypto agility policy defines approved algorithms, hybrid posture, deprecation triggers, rotation SLAs and exceptions
  • New applications request cryptography through an abstraction layer, not hard-coded algorithms
  • Certificate issuance and renewal are automated
  • Policy changes are simulated and rolled out in stages with rollback
  • Baseline KPIs are recorded, including time to replace an algorithm
  • Your current and target maturity level are set per business unit

To see where you stand today, start with the free Quantum Readiness Score, or talk to DuoKey about cryptographic posture management.


References

Share

Written by

DuoKey Team

Discuss the decisions that matter most to your security programme.

Tell us where control is difficult today. We will help you identify a practical next step.