r/ICPTrader • u/Sassy_Allen • 9h ago
Bullish dom | icp on X: "Now "quantum safe" cryptography mania has gone mainstream in tech. But don't panic yet. Yesterday, Dec 2, the NSA shared an advisory that has greatly amplified calls to adopt post-quantum across social media, with many making doom-laden predictions about traditional cryptography
x.comNow "quantum safe" cryptography mania has gone mainstream in tech. But don't panic yet.
Yesterday, Dec 2, the NSA shared an advisory that has greatly amplified calls to adopt post-quantum across social media, with many making doom-laden predictions about traditional cryptography being broken by an AI discovery, and leading figures across tech claiming secret knowledge about what the problem is (and leaning into the doomerism).
First things first, AI has taken us into new territory, and concerns that AI can uncover “math below the math” that can undermine mathematical assumptions that any cryptography relies upon, are well founded, and publicly disclosed advances, for example regarding the Riemann Hypothesis, demonstrate the point.
With this in mind, anything is possible. The job of those designing network platforms that depend on cryptography for their correct functioning is to navigate the situation in the safest way possible, even though, we do not have full information regarding what may be going on behind the scenes (for example, with regard to frontier labs sharing discoveries with the NSA, and no others). This requires both observation, and the collection of objective information that has been shared, and axiomatic reasoning that infers the currently unknown from the known.
I am not party to secret disclosures that may have been made by the NSA, and therefore, I cannot say they haven’t shared that there is now some means to break a contemporary crypto scheme in widespread use today, which would indeed be calamitous. However, despite people like the CEO of Cloudflare making scary pronouncements on X, claiming that they have come by this special knowledge in some way, I still urge caution.
The CEO of Cloudflare has since deleted his post, but let’s not draw conclusions from that, and instead think logically from first principles, for a moment. At a basic level, why on earth would the NSA share secret knowledge with people that might immediately turn around and use it to scare people on X, without first providing more direct information themselves so that they can control the message?
For example, if a new mathematical result has shown a path towards reducing the cost of breaking a mainstream encryption scheme to a practical level, then why not warn the world that it has become vulnerable so that everyone has reason to act immediately? If such a mathematical result exists today, then why not say so directly while withholding the result, giving the world a chance to transition?
Disclosure via the tweets of the kind we have seen on the internet over the past day would be absolutely the worst way to proceed, and the NSA are not idiots, notwithstanding that someone (or in reality, a committee) may have made a mistake in how this is handled.
Before proceeding to analyze what they have actually said, let's remember that the NSA is heavily concerned with secrecy. As I have said many times, there is an absolutely valid worry that adversaries may harvest and store secret and sensitive encrypted content and transmissions so that they can decrypt them in a few years time when cryptographically-relevant quantum computers become available — that is an argument to double encrypt such materials with both contemporary encryption, and “quantum safe” encryption, today (i.e. so if the new “quantum safe” schemes used turn out to have flaws, then you are still protected by the traditional scheme).
However, that is not per se an argument to move the protocol engines of cryptographic networks (e.g. blockchains) to such schemes, whose functioning is not primarily concerned with the encryption of data that might be decrypted years from now. The specific engineering challenge in our domain is to choose schemes that are least likely to be broken today, then migrate to “quantum safe” schemes that have survived scrutiny as the actual availability of cryptographically-relevant quantum computers nears.
The caveat to this reasoning, of course, is that AI might unveil new “math below the math” that shows how classical computers can gain some of the powers of cryptographically-relevant quantum computers today, laying the path to new techniques for breaking encryption essential to the functioning of blockchains in the near term. That's a different matter.
If the foregoing is true, then the need is not to move to “quantum safe” cryptography per se, but to new cryptography that cannot be broken by today’s classical computers using new science, and that the first port of call will be algorithms designed to withstand cryptographically-relevant quantum computers in the future is a coincidence. This is an important nuance.
Now, with all this in mind, let’s look at what the NSA has actually said. We have already noted that it would be weird for them to share secret news about advancements in math that could help break contemporary cryptography with people that turn them into scarestories on X. What information can we glean from their actual advisory text?
Let's start with “Frontier SI companies have engaged with the U.S. government to responsibly disclose recent discoveries that impact the security of some cryptographic systems currently in use.”
The key phrase here is “impact the security of some cryptographic systems currently in use.” The statement itself is unsurprising. Numerous recent disclosed advances have already impacted the security picture, although none so far have provided a practical way to break schemes. No doubt some discoveries will have been withheld and shared only with them, but nonetheless, would they actually use this language if a scheme had been broken in a practical way, or would imminently be broken.
If that were the case, wouldn’t they say, “we have reason to believe that scheme xyz is no longer secure, and this advisory warns you to switch to another as soon as possible”?
Continuing down their advisory, we can see that it provides steps for how (in the referenced document) to migrate to post quantum cryptography, which as I described, is very valid if you are concerned with secrecy, and also with the correct operation of trusted systems as concerns governments and corporations that often take decades to migrate their infrastructure —which should not be the case for cryptographic networks generally, which can simply upgrade their protocols, and it’s certainly not the case for the Internet Computer, which is orchestrated by a decentralized governance system integrated into its protocols called the Network Nervous System. A key strength of the network is that its autonomous governance allows it to adapt and upgrade its protocols very quickly if necessary.
The steps they prescribe for migrating to post quantum have to be seen within the context of their own perspective, and the audience they are most concerned with, which does not concern cryptographic networks, but here's something very surprising about what they say, given the hysteria on social media.
Early in the prescribed steps, they refer to elliptic curves P-384 and P-521 for ECDH and ECDSA being approved i.e. here they are saying that ECDSA is safe at 384 and 521 bits for the purposes of setting up TLS and signing. It seems that all the doom-mongers claiming on social media that ECDSA is about to fall may not have read the text.
Next, more broadly, we should note the NSA says enterprises should use the traditional cryptography schemes in their CNSA 1.0 or CNSA 2.0 standards. The first of those standards was issued in 2015, and the second in 2022. Thus, they do not see reasons that an approved list of traditional cryptography schemes issued more than ten years ago should be deprecated, yet.
None of this is to say that new “math below the math” doesn’t exist that has been withheld by frontier AI labs, which impacts the cryptography security landscape. It almost certainly does, as evidenced by public advances that have been made.
However, my bet is that the “I have seen information” and “you should be very scared” type messages by numerous leading tech figures on the internet is highly misleading.
There are simple reasons for me bet. Many of those people will wish to telegraph how important they are by drawing attention to world-shattering information that has been shared only with them. This reflects a normal human desire to advance one’s standing within social, professional, and business spheres. Meanwhile, most of those same people will not be proficient in the field, and therefore will not necessarily realize that what they are saying in a way designed to draw attention to them is not grounded in science.
Again, I could be wrong, since there is no way to know what has and has not been discovered that has not actually been revealed. But based on analysis of how the NSA would likely behave, what they have said so far, and an understanding of human nature, at DFINITY we will still refrain from pushing the Internet Computer towards relatively untested post quantum schemes before those cryptographically-relevant quantum computers are nearer, until more is known — or an eventuality, like, for example, new math revealing that classical computers can act in the mode of quantum computers for the purposes of attacking traditional cryptography in a practical way, happens.
Note too, that even if this comes to be, that does not mean that in the current situation, today, given our current knowledge, the best move is for cryptographic networks to quickly adopt “quantum safe” schemes. Further note, that the need to adopt would not result from the imminent availability of cryptographically-relevant quantum computers, but from new math found by AI that undermines traditional cryptography — and as I have said many times, and continue to say, the need is to guard ourselves against advances being made by AI, and only a fool would transition to new and relatively untested cryptography schemes on the basis that a cryptographically-relevant quantum computer is about to appear, for which claim there isn't good evidence.
To borrow from Bertrand Russell, we can't prove there isn't a teapot orbiting the Sun, but that's no reason to believe there is. As an industry, we need strong evidence to act.
We live in interesting times, and DFINITY stands ready with its expertise to react appropriately to whatever information finally surfaces. Nonetheless, for me, there is a strong smell of bs and mass hysteria in the air.
We all have a ringside seat to see what happens.