Merkle Tree Certificate support is already in Chrome. Soon, it will be everywhere.
See full article...
See full article...
Emphasis on "as part of the article" vs digging through links and repeating your research.I miss when Ars would give an explanation for how tech like this works as part of the article.
Sorry, there are graphs in this article? I checked on desktop and there aren't any there either.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.
Came here with the same complaint. The idea that the X.509 certificate is only 64 bytes is nonsense, when as you said the signature (and public component) for 256 bit ECC is already 64 bytes - and X.509 is not a compact format! RSA certificates are larger still, there's a clue in the algorithm name for the length of signatures and public keys - e.g. 2048, 4096 where these are the lengths in bits.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.
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.
It might be. But we don't know yet.
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.
It always has been outsourced to Certificate Authorities. Browsers and OS include the root certificates of those CA's, so Google, Apple and Microsoft can choose which CA's they trust. But from then on, we need to trust the CA's. The CA's would control the 'issuance logs', or 'ledgers'.Are we outsourcing cert validation to third parties? That can't be right?
it is directly related to their cost, so in this case that is what they will optimize for. in this case probably not the worst outcomeWhen 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?
The "graf" mentioned is journalism slang for "paragraph". Presumably the spelling is non-standard to avoid precisely this kind of confusion.Sorry, there are graphs in this article? I checked on desktop and there aren't any there either.
Validation of the certificates certainly hasn't.It always has been outsourced to Certificate Authorities. Browsers and OS include the root certificates of those CA's, so Google, Apple and Microsoft can choose which CA's they trust. But from then on, we need to trust the CA's. The CA's would control the 'issuance logs', or 'ledgers'.
Quantum computers haven't even proven they work or do anything at all.
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.
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.
I'm not allowed to post links, evidently, but you should search the web for "You Should Run a Certificate Transparency Log", a blog post by Filippo Valsorda, who currently runs a CT log.(and the CT logs are so huge that running a log is not trivial)
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?
Emphasis on "as part of the article" vs digging through links and repeating your research.
...
Questions I had after reading the article:
...
- How much data must be transferred for this to work? Providing the Git commit hash without the objects they represent is useless. Here: be05d659a2c3662e8a6a909d4f769f9ead679fc5. Good luck reconstructing my repo. But that seems consistent with the claim in the headline.
- What do these new certs/chains look like compared to what we have now? Historically we've had intermediate CAs, is that still true?
- How does the data get securely distributed?
- Aren't distributed ledgers/CT logs huge? Are we outsourcing cert validation to third parties? That can't be right? Though this is Google…
I guess I'll have to find the spec and figure it out for myself when I have time.
0 or 1?Big deal, I just ran a sequential integer hash on my entire hard drive and I squeezed it into 1-bit!
Chef’s kiss!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.
I assume I'm not telling you anything you don't already know better than I do, but you worded this very badly. Grover's halves the exponent of complexity, not the time itself. It solves in the square root of time, assuming a quantum computer that operates at the same speed as the classical computer it replaces. That's the difference between something that might take minutes to crack, versus something that won't be cracked before the heat death of the universe. But yes, double the key length and you're right back to the same exponent and a functionally impossible task.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.
My apologies. It won't happen again.Aurich’s gonna be so mad.
There's a minimum post limit (5-10?) before you're considered "not a bot" and allowed to have links.I'm not allowed to post links, evidently, but you should search the web for "You Should Run a Certificate Transparency Log", a blog post by Filippo Valsorda, who currently runs a CT log.
Most relevant paragraph: "Where’s the catch? Well, until recently running a log was a pain, and expensive. I am writing this because as of a few months ago, this has changed!"
Thank you! I haven't read in depth yet but from my quick skim, this looks like it has the level of detail I was looking for!It is indeed a shame that it's not in the article, but if you're interested, Cloudflare has a good blog post about this. Search for "Keeping the Internet fast and secure: introducing Merkle Tree Certificates".
You're right. Thanks for laying everything out clearly. It really helps when commenters provide details. like these rather than say simply there's stuff wrong. I reconnected with Bas from Cloudflare and got the numbers corrected. My apologies.Came here with the same complaint. The idea that the X.509 certificate is only 64 bytes is nonsense, when as you said the signature (and public component) for 256 bit ECC is already 64 bytes - and X.509 is not a compact format! RSA certificates are larger still, there's a clue in the algorithm name for the length of signatures and public keys - e.g. 2048, 4096 where these are the lengths in bits.
The article further complicates matters by mentioning ML-DSA as the quantum safe signature algorithm. The signature size for ML-DSA-44 (the weakest variant) is 2420 bytes.
In fact, Google's initiative uses Merkel Tree Certificates to reduce the overhead of chains of certificates, particularly by the use of signatureless certificates - though even these are expected to be at least 700 bytes in size.
The trust negotiations involved in using signatureless certificates are complicated![]()
I'll put a longer technical explainer of Merkle Trees on my list for future stories.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.”
"
"Write the alphabet 1000 times." It's a special algorithm, but works for certain strings.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.
You just need a really powerful hydraulic press.
I assume I'm not telling you anything you don't already know better than I do, but you worded this very badly. Grover's halves the exponent of complexity, not the time itself. It solves in the square root of time, assuming a quantum computer that operates at the same speed as the classical computer it replaces. That's the difference between something that might take minutes to crack, versus something that won't be cracked before the heat death of the universe. But yes, double the key length and you're right back to the same exponent and a functionally impossible task.
From what I gather it's the fact that the lower nodes on the tree are created from the data of higher nodes, hence new entries are automagically aligned thanks to math. As for not having to validate every step, you just need to ensure that for each key X that you validate against a node Y, you can only validate if the value of Y was correctly generated from the combination of A,B,C... before it, so the validation is like, built into the structure of the beast if you will? Maybe I'm wrong, still learning this stuff and trying to find the best way to describe something that involves a lot more math than I have the markdown skills to do on my phone!I've read the Merkle tree article on Wikipedia. One thing I still don't quite understand is, how do you validate something against the Merkle tree without validating the whole tree? You take whatever you're validating, hash it, then hash that with each sibling node all the way up the tree. How do you know the sibling hashes are valid?
Also, wouldn't the root hash change any time anything is added to the tree? If they're using a Merkle tree to validate all issued certificates, the root would change any time a CA issues a cert. That seems like an awfully fast moving target to validate against.
To be clear, I'm not saying this doesn't work. I'm certain a whole bunch of other smarter people have figured this all out. I'm just trying to puzzle through it.
I've read the Merkle tree article on Wikipedia. One thing I still don't quite understand is, how do you validate something against the Merkle tree without validating the whole tree? You take whatever you're validating, hash it, then hash that with each sibling node all the way up the tree. How do you know the sibling hashes are valid?
Also, wouldn't the root hash change any time anything is added to the tree? If they're using a Merkle tree to validate all issued certificates, the root would change any time a CA issues a cert. That seems like an awfully fast moving target to validate against.
To be clear, I'm not saying this doesn't work. I'm certain a whole bunch of other smarter people have figured this all out. I'm just trying to puzzle through it.
You're right. Thanks for laying everything out clearly. It really helps when commenters provide details. like these rather than say simply there's stuff wrong. I reconnected with Bas from Cloudflare and got the numbers corrected. My apologies.
It's mostly just a specification at this point, but the spec is being worked on in the IETF, in the open, for anyone to contribute to (search for "IETF PLANTS WG"). Chrome is putting a lot of development work into it, but this only works in the long run if there's widescale deployment across browsers.
For Chrome and Cloudflare's proof-of-concept, all of the client-side code is in the open-source Chromium code base. Cloudflare has their MTC code on github (in the "cloudflare/azul" repo).
yes, and as of now, Mozilla is not interested, OpenSSL doesn't have an implementation... and on Windows only Edge will have it because it's Chrome
Google cares, because they have an unhealthy obsession about time to first byte
I see what you did there. Nice...coordinating with other KEY players...
Is this Wikipedia article closer to describing the scheme for validating these certificates?There are two versions of MTC.
The ones with signatures capture all the info for validating the inclusion at the point in time the certificate was issued. The browser doesn’t need to check anything about the hashes, just use them, and check the resulting signature on the root node with the (trusted) CA key is correct. There is no validation against something ephemeral - it is a self contained proof. It’s not obvious to me how much bandwidth this saves for the certificate exchanges. But it does make for much smaller trees than certificate transparency as currently implemented would need.
Ones without signatures require the browser to have so called landmarks, or snapshot of subtrees at a given moment in time. These do save bandwidth per TLS handshake.
I can fit 2.5kB of zero bytes into much less than 64 bytes if you wantIf 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.
I think that's unfair.Emphasis on "as part of the article" vs digging through links and repeating your research.
Ie, yes, there is obviously further reading required, if you want to fully understand the details. That doesn't seem outrageous.I'll admit, now that I've seen the Wikipedia picture (the one outside the article) and had a second read, I think I have a handle on some of those questions but still not all of them.
The CloudFlare blog is a pretty readable explanation.Is this Wikipedia article closer to describing the scheme for validating these certificates?
https://en.wikipedia.org/wiki/Merkle_signature_scheme
Now you need a quantum computer to unzip it.Big deal, I just ran a sequential integer hash on my entire hard drive and I squeezed it into 1-bit!