Hacker Newsnew | past | comments | ask | show | jobs | submit | quotemstr's commentslogin

Google must stop obstructing PQC by tying it to Merkle tree certificates (MTC).

You don't need MTC to use PQC. PQC works fine packaged as regular, normal, X.509 certificates with updated algorithms. But Google won't let Chrome accept such certificates! Under Google's rules, all CAs supplying PQ certificates must be MTC-only. In the middle of a crisis. To which PQC is the solution.

MTCs break TLS authentication for everyone not a web browser. Depending on how certificates are served (landmark-relative vs standalone) you need a continuous feed of data in special JSON files to validate them. You can't just use Google's JSON files either: those are, explicitly, only for Chrome.

> cosigners.json and cosigners.pem are published solely for Chrome...[t]hey MUST NOT be used for MTC validation in non-Chrome TLS clients

Non-MTC PQC certificates work with existing tools. All that's needed is support for the right algorithms. Standalone mode still requires an upheaval of the whole software stack.

From an MTC draft:

> it is expected that, even within applications that implement it, this mechanism [MTC] will not be usable for all TLS connections

The internet is more than web browsers. Is everyone else supposed to lay down and die?

Whether browser makers like it or not, the web PKI is the internet's PKI, and breaking everyone who isn't a major web browser cuts straight against the openness that built the internet in the first place. On top of that, if Google pushes MTC exclusively, support for non-MTC certificates will invariably bitrot.

Since, in practice, only major vendors can run CT infrastructure, software could lose support for independent PKIs. I also have little confidence in the bitrot resistance of the non-landmark-relative certificate path. In practice, everyone will come to rely on a steady stream of trust anchors produced by a small number of organizations.

Plus, support for MTC won't be ready for a while (e.g. for Let's Encrypt, until February), so insisting that PQC==MTC delays the rollout of now-urgent security improvements. Let's Encrypt could roll out PQ certificates today. But these PQ certificates would be regular X.509 certificates, not MTCs, so Google won't let Chrome trust them.

Maybe Let's Encrypt also wants to be MTC-only. That's their prerogative. Google makes it impossible for any CA to make a different choice.

Google's PQ CA program also comes with other requirements unrelated to PQ that constrain how CAs operate and that make them less independent of browser makers. For example, Google will ban intermediate CAs entirely. DCV data must expire in 10 days. Regular clients must renew their certificates weekly. ACME is mandatory.

Google and other browser makers should drop CA requirements not directly related to post-quantum cryptography. Instead, they should let all existing CAs issue PQ certificates exactly as they issue non-PQ certificates today, on a drop-in, like-for-like basis. Doing so will resolve the immediate cryptographic crisis as quickly as possible. After the crisis has passed, browser makers can drive the totally separate and optional MTC project (if it makes sense) asynchronously, on its independent merits.

MTC has nothing to do with PQC. Tying them together is inappropriate in a crisis, especially since MTC ratchets us closer to a centralized internet.

https://googlechrome.github.io/chromerootprogram/cqrp/draft-...


I was concerned about this too, but I came to the understanding that Standalone MTCs are indeed a drop-in replacement, for both client and server.

The Chrome root program document you link says that "MTC CA Operators MUST provide both Standalone and Landmark-relative certificates", and the PLANTS spec says that "An authenticating party SHOULD NOT send a landmark-relative certificate without a signal that the relying party trusts the corresponding landmark subtree".

My hope is that this is sufficient to to ensure that client and server software need not implement Landmark-relative cert support in practice... but I fear this will be another case like "forgetting to include the intermediate cert in your certificate chain" which site operators frequently do but which gets papered over by browsers, so site operators do not fix it.


Doesn't seem like it's only Google, Let's Encrypt are doing that as well - see original announcement[0] and one from yesterday[1].

[0] https://letsencrypt.org/2026/06/03/pq-certs

[1] https://letsencrypt.org/2026/12/03/crypto-algorithms


Why is Google insisting on MTC?

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.


... 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.


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...


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.

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.


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

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.


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.

Or maybe it's plausible deniability?

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

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

[flagged]


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.


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.


> 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.


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.


The improvements associated with the PQ PKI might be valuable indeed, but there's no need to rush them or hold PQC support on the web hostage to others adopting these improvements.

Google (and afair other browser vendors) don't want the browser certificates to be used for other purposes. The main reasons I remember was that cross usage impeded improvements of security for browser tls usage.

Browsers mostly want short lived certificates (to mitigate domain changes, revocation not working, better automation) and CAs want to issue expensive long lived certs. One of their arguments were all the other usecases their certs served. After repeated incidents (on CA side), browsers said "fuck it don't use us to distribute your non browser certs" and simply enforced their view of improved security (especially shorter lifetimes).

