Google is using clever math to quantum-proof HTTPS certificates

Post content hidden for low score. Show…
Post content hidden for low score. Show…

mdrejhon

Ars Praefectus
3,213
Subscriptor
"This material can be cracked through the quantum-enabled Shor’s algorithm."

Wake me up, when Shor's algorithm can factor a long int (with highest bit set, of course).
The problem is many hacker-in-middles are recording top-sensitivity HTTPS data today, for future cracking later.

Some of them even transmit bitcoins, banking data, private medical stuff, or other critically valuable information.

If HTTPS is broken in 10 years from now, your pre-recorded 2025 communications to your online bank/trading/insurance/health/etc today could be cracked in 2035.

By deploying quantum-resistant HTTPS today, the odds of "retroactive hacks" is greatly reduced.
 
Last edited:
Upvote
285 (288 / -3)

jhodge

Ars Tribunus Angusticlavius
8,847
Subscriptor++
The problem is many hacker-in-middles are recording top-sensitivity HTTPS data today, for future cracking later.

Some of them even transmit bitcoins, banking data, private medical stuff, or other critically valuable information.

If HTTPS is broken in 10 years from now, your pre-recorded 2025 communications to your online bank/trading/insurance/health/etc today could be cracked in 2035.
Not to mention that if you wait for the crisis to arrive before you act, your reaction is going to be hasty, poorly thought out, and poorly tested. Which is exactly what you don't want when working on one of the foundational security schemes for the entire Internet.
 
Upvote
260 (260 / 0)
Post content hidden for low score. Show…
The problem is many hacker-in-middles are recording top-sensitivity HTTPS data today, for future cracking later.

Some of them even transmit bitcoins, banking data, private medical stuff, or other critically valuable information.

If HTTPS is broken in 10 years from now, your pre-recorded 2025 communications to your online bank/trading/insurance/health/etc today could be cracked in 2035.

By deploying quantum-resistant HTTPS today, the odds of "retroactive hacks" is greatly reduced.

As the guy at the NSA said, "we don't know when--or even if--such a machine will be built".

This is an all too rare case of the government and corresponding standards bodies doing something right, and it's entirely possible we'll never need it--but if we do build that machine, we're going to be pretty fucking thankful that these people put in the work.
 
Upvote
197 (197 / 0)

norton_I

Ars Tribunus Angusticlavius
6,168
Subscriptor++
"This material can be cracked through the quantum-enabled Shor’s algorithm."

Wake me up, when Shor's algorithm can factor a long int (with highest bit set, of course).

By then it will be too late.

Even ignoring the store now, decrypt later attacks, developing and adopting standards takes a long time.

Google did their first attempt at quantum resistant encryption in chrome back in 2017 or so. MD5 was standardized in 1992 and deemed insecure in 1996, yet despite spending only a handful of years 3 decades ago as the go-to hash it is still out there.

The track record of quantum resistant encryption is also not great. I wouldn't count on this either yet, it's going to take years to build up confidence in these algorithms.
 
Upvote
114 (115 / -1)
Recently there's a new report reducing the estimation of physical qubits required for breaking RSA-2048 to 100,000. See here:

https://scottaaronson.blog/?p=9564

The issue of predicting quantum computing progress is that it's highly non-linear. We don't see many new factoring results not because they are not possible but because that's not the main goal right now. What people are currently doing are, for example, proving quantum computing is possible (e.g. Google's quantum supremacy experiments), implementing quantum error correction, scaling, etc. It's also not helping that you can bet that many goverments are spending a lot money on this problem without telling anyone, so even if they have good results they are not telling you.

