Remix.run Logo
▲ quotemstr 6 hours ago

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.