So any argument of "this will improve non-browser uses" will not be convincing to browsers. They view that as a downside. (imo correctly so)


That was "fine" (well no, but at least workable) before when non-browser clients could at least just hang on to the browsers and copy their implementation, even if they had no influence on the decisions.

But this sounds as if a core part of the PKI infrastructure will now be a proprietary data feed by browser vendors.

So how would a tool like curl even continue to work with this system?


> Google will ban intermediate CAs entirely

wow, this is pretty big?

even Google used to rely on these. good thing they have their own CA now do doesn't apply to them... how unfortunate for those that don't..


Never waste a good crisis is a motto i suspect has been thrown around a lot in the past few days/weeks.

I am shocked, shocked I say, that WebPKI only works as PKI for the web and not PKI for everything and the kitchen sink. If you're designing your own protocol, have you tried requiring DANE?

If EC is broken, yes, you can reconstruct past session keys.

Depends on how broken EC is. If we're talking "it takes 2 days of all of US data center capacity to crack" then yeah we're OK.

Something else to factor in: NSA is almost uniquely positioned to understand how quickly attacks will get better. 2 days now becomes 1 day some time soon, and so on down the scale, and you can bet they have a good read on what the constant factors in the shape of that curve are.

None of that is accurate. Cryptocurrency needs signatures. You can build signatures from hashes, believe it or not. Hashes, like symmetric cryptography, aren't going anywhere.

You do need various asymmetric schemes for key agreement, certificates, and so on, but that's a separate matter.


Can't apply a technical fix to a social problem. Rigor mismatch, I've found, bus just a personality clash that doesn't get better over time.

Why should the type checker have to know anything about Django? What if I want to make a framework with the same shape? Do I submit a PR to Ty? One that I bet would be rejected because I didn't have any users yet? Users who won't come without type checking support?

This style of development is unfair to innovators and ossifies the ecosystem.


Ideally it shouldn't; I don't think anyone would argue otherwise.

But (1) django is older than Python's type system, so it uses some very dynamic patterns that are hard to express using Python types. And (2) it's very popular, which means both that lots of people want their type checker to do Something Useful™ with django code, and that it would be very difficult to retrofit django to use dynamic patterns that _are_ more compatible with the type system. That combination makes it worth our time to add specific custom support for it.

For your own future library, the hope is that the type system has become capable enough that you wouldn't _need_ custom type checker support. Things like `dataclass_transform` [1] were added specifically so that _all_ libraries could express these kinds of things in ways that are visible to the type checkers without custom support.

If you're doing something that still doesn't fit into what the typing system provides, then the Python typing community wants to learn about your use case so that we can see if we can extend the typing system even further to support it.

[1] https://typing.python.org/en/latest/spec/dataclasses.html


Django doesn't really do any too crazy. Most use cases would be filled if there were a way to declare:

- Adding field X also adds field x_pk

- Adding field X also changes the signature of function Y to accept parameter x, x__lt, x__gt, etc.

- Adding field X lets you do a.x = 5, even though X is not really an integer

As an aside, I have to give it to the Typescript team for taking Javascript which was fundamentally as metaprogramming happy as Python, and creating a type system that matched it. Having a goal that every popular pattern in Javascript should be type-checked was a great starting choice, because they couldn't simply copy some other languages' static typing methadology and had to work from teh ground up.


There is a lot more than that. Reverse FKs, chained relations (foo__foofk__barfk__in), complexity regarding Django's several understandings of "abstract"/interfaces/protocols (abstract models, form classes that implicitly can or must provide methods with specific names/signatures depending on what fields are on the form, etc.), runtime-generated model classes (how and where to check in or tell the typechecker about those stubs?), lazy objects that change type (gaining and removing/changing behavior) at runtime based on things that are pretty hard for a type checker to notice, like random field access/indexing, and so on.

And that's just the core Django dynamism; the stuff that needs to work really well. Not even getting into stuff that would be nice, like custom managers providing methods to model instances, Q/F type helpers, any sort of typing help with templates (even just "can this method be called with the signature this template wants"), complex model introspection typing, something cleaner than pydantic/manual TypedDicts for form data at the ser/de boundary, and so on.

Even that bare minimum requires some pretty difficult features, type-checker wise: extremely distant dependent types ("if field X exists, method Y should take kwargs X__in and so on" as in your example, as well as "if field X exists, method get_X must be declared on class Y with signature Z", and "if field X exists, then a very distant method in a model manager needs to be documented to return type Y if values_list=True"), very robust support for runtime-created signatures that in a lot of Django systems cannot be generated and checked in (e.g. database-derived models or JSON-backed fields outside of Postgres), extremely complex dependent typing in classes whose generic bounds are determined pretty late/at mixin time (but which may also conceptually be mixins that can only be used in a very few appropriate cases), and more.

