logoalt Hacker News

eqvinox • today at 4:56 PM • 13 replies • view on HN

Since I haven't seen this mentioned enough yet:

The private key for all 8 "compromised" CAs is a single byte: https://mastodon.catgirl.cloud/@49016/117474217042191790

One of the private keys is literally "4".

I'm putting "compromised" in quotes here, because I can't call it that without cringing and cursing.

[cf. also: https://news.ycombinator.com/item?id=50169109]


Replies

saidnooneever • today at 8:32 PM

I BET this is an error code. they wanted to generate some key via something and it errors and put error code 4 as key and since encryption is dumb and people are people, no one looked at the key material.

edit: The reported private scalars were 4, 56, 66, 115, 155, 156, 230, 237 across the eight certificates so its unlikely i will win my bet :'D

➕ show 4 replies
ROllerozxa • today at 5:09 PM

Is this real? This seems so ridiculous it makes me wonder for how long this CA has been in circulation in systems and if it has been exploited by someone previously discovering it in that time (state level actor or not). My old phone running Android 6 does not have any certificate from EMudhra, at the very least.

➕ show 6 replies
oasisbob • today at 6:16 PM

More details in the now-public bugzilla issue:

https://bugzilla.mozilla.org/show_bug.cgi?id=2083449

➕ show 4 replies
sippingabonedry • today at 6:29 PM

> One of the private keys is literally "4"

https://i.sstatic.net/Y3zE3.gif

lionkor • today at 9:22 PM

Maybe somewhere in the code it says

    key_string = to_string(*key);
instead of

    key_string = to_string(key);
gwittel • today at 5:29 PM

Yikes. I’d have to wonder if this CA should even be trusted ever again?

➕ show 2 replies
Dragory • today at 7:28 PM

Anyone have a mirror for the first link? It served me a page assumedly intended for AI scrapers and then promptly blocked me when I refreshed a few times.

kylepomykala • today at 5:06 PM

I am shocked that one of the private keys was literally “4”. Anyone could have broken into this. I really hope there is an industry-wide effort to stop things like this in the future.... but I doubt it.

➕ show 3 replies
rep_lodsb • today at 5:20 PM

chosen by fair dice roll, no doubt

➕ show 1 reply
jeffbee • today at 5:25 PM

4 is as likely as any other randomly chosen number over a given range.

➕ show 1 reply
rolandog • today at 7:47 PM

> One of the private keys is literally "4".

Oh no, they reverse engineered the random number generator!

[0]: https://xkcd.com/221/

poizan42 • today at 5:36 PM

They used the xkcd PRNG: https://xkcd.com/221/

Kikawala • today at 6:34 PM

[dead]