# How I Nearly Found the eMudhra d=4 Private Key

Original title: How I almost found the eMudhra d=4 Private Key

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

▲ 336 · by [hannob](<https://news.ycombinator.com/user?id=hannob>) · 💬 65
[original](<https://blog.hboeck.de/archives/910-How-I-almost-found-the-eMudhra-d4-Private-Key.html>) · [HN discussion](<https://news.ycombinator.com/item?id=50758376>)

## Summary

Hanno Böck, developer of the badkeys tool, recounts how close he came to discovering the eMudhra certificate authority's private keys, one of which was simply the integer 4. He had already generated test keys for small ECDSA values and scanned CCADB certificates, but never added them to his blocklist. The keys were eventually found by someone using Google's paranoid_crypto tool, which implements the Baby Step Giant Step algorithm.

## Key quote

> There surely is some irony in the fact that I went out to look for a way to implement a check for ECDSA keys with small d values, and ended up finding RSA keys with small private d values and implemented a check for them first.

## HN discussion (65 comments)

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

> Reminded me of a story I read long ago, where inventor of ping was "jealous" (jokingly) that he didn't think of traceroute.

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

> Would it be feasible to run a crawler that connects to all HTTPS ips on the internet and tries to bruteforce the key with a time budget of a couple of seconds?
>
> Alternatively make browsers brute force keys when connecting via HTTPs, maybe distributing the work by checking a registry of keys that were already tried by some other user with the same browser?

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

> I can't pretend to understand all of this, but can anyone enlighten me as to what the motivation would be to us such as low number as the ECDSA private key? Was it just a cock-up or is there some benefit in terms of speed etc?

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

> I’m a complete noob, “Baby Step Giant Step algorithm” is the best algorithm the crack the public key starting by the easiest values first? Wikipedia is a bit unclear.

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

> Still blows my mind how close to the bone this xkcd got too: https://www.xkcd.com/221/

---

## Cite

- Page: https://zeli.app/story/50758376
- Date: 2026-12-04
- Source: blog.hboeck.de (https://blog.hboeck.de/archives/910-How-I-almost-found-the-eMudhra-d4-Private-Key.html)
- Hacker News: https://news.ycombinator.com/item?id=50758376

## Other languages

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