Should your hair be on crypto fire?
I’m an expert in software development, not cryptographic math. Like many people, when out of my depth, I out-source my understanding to acknowledged experts. I’m about to do a series of YouTube videos on using public key cryptography with a communication framework called gRPC. The details aren’t important, but I am curious as to whether I would be giving bad advice (given recent headlines). I’m only knowledgeable in the non-math aspects so I needed to do a little research. Given the urgency, I imagine many of you are wondering if your computer or bank are safe?
What is the problem?
Why is this an issue now? Because we have a perceived crisis and a crisis should not go to waste. Over the (American) Thanksgiving weekend, an AI math break-through found a way to attack a new “quantum safe” cryptographic algorithm recommended by experts as the new standard. I’ll decode the jargon as we go along. It turns out the “break through” requires computing hardware we can’t even imagine. Like a more than all the atoms in the universe sized computer. Like a lot of AI “bombshells,” the actual story turned out to be more a damp squib than detonating our current infrastructure. It is a possibility, but not a certainty, there may be additional AI math discoveries that will further weaken those same quantum safe algorithms.
Computer people are rightly concerned about cracks in the strength of Public Key Infrastructure, the technology that enables us to communicate securely over the web. It uses a public key (which can be handed out to anyone) and a private key you need to keep… well… private. Encrypting data with a good public key is so safe it takes thousands of years with a super-computer to break the encryption. It does not matter if you have the public key used to encrypt the data. As a matter of jargon, this is also called asymmetric key cryptography because the key to encrypt and the key to decrypt are different.
A web server provides its public key to your browser so your browser and the web server can exchange a different type of key (a symmetric key) suitable for transferring large amounts of data. The symmetric key does not appear to be under threat. Only the public key’s ability to secure the initial key exchange, or digitally sign trusted keys, is under threat. However, being able to derive the private key would allow attackers to decrypt everything, if they have the entire exchange. Keeping the private key safe is very, very important.
But what does quantum safety mean? Quantum safety means the private key, for a given public key, is not easily derived by a sufficiently large quantum computer. A quantum computer is a kind of experimental computer that behaves in a radically different manner then your laptop, using the properties of quantum mechanics. They are also, very, very expensive and require cooling with liquid hydrogen. Dell won’t be selling a desktop version any time soon. But even the state of the art quantum computers are not sufficiently large. Quantum computers would need to be significantly larger and more reliable to be “dangerous.” That is a very, very big engineering problem, but one many people are sure will be solved.
Who is at risk?
I think most of you, at this point, can take a breath and realize your bank accounts and dodgy browsing habits are relatively safe. Your up to date electronics will be safe. This is not a “replace all you hardware tomorrow” event. If the computer to do the cracking don’t exist, why the urgency?
Have you ever worked with a large organization’s IT department? It takes time to do things and the thing that needs doing is updating all the applications, security software, and hardware to be quantum safe. So that when someone does build that larger and more reliable quantum computer, an organizations’s secrets are safe and that organization’s sites are secure.
Servers often perform cryptographic calculations on special hardware instead of their very busy CPU. Some of that hardware needs to be reconfigured and some will need replacement. Not all of it will be reconfigured or replaced at once. An organization-wide upgrade plan, that doesn’t bring down its own networks, may take years to develop and accomplish. I know this is hard to fathom, but even tracking down all the effected servers may be a challenge. This will take time.
In addition to hardware, a lot of software will need to be re-written, replaced, re-configured, upgraded, and tested with the new algorithms. A large organization, in addition to updating its own servers, laptops, desktops, and two-factor key fobs, may need to accommodate customers, partners, and suppliers who have not updated their systems. Practical considerations, such as not cutting off customers, may force organizations to run both safe and unsafe algorithms. When a combination of safe and unsafe algorithms are detected by attackers, they will try to force the organization to use the unsafe algorithm. Which is why everyone should transition to the safe algorithms so we can safely turn off the unsafe algorithms for everyone.
These concerns apply mostly to on-premise systems and cloud systems where the organization insists on micro-managing the servers and software. It will also be more of a concern to organizations that have bespoke software. Bespoke is just another word for custom, and almost any organization has custom software.
But why is it important NOW?
Some things are only valuable if you crack them in real time. Other things are still valuable if you crack them months, years, or even decades later. Which is why intelligence agencies all over the world may be harvesting data they cannot read today, hoping to read it in the future.
A lot of commercial data ages like milk. Your ten year old bank statements, or three year old credit car transactions, are unlikely to be important to criminals. Maybe your unfortunate browsing choices over a VPN (encrypted network) might make you a blackmail target. Most of your electronics will be updated (if not already updated) with quantum safe algorithms by the vendor. The risk is criminals crack the private key used by your bank, your hospital, employer, and so on. Keep in mind the criminals will need to have access to cutting-edge quantum computers that are many times larger and more reliable than today’s state of the art.
What can be important well into the future is national security and defense data. It may continue to be valuable for 10, 20, 30, or more years. That may be enough time to develop a sufficiently large quantum computer, although nothing is guaranteed. And while the average cyber criminal doesn’t have access to state of the art resources, nation-states do. They also hold grudges for decades, meaning if they crack a journalist’s or spy’s 20 year old data they may still kill the traitor who leaked the information. Nation states are vacuuming up data to be cracked sometime in the future. You know, the future with flying cars and hotels on the moon.
Conclusion
This gets us to the crux of the problem. Cryptography is about creating hassle. Uncrackable keys are only useful if bribery, theft, or physical threat is not readily available. Someone with a gun can’t crack your bank’s private keys, but they can force you to withdraw money at the ATM. I can’t imagine any criminal in the next decade having access to the resources necessary to steal your money by breaking your bank’s private keys. Even among countries where the dividing line between cyber-criminal and state actor is fuzzy. This shouldn’t terrify “regular people.” However, if you are a government, large company, defense contractor, financial firm, run critical infrastructure, or journalist with sensitive sources, you might want to get at it.