So I do think we need to start preparing for quantum resistent cryptography. The current algorithms are not necessarily great (we don't know yet), but we need to prepare to be able to easily switch algorithms (from RSA and ECDSA to current or future quantum resistent algorithms).
 
Upvote
130 (130 / 0)

dangoodin

Ars Tribunus Militum
1,654
Ars Staff
Upvote
1 (24 / -23)
Quote
D
dangoodin
My apologies. This was was an inappropriate way for me to respond. It won't happen again. I should have said simply that many people working on quantum computing, probably those with the majority of the resources, aren't sharing the largest prime that they have factored.
Aurich
Aurich
Just to follow up on Dan's post here, I do want to be clear that the modifying quotes rule does apply to everyone, we don't make exceptions for writers, and we've reminded Dan of it. Rules work best when they're simple, and that's what we try to stick to. Carry on!
Upvote
1 (24 / -23)
Post content hidden for low score. Show…
Post content hidden for low score. Show…
Post content hidden for low score. Show…

kaced

Wise, Aged Ars Veteran
115
Subscriptor
I miss when Ars would give an explanation for how tech like this works as part of the article.
To be fair, my cryptography class in grad school didn’t even cover Merkle Trees. They’re widely used but you won’t find anywhere near as many articles for laypeople on them as, say, RSA. It’s not the first cryptographic primitive I would expect a journalist to try to explain, even here. I don’t think they’re exceptionally complicated, but correctly explaining any cryptography beyond Shamir’s Secret Sharing is certainly an art.

https://en.wikipedia.org/wiki/Merkle_tree
 
Upvote
76 (79 / -3)
I miss when Ars would give an explanation for how tech like this works as part of the article.
I realized some time ago that the more I read about quantum computing (such as Ars articles) the less I understand it - having said that, maybe someone can point me to a reasonable article about how some magical device called a quantum computer will make any and all crytography (BTC included) obsolete instantly? Will is be like someone speaking into a Mouse and say "computer, crack this password"?
 
Upvote
34 (34 / 0)

Chuckstar

Ars Legatus Legionis
38,034
Subscriptor
What is missing for it to be a blockchain?
The blocks.

A blockchain is a specific type of append-only ledger with features that make it well-suited for distributed use and decentralized management.

EDIT: Specifically, block chain is designed for ease of use in a system where each block is a group of records that can be added by a different user.
 
Last edited:
Upvote
76 (76 / 0)

YetAnotherGuy

Ars Centurion
277
Subscriptor++
I work in an area where people need to think about post-quantum encryption and a point of confusion I run into regularly is the point that Shor's algorithm applies to asymmetric encryption only, not symmetric. It effectively breaks them.

Symmetric encryption processes aren't impacted nearly as much by quantum computing - they are only weakened instead of broken because Grover's algorithm essentially halves the time to brute force a symmetric encryption which you can solve by doubling the key length. The current approach is to use a 256 bit key instead of a 128 bit key in AES and is considered safe at this point in time.
 
Upvote
95 (95 / 0)

dangoodin

Ars Tribunus Militum
1,654
Ars Staff
People saying the article gets stuff wrong, but not saying what. People implying the article doesn't explain stuff like Merkle Trees and then providing a link to a Wikipedia page when the post spends 2 grafs describing Merkle Trees and provides the very same link. Guess it's time to leave this discussion.
 
Upvote
54 (68 / -14)

asauce

Smack-Fu Master, in training
14
People saying the article gets stuff wrong, but not saying what. People implying the article doesn't explain stuff like Merkle Trees and then providing a link to a Wikipedia page when the post spends 2 grafs describing Merkle Trees and provides the very same link. Guess it's time to leave this discussion.
One person (unless there are deleted posts) has said the article has incorrect information. Two people called for them to give examples.

It can be a preference that the article went into more explanatory depth than it did, and not a failure on a commenter's part for not subsequently explaining in their own words.

Personally, I found the exact layout of the Merkle Tree explanation hard to follow on my first read. I thought the first part was handwaving the tech and then talking about a specific application, rather than the "tree head" structure being part of the idea of Merkle Trees in general.

Relevant text from the article:
"
To bypass the bottleneck, companies are turning to Merkle Trees, a data structure that uses cryptographic hashes and other math to verify the contents of large amounts of information using a small fraction of material used in more traditional verification processes in public key infrastructure.

Merkle Tree Certificates, “replace the heavy, serialized chain of signatures found in traditional PKI with compact Merkle Tree proofs,” members of Google’s Chrome Secure Web and Networking Team wrote Friday. “In this model, a Certification Authority (CA) signs a single ‘Tree Head’ representing potentially millions of certificates, and the ‘certificate’ sent to the browser is merely a lightweight proof of inclusion in that tree.”
"
 
Upvote
44 (44 / 0)
Post content hidden for low score. Show…
Post content hidden for low score. Show…

Alex_alex

Smack-Fu Master, in training
1
Today’s X.509 certificates are about 64 bytes in size

This is not correct. 64 bytes is a single ECC signature (ECDSA on P-256). Certificates are like one and a half kilobytes nowadays. E.g. server cert for arstechnica.com is 1496 bytes, and it's one RSA signature (that is long), three ECDSA (ECC) signatures, and one RSA public key inside.

comprise six elliptic curve signatures and two EC public keys

No. It'll be one public key (say, EC or RSA) and multiple signatures, but in most cases fewer than six. E.g. one "common" signature for the certificate itself and two or three embedded signatures for so-called SCTs, which are timestamps from Certificate Transparency logs.

This material can be cracked through the quantum-enabled Shor’s algorithm.

It might be. But we don't know yet.

Certificates containing the equivalent quantum-resistant cryptographic material are roughly 2.5 kilobytes.

It's correct only for the typical signature size (quantum-resistant), not for the entire certificate, as the latter will be longer. Still, it's correct to say that typical quantum-resistant keys are much longer then ECC (but not RSA), so the proposed hash-tree mechanism promises general advantage here.
 
Upvote
51 (51 / 0)
Post content hidden for low score. Show…

CptJeanLuc

Wise, Aged Ars Veteran
171
If someone actually figured out how to squeeze 2.5 kB of data into a 64-byte space, that person would be a top candidate for the Nobel Prize.
Oh, it's just a subset of your typical travelling-low-on-stock-salesman inverse closed pigeonhole problem of how to optimize selling M > 0 goods in N > M cities, visiting each city once in order, and selling exactly one good in each city. This is known to be an O(n^n^n^...) problem solvable only in Non-Space-Time time. Or, as the scientist who originally published the problem was known to say to anyone who would listen, "64 bytes ought to be enough for everything" 0x3a2d29
 
Upvote
-8 (8 / -16)

mg224

Ars Scholae Palatinae
1,391
Subscriptor
Not clear to me - if this is such a massive step up shouldn't this be open source so other browsers can make use of it?

If you want to implement it, then here’s the draft RFC:

https://datatracker.ietf.org/doc/draft-ietf-plants-merkle-tree-certs/

But it still very much in early testing ironing out the bugs phase. You can’t, for example, get a Merkle Tree Cert from any CA.
 
Upvote
24 (24 / 0)

mg224

Ars Scholae Palatinae
1,391
Subscriptor
Such as...? It would be helpful if you would list the errors so they can be corrected.

I’m not the person you replied to, but I think the article could have made some clearer statements about Merkle Tree Certs. It gives the impression these new certs are only 64 bytes. Which isn’t the case. They have to at least contain a post quantum public key. They also can contain one or more post quantum signatures, though there is an optional signatureless version which replaces signatures with predistributed data (replacing one headache with another).

The principle saving here is for making certificate transparency logs work in a PQ world, as the entries in the logs are now 64 or so bytes independent of the keys and signatures in the certificates.
 
Upvote
28 (28 / 0)

torp

Ars Praefectus
3,488
Subscriptor
When I see a new "security" or "efficiency" standard proposed by Google, I always think not that they're looking out for us, but that they're embracing and extending and hiding behind security theater. Am I the only one?

Edit: oh, it's Google and Cloudflare now. How long until Cloudflare turns from a nice company offering a ton of useful free services into a monopolist everyone hates but can't avoid, like Google did?
 
Upvote
-14 (9 / -23)
Post content hidden for low score. Show…

drfisheye

Ars Tribunus Militum
2,585
Subscriptor
Today’s X.509 certificates are about 64 bytes in size
No they are not. They are typically 1 to 4 kb.

Google's blog contains this:
A naive swap to ML-DSA would add ~14KB to the TLS handshake.
So they'd grow a lot indeed. Just not with the amounts this article mentions.
 
Upvote
23 (23 / 0)