# eMudhra's CA private keys were literally the number 4

Original title: Eight Bits of Trust; eMudhra's CA keys cracked in milliseconds

> Hacker News story 50177916 · language: en · submitted 2026-10-21
> Web version: https://zeli.app/story/50177916
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 924 · by [hkc](<https://news.ycombinator.com/user?id=hkc>) · 💬 454
[original](<https://scotthelme.co.uk/eight-bits-of-trust-emudhras-ca-keys-cracked-in-milliseconds/>) · [HN discussion](<https://news.ycombinator.com/item?id=50177916>)

## Summary

Eight eMudhra intermediate CA private keys turned out to be single-byte numbers — 4, 56, 115, and so on — that anyone could brute-force in milliseconds from the public certificates. The keys date to April 2025, and the flaw can't be contained: browsers blocked the intermediates within days, but curl, Python, Node, Go, Java, and frozen IoT firmware still trust them. Scott Helme forged a certificate for api.stripe.com and watched default clients accept it.

## Key quote

> They are inherently weak single-byte keys that anyone can factor, and the issue cannot be contained.

## HN discussion (454 comments)

### [jasonjayr](<https://news.ycombinator.com/item?id=50179224>)

> \> It's fortunate that the steps required here aren't particularly complicated for the devices you can update, and the advice essentially boils down to 'update them'. The problem is the devices you can't update or update easily.
>
> \>    Update everything that ships a CA bundle: your OS ca-certificates package, certifi, Node, Homebrew, and rebuild your container images once the base images pick up the change.
>
> \>    Devices you can't update are the hard part. Routers, printers, TVs, appliances with frozen firmware will trust these certificates until expiry, which is July 2039...
>
> Quick -- we need to MITM all the smart TVs so they can be jailbroken in one fell swoop!

### [john_strinlai](<https://news.ycombinator.com/item?id=50180284>)

> new email from wayne, who is the original reporter:
>
> "I've had more than a few emails asking on how this was discovered. The simple answer is: https://github.com/google/paranoid_crypto
>
> Yeah, out of the box. CCADB was intended to be a quick corpus test before looking at subscriber certificates...
>
> I've done a far more thorough check of all existing CCADB certificates, thankfully no more hits. Most of my time has been spent going over the basics that everyone assumed someone else had already done - a critical mistake to ever make near security.
>
> So unless someone has significantly more computational resources or access to more cryptanalysis research the low-hanging fruit has been caught so far."
>
> https://groups.google.com/a/mozilla.org/g/dev-security-polic...

### [jlmorton](<https://news.ycombinator.com/item?id=50178296>)

> In retrospect, having 100 trusted certificate authorities might have been excessive.

### [irusensei](<https://news.ycombinator.com/item?id=50180793>)

> Okay hear me out. People are complaining about unpatcheable IOT device and thats indeed concerning. But can’t we use the bad keys to generate seemingly value certificates that can be used to jailbreak these devices?
>
> EDIT: seems its already happening? https://x.com/otomir23/status/2112697830687047918

### [sashank_1509](<https://news.ycombinator.com/item?id=50185685>)

> I’ve tried asking Opus 5.5 but I don’t fully get the mechanics of this Certificate Authority stuff, wonder if someone can dumb it down here for me.
>
> Here’s what I understand, every website sends some data encrypted by some key issued by CA and then the browser decrypts it first and then decrypts something in that message, to verify that Google.com, is google.com. I still don’t get why CA’s even exist, not sure what they are solving and how they’re doing it.

### [WalterGR](<https://news.ycombinator.com/item?id=50178222>)

> Related: https://news.ycombinator.com/item?id=50166579
>
> “eMudhra intermediate CA compromise” |
>
> 947 points | 19 hours ago | 408 comments

### [amluto](<https://news.ycombinator.com/item?id=50181600>)

> For all that DNSSEC is crap, DANE would at least mean that a domain is only vulnerable to failures of the authorities relevant to the domain.
>
> Meanwhile there are two less invasive changes that really ought to happen:
>
> 1. A clean way for things like curl and Python to start checking CT logs like Chrome does.
>
> 2. Name constraints. It’s long past time for the CAs of the world to have name constraints enforced. A CA that is not appropriate to use for .com should not work for .com.  A CA that is not appropriate to use for .ae should not work for .ae. And the CA/B Forum should should requiring that all newly approved roots and all newly signed intermediates have appropriate name constraints.

### [bombcar](<https://news.ycombinator.com/item?id=50178192>)

> Of COURSE it's easy to crack, 4 isn't even prime!

### [Ambroos](<https://news.ycombinator.com/item?id=50181088>)

> My oven (which has a camera and WiFi, don't ask, it's a great oven otherwise and doesn't exist without WiFi) received a software update this morning. I can't help but wonder if it's related.

### [geye1234](<https://news.ycombinator.com/item?id=50182613>)

> For those running Ubuntu, the following page tells you what to do. It's two commands:
>
> https://ubuntu.com/blog/emudhra-ca-compromise-fixes-availabl...

---

## Cite

- Page: https://zeli.app/story/50177916
- Date: 2026-10-21
- Source: scotthelme.co.uk (https://scotthelme.co.uk/eight-bits-of-trust-emudhras-ca-keys-cracked-in-milliseconds/)
- Hacker News: https://news.ycombinator.com/item?id=50177916

## Other languages

- zh: https://zeli.app/zh/story/50177916 · markdown: https://zeli.app/zh/story/50177916.md
- ja: https://zeli.app/ja/story/50177916 · markdown: https://zeli.app/ja/story/50177916.md
- ko: https://zeli.app/ko/story/50177916 · markdown: https://zeli.app/ko/story/50177916.md
- de: https://zeli.app/de/story/50177916 · markdown: https://zeli.app/de/story/50177916.md
- es: https://zeli.app/es/story/50177916 · markdown: https://zeli.app/es/story/50177916.md
- ru: https://zeli.app/ru/story/50177916 · markdown: https://zeli.app/ru/story/50177916.md
