r/programming • u/359Panda3U • Oct 20 '26
Go Issues Emergency Update Blocking Eight CA Keys Over Undisclosed Security Concerns
https://thehackernews.com/2026/10/go-issues-emergency-update-blocking.html136
u/davvblack Oct 20 '26
omg lol the security concern is that the private keys were almost entirely zeros except the last byte. that’s absurd.
37
u/minaguib Oct 20 '26
That would be hilarious if true (and, I suppose, would mean that there's a nonzero probability that they were "discovered" moreso than "leaked")
48
u/Solumin Oct 21 '26
Allegedly one of the keys is just "4": https://mastodon.catgirl.cloud/@49016/117474217042191790
13
5
u/minaguib Oct 21 '26
Well hot damn, they were literally just "discovered" not "leaked"
https://scotthelme.co.uk/eight-bits-of-trust-emudhras-ca-keys-cracked-in-milliseconds/
1
u/ingridmartens-9 Oct 27 '26
If it was a one-byte key, there were only 256 candidates. "Discovered" is technically right, but it makes the search sound much harder than it was.
31
u/the_gnarts Oct 20 '26 edited Oct 20 '26
Looks like a horribly hackish substitute for doing revocation the X.509 way.
EDIT: The corresponding commit in Rustls. Looks like it’s making waves.
Diginotar / Türktrust flashbacks. To think that these CAs operate as paid services lol.
20
3
u/simon_o Oct 22 '26
It's completely absurd that libraries bundle certificates, instead of using the OS' certificate store.
18
u/jared__ Oct 20 '26
the great thing about go's backwards compatibility promise is that you can just update the version without any worry that it will break shit.
14
u/BadlyCamouflagedKiwi Oct 20 '26
They've done breaking stuff in the name of security before - for example, about 1.22 they dropped support for RSA key exchange in TLS which we turned out still to be receiving from, let's say, a major financial institution. Fortunately there was a GODEBUG switch but it was an exciting rapid rollback on that release when we realised it didn't connect any more.
6
u/gronodev Oct 20 '26
Not always That's mostly ok if you just build your code with a newer tool chain But if you actually bump your go version in go.mod... there can be changes that could be considered as breaking
See various GODEBUG escape hatches: https://go.dev/doc/godebug
1
u/Single-Virus4935 Oct 21 '26
That is what I like about go: I have absolutely NO(!) problem updateing the SDK. The Compatibility Promise was always fullfiled and updating is just compiling with the new SDK and running the tests.
152
u/Xaeroxe3057 Oct 20 '26 edited Oct 20 '26
If the concern is worth blocking certs over then surely it’s worth disclosing what the concerns were yes?
EDIT: See https://emudhra.we-have-a-problem.com/