r/programming • • 4h ago

Google rushed to replace its P-256 signing key in Chrome 11 days before the NSA's AI cryptography warning

https://www.xda-developers.com/google-rushed-replace-cryptographic-signing-key-chrome-before-nsa/
415 Upvotes

32 comments sorted by

105

u/happyscrappy 2h ago

That's a good article. Also important in the change is that the new key is a hybrid key. That means that anything which is signed with it is signed twice, by both P-256 and a post-quantum algorithm. So that means to forge a signature would require determining the matching private key for both algorithms.

-8

u/Zeragamba 1h ago

and i believe backwards compatibility when a client doesn't know how to verify a post-quantum signature?

i don't actually know anything about any of this currently

15

u/_verel_ 55m ago

I don't think it's for backwards compatibility. That would open up that specific vulnerability the hybrid key tries to protect

1

u/happyscrappy 55m ago edited 26m ago

I would think that's part of it. But I think it's more of a hedge. If either system is broken the key is still good.

But you could verify the non-quantum signature and get some assurance. At least for the moment. Might be useful for IoT devices that don't want to do as much math?

189

u/topsecretpotato 3h ago

This is how responsible disclosure should work. My understanding is this is the point of the whole white hat, CVE and 0day world: making sure the major vendors have time to fix the core libraries before the world is made aware of it. Once the public know, it’s potentially open season to exploit the vulnerability, better it be fixed at the same time as the announcements.

36

u/dunklesToast 1h ago

but it also kinda sucks that theres a "inner circle" that will get the news earlier and thus smaller companies or some government bodies are left in the dark until public patches are out.

49

u/scythus 1h ago

That's intentional when those companies are producing the infrastructure and libraries that others will need to be secure. When the CVE goes public it also goes public to malicious actors, if there's a 24 hour delay whilst Google gets their shit in order before consumers can update that's 24 hours where hackers have access to an exploit that has no fix.

-17

u/dunklesToast 1h ago

I know it’s intentional but it still feels weird to me that Google gets a 24h (or more) head start with patching while every other vendor does not and is instantly vulnerable. I have no better solution to this because with AI patch-diffing to find the exploit has become so much more trivial, I just don’t like the two-class-system which resulted from this.

15

u/gumol 56m ago

Google isn’t the only vendor getting a heads up

7

u/Kirk_Kerman 28m ago

Google is one particular CA but it's not the only one, and it's not the only one getting the head start. If a flaw is found in cURL then cURL gets an early warning to patch it before it goes public. If a flaw is found in some popular library, that library's maintainers are contacted first.

-1

u/threeys 49m ago

I’m not sure why you’re being downvoted

It’s definitely the case that the entrenched larger entities have an advantage here

Did smaller upstart browsers get the heads up? How about even smaller ones? Same thing with all kinds of other software infrastructure

It’s unfortunate and part of the general problem of scale/market capture/wealth compounds

But I can see why it’s the case, if too many entities get word of the vulnerability, then it’s as good as a 0 day public release

0

u/[deleted] 1h ago

[deleted] — view deleted comment

0

u/node666 1h ago

Did other browser platform change anything?

2

u/florinandrei 1h ago

Yes. Good.

3

u/adzm 1h ago

Isn't this still better than the alternative though?

34

u/teerre 2h ago

This is clearly just "just in case". If there was a real exploit, they would simply say it. From an attackers perspective there's no difference between hearing "RSA is broken" and "be careful with elliptic curves". Attackers aren't stupid

The only explanation for the vagueness is that they simply do not know, so better safe than sorry

0

u/[deleted] 50m ago

[deleted] — view deleted comment

4

u/teerre 49m ago

Really? Where? Are you not confusing it with the old statement?

0

u/[deleted] 48m ago

[deleted] — view deleted comment

5

u/gumol 41m ago

this statement doesn’t say that a real exploit exists

0

u/[deleted] 37m ago

[deleted] — view deleted comment

6

u/gumol 36m ago

yep, that doesn’t mean an exploit exists as of right now

0

u/[deleted] 34m ago

[deleted] — view deleted comment

4

u/gumol 31m ago

knowing that an encryption algorithm is weaker than expected doesn’t mean you can exploit it immediately

vulnerability vs exploitability is a real divide

2

u/Jarcode 26m ago

That does not mean an exploit exists. I gather you are a bit illiterate when it comes to cryptography breakthroughs because they are almost always a reduction in the complexity of theoretical attacks, reducing the surface for brute force attacks. The complexity involved typically still prevents anything from being broken via traditional computation.

I do not doubt this will be a problem in the future and "harvest now decrypt later" attacks are a serious concern, but all the public information so far has been unbelievably vague and not indicative of an existing mechanism to decrypt TLS traffic. We would be dealing with unmitigated chaos otherwise.

2

u/FFevo 1h ago

This is just for their "variations" feature flag system. Haven't they already used hybrid keys in other places for years?

2

u/AdamConwayIE 1h ago

Yes and no.

Their component updater for example has only recently been migrated, and that went through a few months of testing. In fact, Chrome M150 LTS still doesn't have that change, though it's protected by more than just P-256.

What's interesting here is that this would be a vector for influencing someone's browser if a certificate could be forged, so its protection is paramount. Furthermore, it was completed and rolled out a lot faster than the change to the component updater was.

1

u/FFevo 52m ago

Furthermore, it was completed and rolled out a lot faster than the change to the component updater was.

Fair enough. The article does a great job of driving that point home.

-30

u/mb194dc 3h ago

Don't they mean the NSAs buy AI stock or else warning?

0

u/[deleted] 3h ago

[deleted] — view deleted comment

43

u/kodcdangky 3h ago

Or just maybe, large orgs get the news before the rest of us in the public, which is what the headline implies?

0

u/[deleted] 4h ago

[removed] — view removed comment

32

u/alexeyr 4h ago

This content is not about AI or LLMs.

0

u/[deleted] 3h ago

[deleted] — view deleted comment

12

u/topological_rabbit 2h ago

It's definitely AI written

What are the indicators? I'm having a hard time telling the difference, and that's... that's not good. I don't like that one bit.

3

u/halfxdeveloper 2h ago

They don’t know.

1

u/Zeragamba 1h ago

Author looks like a real human at the very least

0

u/[deleted] 2h ago

[deleted] — view deleted comment

20

u/AdamConwayIE 1h ago

Hey, I'm the article author.

Just wanted to state that no, none of this article is AI written. I've been writing analytical content and stuff like this for almost a decade. That includes monitoring the Chromium Gerrit, and I used to monitor the Android Gerrit a lot, too. There are articles of mine from 2017 onwards where I used the Chromium Gerrit for things like identifying unreleased ChromeOS devices.

In this instance, I modified my existing evaluation scripts to pull a year of data and ran the numbers. I'm unsure why you feel that this section is AI-generated. Baseless accusations like these are also extremely frustrating to be on the receiving end of.

I understand that there's a lot of AI slop out there, but there's this massive breakdown of trust between authors and readers as a result. It's tiring.

3

u/qmunke 1h ago

Fair enough, apologies.