Oriel — AI & technology worth noticing, every day.

How I almost found the eMudhra d=4 Private Key

Web page · https://blog.hboeck.de/archives/910-How-I-almost-found-the-eMudhra-d4-Private-Key.html

First seen by Oriel on .

AI summary

The post traces how eMudhra’s ECDSA keys with tiny private values, including d=4, were discovered and why the author’s badkeys scanner came close to finding them earlier.

  • A 2025 issue proposed checking elliptic curve keys for small private values; the author had generated keys up to 16 and stored them locally, but had not added them to badkeys’ blocklist.
  • The author considered Pollard's Kangaroo and Baby Step Giant Step for algorithmic detection, but focused on RSA findings and implemented Wiener's attack after finding CompleteFTP generated RSA keys with d=65537.
  • Google's paranoid_crypto included a Baby Step Giant Step check for small elliptic curve private values; Wayne used it to scan CCADB certificates and find the eMudhra certificates.
  • After public disclosure, badkeys added one-byte elliptic curve private values for common curves to its blocklist, with a possible future replacement by Baby Step Giant Step.
  • The author says no other production elliptic curve keys with small values had been reported, though Google's boringssl test vectors include p384 examples with d=2 and d=3.

#cryptography #ecdsa #badkeys #webpki

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Hacker News: 361, latest observation ; +345 over observed period since
  • Lobsters: 58, latest observation ; +56 over observed period since

Comments

Comment count reported by the source.

  • Hacker News: 77, latest observation ; +76 over observed period since
  • Lobsters: 11, latest observation ; +11 over observed period since

Aliases

SourceExternal IDURL
Hacker News50758376https://blog.hboeck.de/archives/910-How-I-almost-found-the-eMudhra-d4-Private-Key.html Read discussion
Lobstersrwi43lhttps://blog.hboeck.de/archives/910-How-I-almost-found-the-eMudhra-d4-Private-Key.html Read discussion