Remix.run Logo
▲ izend 6 hours ago

Why is Google insisting on MTC?

▲hxtk 6 hours ago | parent | next [-]

ML-DSA signatures are several kilobytes, and a typical certificate these days has three of them (the issuer signature and the two transparency log signatures), plus the signature for the actual TLS handshake to authenticate the server, for a total of 4 ML-DSA signatures transmitted for every TLS handshake.

AFAIK the 4th one (the server signing its contribution to the TLS handshake for authentication) is unavoidable, but the other three are 8-14kB (depending on the ML-DSA key size) that we didn't have before that we can theoretically avoid for publicly-trusted certificates in the majority of cases with Merkle Tree inclusion proofs.

Google wants to avoid adding overhead to initializing connections because that's a significant source of latency for mobile clients, the same reason they like technologies like QUIC.

▲quotemstr 6 hours ago | parent [-]

... and? Is that supposed to be a lot of data? Web sites pull down literally orders of magnitude more on a regular basis for purely aesthetic reasons. MTC certificates will be impossible in the near future to use for anything not a browser, and even then, they'll be much harder to use on an ongoing basis.

The nice thing about the usual CT inclusion proofs is that I can ignore them. With MTC, browser vendors have decided, apparently on behalf of everyone else and without their consultation, that the CT log is the PKI. No, that's not a feature! It's a centralization and a reduction to a small number of points of failure.

▲cryptonym 4 hours ago | parent | next [-]

This will lead to packet fragmentation on both TCP and UDP (h3).

Of course, that isn't much data but adding that to the very first packets of each connection is impacting user-experience and adds-up for providers.

You may disagree with trade-off of a specific strategy, but overall working on keeping TLS handshake efficient is a good thing.

▲rocqua 5 hours ago | parent | prev | next [-]

Its not a lot of data, but it slows down time to first render. Especially because with traditional TCP bandwidth management, because the first few packets are when you get exponential ramp-up.

That time to first render matters a lot to user retention. And hence is considered very important by businesses. I suppose google fears that would slow down PQC adoption.

It’s not a strong argument. But it’s the best I can imagine.

▲nickf 5 hours ago | parent | prev | next [-]

It is a problem - Google and Cloudflare have tested it, and it doesn't work. Google, Apple, Microsoft and Mozilla are all behind MTC now. They decided based on them wanting to protect their billions of collective users.

▲trickypr 5 hours ago | parent | prev | next [-]

Some sites are still very small, and being small has a bunch of advantages. E.g. keeping your page below 14kb can make a page significantly faster because of tcp shenanigans.

https://endtimes.dev/why-your-website-should-be-under-14kb-i...

▲bawolff 3 hours ago | parent | prev | next [-]

Not all data is the same. Large amounts of data in a TLS handshake is very different from pulling in a large image that doesn't even block html rendering.

▲ithkuil 5 hours ago | parent | prev [-]

Yes but that data can be cached. You still need a small request to check whether the cache has expired

▲sam_lowry_ 6 hours ago | parent | prev | next [-]

I have my side of the story and a lot suspicions, but I keep those for myself.

For many years, Belgium published their Root CA 1 and Root CA 2 certificates in operating systems and browsers. These would work, for example, to sign in with government-issued identity cards on websites using PKCS11. Other countries were slowly catching up.

But a few years ago, CA/Browser Forum decided that they do not want to support certificate chains that can be used in other contexts than the connections between browsers and websites.

They evicted everyone remotely suspicious. This pushed e.g EU countries to create the EU Trusted List aka EUTL.

Now with MTC coupled with device integrity checks they will make other trust stores second-class citizens at best.

▲nickf 4 hours ago | parent | next [-]

Using a client certificate or identity card with a certificate on does not require the roots or CAs to be locally trusted - so there's no need to have those roots in an OS or browser trust-store.

▲sam_lowry_ 3 hours ago | parent [-]

CA/B Forum could have limited country certificates to their respective TLDs via X.509 Name Constraints.

▲nickf 2 hours ago | parent [-]

No? Why? Name constraints never really worked. How would it even work, though? If they're issuing for TLS, they don't need to be a CA. If they need the CA for your suggestions of ID, client authentication - the CA does not need to be trusted and indeed should not be.

▲sam_lowry_ 2 hours ago | parent [-]

You forget that we are talking about sovereign governments there.

▲nickf an hour ago | parent [-]

Sure, but if they want to be 'sovereign' they can ask citizens to install a root. Name constraints don't work, and the rest of the world won't want to trust a government's CA unwillingly.

