# Crypto-Agility

> An organization&#39;s ability to replace a cryptographic algorithm, key size or protocol that has become weak, quickly and without rebuilding its systems.

- **Category**: Cybersecurity
- **URL**: https://www.romaindelfosse.fr/en/glossary/crypto-agility/

---

**Crypto-agility** is an organization's ability to replace a cryptographic algorithm, key size or protocol once it becomes weak, quickly and without rebuilding its systems. It is as much a governance issue as a technical one: it touches architecture, procurement, supplier contracts and risk management. The transition to post-quantum cryptography has turned it from a good practice into a priority.

## What crypto-agility covers

### A definition NIST and ANSSI share

NIST defines crypto-agility as the capabilities needed to replace and adapt cryptographic algorithms in protocols, applications, software, hardware, firmware and infrastructure while preserving security and ongoing operations. ANSSI, France's national cybersecurity agency, uses a similar definition: extending or replacing cryptographic components without affecting how systems work, while keeping downtime during the update to a minimum.

### Two levels of agility

ANSSI distinguishes two levels:

- **Parameter agility**: raising the security level within the same family, for example moving from AES-128 to AES-256 or from RSA-2048 to RSA-4096. It answers a partial weakening.
- **Algorithmic agility**: replacing an algorithm entirely, for example SHA-2 with SHA-3. It is the only answer to a broken algorithm, and ANSSI recommends implementing it whenever the context allows.

For an executive, the practical question is simple: if an algorithm used everywhere is declared weak tomorrow, how much time and money will it take to move off it?

## Why it has become a board-level topic

### History: transitions that take decades

The history of cryptography is a series of deprecations, each slower than planned:

- **DES and Triple DES**: according to NIST, the full transition from Triple DES to AES, standardized in 2001, took 23 years, ending only when Triple DES was finally disallowed in 2024.
- **MD5**: the first collisions were published in 2004. In March 2011, IETF's RFC 6151 declared MD5 no longer acceptable where collision resistance is required, such as digital signatures.
- **SHA-1**: weaknesses were known from 2005 and NIST officially deprecated it in 2011. On February 23, 2017, CWI Amsterdam and Google announced the first practical collision (SHAttered). Only in December 2022 did NIST set a full phase-out of SHA-1, by the end of 2030 at the latest.
- **RSA key sizes**: for signatures, NIST's minimum RSA modulus rose from 1,024 to 2,048 bits in 2013. As NIST notes, a device with a fixed key size then has to be replaced.

ANSSI draws a lesson from this: it took a practical attack published by researchers before vendors replaced their SHA-1 certificates, and some deprecated algorithms are still in service because they are costly to replace.

### The post-quantum transition changes the scale

A sufficiently powerful quantum computer could break RSA and elliptic curves. NIST stresses that this transition is unprecedented in scope, since every public-key algorithm must be replaced, and that it will not be the last one. The new algorithms, such as ML-KEM, are also more recent, and ANSSI warns that weaknesses could still be found in them. Being able to switch a second time is part of the plan.

## How to build it

### 1. Cryptographic inventory

It all starts with knowing where cryptography lives: protocols (TLS, VPN, SSH), certificates, libraries, hardware, purchased software, cloud services. The EU's June 2025 roadmap calls this inventory a no-regret first step and recommends a standardized format such as a **CBOM** (Cryptography Bill of Materials). Added to the open OWASP CycloneDX standard in April 2024, the format describes algorithms, keys, certificates and how they relate to software components. NIST recommends tooling this discovery, because a manual inventory goes stale quickly.

### 2. Abstracting cryptographic libraries

Applications should not call a specific, hard-coded algorithm. They should go through a shared cryptographic interface that can be configured centrally, so that changing algorithms becomes a configuration decision rather than a rewrite. ANSSI stresses consistency: making one component agile is pointless if the protocol that uses it cannot handle longer signatures.

### 3. Centralized certificate and key management

Scattered certificates, renewed by hand with no clear owner, are the classic obstacle to any transition. Managing the life cycle of certificates and keys centrally provides both the visibility and the leverage to replace them at scale.

### 4. Testing

Post-quantum algorithms produce larger keys and signatures. ANSSI recommends sizing systems for the worst case and checking that a cryptographic update does not break any function. These switches should be rehearsed in a staging environment before they are needed in an emergency.

### 5. Requirements in supplier contracts

Much of an organization's cryptography is bought, not built. The EU roadmap calls for an early dialogue with suppliers, for crypto-agility to be considered in procurement, and for products expected to last beyond 2030 to be upgradable to post-quantum cryptography. It also ties this requirement to the Cyber Resilience Act from December 2027. NIST, for its part, highlights how much suppliers help when they provide a complete list of the cryptographic components in their products: algorithms, protocols, libraries, certificates.

## What official sources say

### NIST

White paper **CSWP 39**, "Considerations for Achieving Crypto Agility: Strategies and Practices", was published in final form on December 19, 2025, and updated on June 29, 2026. It sets out a continuous strategic plan: build crypto-agility into existing governance and name an accountable official, inventory cryptographic use, close gaps in tooling, prioritize assets, then migrate or compensate. For assets too rigid to change, it suggests compensating controls as part of a zero trust approach.

### European Union

The coordinated roadmap of June 2025 sets three post-quantum milestones: first steps and national roadmaps by the end of 2026, high-risk use cases migrated by the end of 2030 at the latest, then as many systems as feasible by 2035. It defines crypto-agility as designing protocols and systems in a modular way so their cryptographic components can be replaced, and warns against confusing it with automatic algorithm negotiation, a common source of downgrade attacks.

### ANSSI

In its note "ANSSI views on crypto agility" of January 19, 2026, ANSSI asks for crypto-agility to be considered from the benefit-risk analysis of any new product. Its recommendations cover consistency across subsystems, service continuity, protecting updates with the highest-confidence signatures and strict control over which algorithms are allowed. It also warns that crypto-agility is hard to achieve and can widen the attack surface if it is implemented carelessly.

### CIRG, November 2026

Crypto-agility is also at the heart of the recommendations of the Cryptography Incident Review Group, a group of independent cryptographers, after theoretical results on the lattices behind ML-KEM and ML-DSA were published on November 30, 2026. Without questioning those standards in the short term, the group recommends designing agile systems so that individual schemes can be replaced quickly if the need arises, and combining schemes with different mathematical foundations.


## Key Figures

- Time taken by the full transition from Triple DES to AES: AES was standardized in 2001, and Triple DES was only finally disallowed in 2024 *(NIST, CSWP 39, &quot;Considerations for Achieving Crypto Agility: Strategies and Practices&quot;, December 2025)*

- Roughly ten years were needed for SHA-1 certificates to become uncommon, and it took a practical attack published by researchers to push vendors to replace them *(ANSSI, &quot;ANSSI views on crypto agility&quot;, January 2026)*

- End of 2030: NIST&#39;s deadline to phase out SHA-1 entirely, an algorithm in use since 1995 and the target of increasingly severe collision attacks *(NIST, &quot;NIST Retires SHA-1 Cryptographic Algorithm&quot;, December 2022)*



## Frequently Asked Questions

### What is crypto-agility?

Crypto-agility is the ability to replace or adapt the cryptographic algorithms an organization relies on without interrupting its services or rebuilding its systems. NIST defines it as the capabilities needed to do so across protocols, applications, software, hardware and infrastructure while preserving security. France's ANSSI separates two levels: changing parameters within the same family (moving to a longer RSA key, for instance) and swapping out an algorithm entirely. It is not a product you can buy but a property of your architecture and your organization, built up over time.

### Where should an organization start?

With a cryptographic inventory: you cannot replace what you cannot find. That means mapping where cryptography is used (protocols, certificates, libraries, hardware, purchased products) and which algorithms and key sizes are involved. The EU's coordinated post-quantum roadmap calls this a no-regret first step and recommends a standardized format such as a CBOM. Next comes prioritization by data criticality, then a conversation with suppliers. Naming an accountable owner, as NIST suggests, keeps the inventory from becoming a one-off exercise.

### How does crypto-agility relate to post-quantum cryptography?

The move to post-quantum cryptography is what made crypto-agility urgent. NIST notes that this transition is far larger than earlier ones, because every public-key algorithm (RSA, elliptic curves) has to be replaced, not just one. The new algorithms are also younger, and ANSSI points out that weaknesses could still be found in them, so being able to switch again matters. NIST adds that this will not be the last transition. A crypto-agile organization gets through this migration faster and is ready for the next one.

### Does crypto-agility carry risks of its own?

Yes, when it is poorly designed. Supporting many algorithms and letting systems negotiate between them automatically invites downgrade attacks, where an attacker forces the weakest option. The EU roadmap stresses that agility must not be confused with cipher suite negotiation. ANSSI recommends tightly limiting the coexistence of valid and deprecated algorithms, banning deprecated ones from new systems and protecting configuration with authentication. Agility has to be governed, not left to whatever a handshake settles on.



## Resources

- [A Coordinated Implementation Roadmap for the Transition to Post-Quantum Cryptography](https://ec.europa.eu/newsroom/dae/redirection/document/117507?utm_source=romaindelfosse&amp;utm_medium=glossaire&amp;utm_campaign=crypto-agilite) — European Commission, NIS Cooperation Group

- [CWI and Google announce first collision for industry security standard SHA-1](https://www.cwi.nl/en/news/cwi-and-google-announce-first-collision-for-industry-security-standard-sha-1/?utm_source=romaindelfosse&amp;utm_medium=glossaire&amp;utm_campaign=crypto-agilite) — CWI Amsterdam

- [RFC 6151: Updated Security Considerations for the MD5 Message-Digest and the HMAC-MD5 Algorithms](https://www.rfc-editor.org/rfc/rfc6151?utm_source=romaindelfosse&amp;utm_medium=glossaire&amp;utm_campaign=crypto-agilite) — IETF

- [Initial Assessment of Anthropic&#39;s Findings on Lattice Cryptography](https://cirg.org/statements/1/?utm_source=romaindelfosse&amp;utm_medium=glossaire&amp;utm_campaign=crypto-agilite) — Cryptography Incident Review Group