Like, just think about model field names in manager method arguments--a tiny fraction of the problem. All the different chained/related kwargs would have to be computed and typed, as well as their disjoint: if I rename field "foo" to "bar", and forget to update some caller that does "m.objects.filter(thing__thing2_fk__foo__in=[1,2])", it'd be great if the type checker could help me catch that. But even if it can't, does that mean that "objects.filter" has all-optional typed kwargs and also takes **kwargs as well, because the type coverage is gradual? As soon as that's allowed, a whole lot of useful typechecking abilities go out the window since misnamed keys can just fall into the wildcard. Solvable, sure, but a major pain in the ass to implement--especially given that Django is a fast-moving target adding/removing/changing functionality all the time.

Again, that's just Django basics. Things that ordinary, bog-standard, not-using-advanced-functionality Django code needs all the time. If the typechecker mishandles one of those cases and makes life harder, people will abandon it. There's a very tricky line to walk here re: when to be strict and when to give up on typechecking entirely, but Django has a lot of places where the latter is necessary.


Your bare minimum is far more complicated than mine.

However my point was: type checkers of today can’t even handle the far more simple desires that I have.

It seems they aren’t committed towards dynamism as a default.


That’s the bare minimum because it’s the set of features where partial type checking is worse than no type checking, not because I think it represents the average Django application.

For example, if a type checker can accurately analyze objects.filter(x=Foo()) for a foreign keyed Foo, and require that “x” have that type, that seems useful on its own … but if the type checker then does not check the types of x__in=[Foo(), Bar()], that’s worse than useless: folks will get used to type protection in the first case and expect it in the latter, and be disappointed in the form of production bug rates going up.

That’s why I picked the features I did for “Django bare minimum” type checking. If you typecheck that stuff any less than really thoroughly, correctly, and covnveniently, the ROI of the type checker may become negative.

That’s why, for many projects, I find “type annotate and check business logic, leave Django largely un-checked (consider annotations to be notes for humans) and prioritize test coverage there instead” to be the right move.


The Python typing community has known about the expressiveness problems for years. It's forward-only, has no HKTs, no type computation, no complement. I can't even do generic parameter list transforms.

All of these are known deficiencies. Everyone who brings them up is told to pound sand, their use cases deemed illegitimate. Might as well be GNOME.

It's fundamentally unfair that Django gets to use aspects of the language other tools can't, and one hard coded dataclass-style transform is inadequate.

So help me God, if I ever do another large scale Python project, then if these issues aren't fixed in typing, I will vendor and modify a type checker in the project itself and teach it my project's patterns directly. I will not twist and distort my design vision so it rhymes with dataclass.


> It's fundamentally unfair that Django gets to use aspects of the language other tools can't

You can just ... not typecheck parts of your code. All of these tools are gradual, since Python's much too dynamic to encompass everything. Falling back to runtime "I know how this works" dynamism isn't a sin, it just requires a little care. Add restrictions (typed wrappers, verbosity/limitations a la dataclass_transform) at the boundaries where people make frequent mistakes, and move on with your life.


I agree; we don't like this either. But there is no palatable short-term alternative. If we don't do it, then Django/pydantic/attrs users will just prefer other type checkers that do. The best long-term option is to make all of this expressible in the type system; there are proposals currently under consideration that will go a long way towards this.

Plugins do provide a more level playing field, and we aren't closed to the possibility of supporting them in future. But they come with a whole host of challenging technical problems, and we have a lot of other high-priority things to work on.


These proposals have stalled behind consensus hell for years. Enabling plugins would be a pragmatic option: you could even spell them as HKTs or something right in the source. Or you could enable private type system extensions.

I'm not sure about Django + Ty specifically, but some dependencies need a plugin because they're impossible to type annotate otherwise. For example, sqlalchemy + mypy

Exactly. Why are we baking support for this or that package to the core instead of enabling plugins or just making the type system more expressive?

Another commenter explained pretty well why Django is "special" here: https://news.ycombinator.com/item?id=50720035

It takes a great effort and time to push things like PEP747 forward and when you manage, perhaps you need to wait several years until the lowest supported version of python implements the changes you wanted.

[dead]


pydantic needed the mypy plugin from the beginning because their types meant something different than the python semantics. For example pydantic allowed "a: int = None" which is an error for mypy.

This is allowed by mypy if the implicit_optional option is set.

https://mypy.readthedocs.io/en/stable/config_file.html#confv...



> I don't think this particular thing is a thing to lose sleep over.

