What This Week's Cryptography News Means for You
This week, news broke about encryption algorithms that will affect people’s privacy. It’s a big deal, but not the end of the world. There are already better algorithms available, and while it requires a big, urgent push from industry, the message for users is simple: keep your software up to date so you’ll get the upgraded algorithms as quickly as possible. Practice digital hygiene basics, like unique passwords and two-factor authentication. That way, even if one website or service becomes less secure, you will still be safe elsewhere.
There were in fact two separate cryptography announcements this week, one of which has much larger immediate implications.
The first piece of news shows that, against a big enough quantum computer, the post-quantum standard algorithms behave differently than expected. At impractically large key sizes, they don’t get stronger by as much as cryptographers thought. But this is a theoretical finding, not a practical one: no amount of computation can exist that would make it make a difference. It points at useful research directions for cryptographers, but for everyday people, “nothingburger” would be an overstatement, and it’s not the focus of this post.
The second piece of news is more serious but harder to speak clearly about because the details are not public. NSA announced that AI companies disclosed “recent discoveries that impact the security of some cryptographic systems currently in use” and that this “presents a significant threat to cryptographic systems protecting sensitive information.” We can infer that this describes regular computers cracking regular (“classical”) algorithms because quantum computers aren’t big enough yet to make a difference, and because NSA’s main recommendation is to migrate to post-quantum algorithms even faster, which they wouldn’t do if those algorithms were horribly broken. So, this is probably about some other algorithm, like certain elliptic curves (which are used in ECDSA) or possibly RSA. Given the NSA recommendations, systems that aren’t ready for post-quantum should use high-strength versions of the algorithms already in use today.
Some systems are already using safe algorithms, since the post-quantum migration has been in progress for some time. For instance, if your software is up to date, when you chat on iMessage* or Signal, your chats are already using post-quantum cryptography. Other end-to-end messaging protocols, like WhatsApp and RCS, haven’t yet upgraded. In an emailed response to our questions, Meta confirmed they're in the process of rolling out post-quantum protections for WhatsApp. Look out for news of updates for the services you use, and in the meantime consider exclusively using those apps that have confirmed post-quantum support.
Many systems may be using algorithms that are not post-quantum, but are also not affected by this week’s news because they are using high-strength versions of today’s algorithms. Major websites, especially those that are providing infrastructure for businesses like Microsoft and Slack, should publish the status of their in-transit encryption so that their users can make decisions about their communications.
As for web browsing, browser and certificate authority engineers are working on post-quantum support. Banks and major commercial and social platforms are likely to be as well. Even smaller sites will often use automatically updating tools that should update their security on their behalf. That leaves the long tail of smaller sites, but we won’t know for sure where the line is until more concrete details are available.
“Deploy Post-Quantum Algorithms?”
We’ve known for a long time that once a big enough quantum computer is developed, it will be able to break the kinds of public key cryptography that have been popular and successful for decades now: RSA and ECDSA (among others). Cryptographers have been inventing and testing new kinds of public key cryptography (“post-quantum”) designed to not be broken by quantum computers. Various algorithms have been tested and discarded, but one algorithm family has stood up to the tests and become standardized. This family includes ML-DSA and ML-KEM, and those algorithms are being integrated into various software, and that software is being deployed and updated.
Meanwhile, quantum computers have been getting better, and earlier this year several advances in the field caused organizations to move up their timeline to migrate to post-quantum algorithms. However, the latest advances aren’t about faster quantum computers, they’re about new techniques to crack certain types of cryptography.
What’s at Risk?
National security agencies can and do capture internet data en masse to decrypt it when quantum computers later become available. This is called “harvest now, decrypt later.” What this week’s vulnerability is likely to change is that some of that harvested data is likely to become decryptable in the short term, without waiting for a big enough quantum computer. Specifically, data that was encrypted using the vulnerable algorithms will be decryptable.
Separately, there’s the issue of faking certificates to perform live machine-in-the-middle (MITM) attacks. This type of attack is somewhat more targeted than a harvest now, decrypt later attack, but it is widely scalable. For instance, a country that controls internal internet traffic could use these weaknesses to forge a single certification authority (CA) certificate, and use that to forge additional certificates for any website for which they need to intercept traffic. Because MITM attackers need to intercept data live, we previously thought that MITMs breaking cryptography would not be a risk until a big enough quantum computer arrived, but this week’s news suggests that this is actually a risk today.
In both cases, private communications, passwords, and authentication tokens are potentially at risk, though the scale of what actually gets decrypted will depend on the yet-to-be-released details of the cryptographic weakness.
What’s the Post-Quantum Migration Status?
Software developers and internet companies are likely to respond quickly by updating their systems to new algorithms. That will involve changing server configurations, and often delivering software updates to end users. As always it’s a good idea to install those updates to make sure you have up-to-date security. In some cases, like Signal and iMessage, there are already changes in place to use post-quantum cryptography.
In other cases, like the HTTPS protocol used on the web, post-quantum algorithms are only partly available. Handshaking—the initial step that a browser uses to set up secure communication with a webserver—is already PQ on many webservers, and it needs only an up-to-date browser to take advantage of it. That’s good because the handshake is by far the highest priority part of HTTPS to upgrade. However, PQ certificates for HTTPS are not yet widely available, though development is well under way. That doesn’t mean there’s nothing to do; high-strength versions of the algorithms already in use today are a temporary option available that many sites will quickly switch to as a stopgap. Though not every website will update in a timely manner, if a severe break does get revealed, browsers will hopefully take steps to mark weaker websites as less secure, so that people can make informed decisions.
News like this can feel like the sword of Damocles—will the internet we love even exist tomorrow? Will we be able to communicate privately? The short answer is: yes, and yes, thanks to the hard work of mathematicians, cryptographers, software engineers, site reliability engineers, and the many others who help us exercise our right to privacy through cryptography. And as always, don’t let anyone tell you we need to weaken or backdoor encryption—securing what we have is hard enough!
*Apple is an EFF donor. EFF donors do not influence our agenda or our positions.