▲cowlevel 5 hours ago | parent | prev [-]

It's almost like the CA/Browser Forum is for CAs and browsers and doesn't really care about anyone who isn't a CA or a browser.

▲bigfatkitten 5 hours ago | parent | next [-]

It’s really for Browsers (and even then, it usually gets railroaded by Google.)

▲sam_lowry_ 5 hours ago | parent | prev [-]

Or maybe it's plausible deniability?

▲cowlevel 4 hours ago | parent [-]

If so, it's a damn good job because it's something they should have done long ago anyway. Everyone knows you want your attack surface as small as possible. Do you want Honest Ahmed's Used Cars and Certificates to be holding up your internet security?

▲sam_lowry_ 3 hours ago | parent [-]

I don't see much of a difference between Honest Ahmed and, say, DigiCert when my use cases involves signing into ehealth.fgov.be to check my lab results.

Both are totally out of control of my elected officials.

▲nikanj 6 hours ago | parent | prev [-]

Based on the above: It makes sure that more web traffic happens over Chrome

▲murderfs 6 hours ago | parent [-]

[flagged]

▲quotemstr 6 hours ago | parent | next [-]

It's shortsighted to prioritize a few kilobytes over every other consideration, often to establish a connection that's immediately going to pull down megabytes of stuff anyway.

We can take the size hit for now, then optimize performance on its own, separate schedule. It's just not that much data in the scheme of things.

> require ~7.5kB to be sent on every connection.

Only on the first connection. TLS 1.3 and HTTP/3 both support 0RTT connection resumption. No need to re-send the certificate. TLS 1.2 session resumption is similar. Plus, that's just not that much data.

I don't think a few KB is worth centralizing the internet's PKI and breaking compatibility with a ton of existing software without necessity.

▲hxtk 5 hours ago | parent | next [-]

It doesn't actually break compatibility; one of the problems with Merkle Tree Certificates is that they really only work for public-facing WebPKI certificates. If you're, for example, an internal corporate CA, your certificate (probably) won't be included in transparency logs and certainly won't be in the public transparency logs that browsers will cache.

Even if you are a publicly trusted WebPKI certificate, your client might just have a slightly out of date trust store that doesn't include the merkle tree for which you can offer an inclusion proof, if your certificate is brand new.

In all of those cases, the behavior falls back to the negotiation process we know today and the server just sends the signature blocks for the certificate.

Personally, based on my current understanding, this seems like it's very much an optimization rather than something required for a minimum viable deployment. I understand it not being the default, but the fact that publicly trusted CAs aren't permitted to sign ML-DSA certificates right now and no ML-DSA trust roots existing is odd to me.

On the other hand some serious people who are SMEs in WebPKI and don't work for Google or Cloudflare seem to think MTCs are essential, so I tend to assume there's something I haven't thought about or have underestimated the scale of that would become a real problem if these certificates were deployed universally.

▲murderfs 6 hours ago | parent | prev [-]

> No, what's retarded is prioritizing a few KB over every other consideration.

The take I'm calling retarded is the parent's "Google is masterminding this to make everyone switch to Chrome" assertion.

> We can take the size hit for now, then optimize performance on its own, separate schedule. It's just not that much data in the scheme of things.

Now that it's apparent that taking the size hit is important, yes, we can. MTC has been in the works for over a year.

> Only on the first connection. TLS 1.3 and HTTP/3 both support 0RTT connection resumption. No need to re-send the certificate. TLS 1.2 session resumption is similar. Plus, that's just not that much data.

Hit rate on this is ~40% per cloudflare, and 7.5kB is massive when you consider that there's about a billion people browsing the web on 3G or worse mobile networks.

> I don't think a few KB is worth centralizing the internet's PKI and breaking compatibility with a ton of existing software without necessity.

How is this any more centralized than the existing PKI? That software isn't going to work with PQC anyway.

▲kqgnkqgn 6 hours ago | parent | prev [-]

This is an inappropriate comment.

And Google is by no means a benevolent actor in standards discussions. They have a history of attempting to monopolize their own control, and ignore impact to any use cases outside of the narrow set that help them.

I won't claim to be am MTC expert. But from what I can see it seems like it will be problematic for many use cases - private CA's, non-HTTPS, etc. Hope to be proven wrong though.

Some of these seems solvable w/o MTC by simplifying the CA structure and removing so many levels of child CA's.

▲quotemstr 6 hours ago | parent [-]

MTC might valuable, but there's no need to rush it or hold PQC support on the web hostage to it.