Well, what's going to help sleep is the adoption of PQC in hybrid form (edit: as is almost universally done today, a good thing!) instead of as a lattice-only cryptosystem. The push to adopt classical and PQC cryptography in parallel was meant to prevent catastrophe in exactly this specific situation. Amazing foresight.


Virtually all mainstream deployments of PQC are hybrids. That's what XWing is.

This is my understanding as well, though I'd note that the hybrid key establishment in SSH and TLS aren't XWing but just concatenation.

With that said, AIUI there is more interest in pure MLDSA for certificates and signatures, but there is little deployment of post-quantum authentication anyway due to the large key and signature sizes.


Concerns over key sizes seem short-sighted to me. I understand the concerns in the abstract, but even one megabyte keys would be manageable, whereas a cryptography break would be catastrophic. It's really hard to see the risk tradeoff favoring small keys or cycle-shaving here and there. (Yes, Serpent should have won.)

Over time, performance disadvantages matter less and less and compression of cryptographic security margin matter more and more.


I'm mostly just reporting the situation on the ground, rather than making an argument about the right answer. With that said, larger key sizes have a pretty substantial negative impact on performance even at the MLDSA size (because there are a lot of signatures in your typical TLS handshake) and once you get above 65K you start to need to worry about things like whether the keys actually fit into your handshake messages (TLS key shares have a 16 bit length, but certificates can be up to 2^24 bytes).

Update: David Adrian's post from 2024 [0] gives a good sense of the sentiment in the industry. Hence Merkle Tree Certificates.

[0] https://dadrian.io/blog/posts/pqc-signatures-2024/


Exactly. That's my point. It is a good thing that "virtually all mainstream deployments of PQC are hybrids" and a demonstration of sagacious foresight.

Unfortunately, ancient Unix tradition makes everything gravitate towards a global heap. You can do something different, but you're fighting the system when you do. There should be a Windows-style multi-heap allocator API, for example, but there isn't. Instead, making a new heap is something every random heap implementation has its own API. Common practice is for one component to free() memory allocated by another too, sadly.

Still useful as an instructional aid though. Everyone should implement a simple malloc at least once just to demystify the heap.

The latest "thing" in some circles is denying that the recent proofs, e.g. of the Riemann hypothesis, are proofs of anything. People point out pointless or tautological sections of these proofs as evidence that the proof itself might be ill-formed, but Lean and similar systems don't work that way: absent a kernel bug, introducing unnecessary noise to a proof cannot make it prove something false.

Others are looking hard for kernel bugs. They exist, but there are good reasons (including multi-kernel validation) to be confident they don't impair these recent proofs.

In a situation in which you have a cohort of people who "want to believe" in some unlikely thing, you have to take the evidence they present with a grain of salt. So it is, today: people "want to believe" we haven't basically solved automated theorem proving when we have.


> are proofs of anything

They literally aren't proofs.

Proofs are verified truths built from axioms.

None of that applies to Lean. Lean is a program that generates C code that is compiled and run on a CPU. None of that stack is verified.

The probability is errors in Lean is likely very small, but math isn't about finding solutions that are unlikely to fail. Math is about proofs. You don't prove a theorem by demonstrating that the probability of it being false is very small.


That seems like an unreasonable standard to hold Lean to without holding ordinary mathematics to it as well?

Errors in ordinary social proofs are completely common, after all.


By any standard that rejects Lean proofs, we also must reject many, perhaps all, human proofs.

Here's a formalised C compiler for you: https://compcert.org/

As for RTL design, here's an article from 2003 citing "a great deal of experience" I'll leave it to you to extrapolate to modern systems: https://www.microsoft.com/en-us/research/wp-content/uploads/...


You don't need to compile Lean code. You can also read and follow the proof manually, without any computer assistance, if you so desire.

Mathematics has always been about convincing people that your argument is true. There's no magic green check mark bestowed by god. If "compiles in lean" is good enough for most folks, then that's what it's gonna be. The field will move on with or without you.


Okay, name one actual proof that fits your definition.

So much motivated reasoning from people who desperately don’t want to believe what is happening is real, even from smart folks like the musl implementer.

It's real, but it isn't math.

That's a matter of taste and I won't argue, but it's silly for this guy to assure his fellow AI-haters (some of whom might regard him as an authority because of his impressive but irrelevant accomplishments in systems programming) that the proof isn't real, when even the most anti-AI top mathematicians (like Peter Scholze) aren't claiming that. I really wonder how much of this is sincere belief and how much is just signaling.

> the proof isn't real

The proof isn't real because it isn't a proof.


If you take out the token decoder layer and put a scalar output head there instead, is it still a LLM?

I mean the thing obviously understands natural language, so it's obviously a large language model on some level. It doesn't stop being one of it's a tweaked transformer or a SSM or some kind of encoder-only setup.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: