Skip to main content

Cryptographic agility: part of your PQC migration

Cryptography is developing more quickly than we are used to, and your approach needs to keep pace. 

 Businessman using laptop on rock climbing wall

Martin Barraud via Getty Images

The NCSC’s Chief Technical Officer (CTO) Ollie Whitehouse recently posted a statement on recent post-quantum cryptography research in which he stated that ‘cryptographic agility’ should be an important part of the transition to post-quantum cryptography (PQC).

In this blog, we’ll explain what we mean by cryptographic agility, and why it’s important for system owners responsible for PQC migration within their organisations.


The cryptographic world is changing

It’s widely accepted that updating devices or software is a basic security practice. Vulnerabilities are constantly being discovered and we cannot assume that devices and software will remain secure throughout their lifetime without updates. The widespread use of AI for vulnerability hunting makes the ability to patch quickly, effectively and at scale more important than ever.

Until recently, the requirement to update and change cryptographic algorithms and protocols has not been considered in the same vein as software or device patching. We are used to deploying cryptographic algorithms and using them, largely unchanged, for several decades. 

However, the cryptographic world is changing, and our approach needs to change with it.

Cryptographic agility is the ability to adopt new cryptographic algorithms, and to stop using weaker or deprecated ones, without disrupting operations. This includes changing to algorithms not considered at the time of deployment. Cryptographic agility can be a property of an environment, system, product or protocol. It is an essential part of ensuring that the cryptographic architecture can be maintained and improved in line with the other aspects of the system.

A system should not be thought of as either having cryptographic agility or not. It’s a spectrum rather than a binary property. This means that it is possible to make incremental improvements in cryptographic agility, as well as more substantial alterations and replacements where appropriate.


Cryptographic agility and migration to PQC

Your organisation’s migration to PQC is a perfect opportunity to consider the long-term health and maintainability of cryptographic systems. 

PQC migration planning should include building an understanding of the use of cryptography in your current estate, and planning how this will work now and in the future. In many cases this will be difficult because systems have changed organically over years, sometimes in haphazard ways. 

For most systems, PQC migration will involve at least two steps, one to introduce PQC algorithms and another to deprecate traditional public key algorithms. Future use cases may require or benefit from the use of new algorithms. At the same time, the use of AI is enabling more rapid identification of vulnerabilities in cryptographic deployments. These factors mean that the ability to update cryptography more efficiently in the future is increasingly important.

The PQC migration process is a key opportunity to consider the long-term security and use of cryptographic systems, and to begin to bring our approach to maintenance of cryptography in line with that of other types of technology. For this reason, all organisations that use cryptography should consider cryptographic agility in their PQC planning, and endeavour to improve it wherever possible.

So how should someone carrying out PQC migration for an organisation think about improving cryptographic agility?

Much of this overlaps with thinking about your PQC migration more broadly. Your agility will be improved by understanding and tracking where in a system or environment different algorithms and protocols are in use, which will also be part of your discovery exercise. 

Consider using standardised protocols that allow the negotiation of cryptographic algorithms, and using cryptographic libraries (or products with cryptographic libraries) that can be updated to add and remove algorithms. 

When selecting or changing cloud providers, think about how easy it is to configure cryptographic options in protocols and products. All of these actions will help with your PQC migration, as well as improving your cryptographic agility overall.


Build agility into your planning

We appreciate that improving cryptographic agility is not a quick fix, and this blog isn’t going to solve all your problems or answer all your questions. You may need to weigh up trade-offs between some aspects of cryptographic agility and other security and usability properties of a system.

However, ignoring the topic isn’t an option either.  Consider what small steps you can take now – and throughout your PQC migration – to improve your cryptographic agility. Anything you can do will improve your overall cyber resilience and your ability to withstand changes in threat in the future.

Flo D, NCSC Deputy Chief Technical Officer (CTO) for Cyber Policy and Assessments

Written by

Flo D

NCSC Deputy CTO for Cyber Policy and Assessments

Published

Part of blog