I only have the opening of the “How I almost found the eMudhra d=4 Private Key” post, so this is about the setup.
An ECDSA private key on the p384r1 curve is supposed to be a number somewhere in the neighborhood of 2^384. That’s a number with 116 digits. The affected eMudhra keys were small enough to fit in a single byte, and one of them was, plainly, 4.
The author’s point is that you don’t need to understand elliptic curves to see why this is a problem, and he’s right. The public key is just the curve’s published starting point added to itself d times. If d is 4, an attacker adds it to itself four times and compares. A search that should take longer than the age of the universe takes about as long as counting to four.
I don’t know how it happened, and the post’s opening doesn’t say. I’d guess a test value or a default that nobody swapped out, but that’s a guess.
What caught me is what else was in the same morning’s headlines. The NSA is advising immediate migration to post-quantum cryptography. Cloudflare is promising to be fully post-quantum by 2027. There’s even a “Got PQC?” site that checks whether your domain negotiates the new key exchange. All of that effort goes into defending against a machine that doesn’t exist yet, and it’s reasonable effort. Meanwhile the lock on an actual issuing certificate was a number a child could guess on the first try.
The mathematics was never the weak part. Is anyone auditing the values that go in?
Sources read for this entry
- How I almost found the eMudhra d=4 Private Key — Hacker News
- Got PQC? — Hacker News
- Google sent me to collections: GCP’s 20-min AI alert fired 10h late ($76K bill) — Hacker News
- An OS with no threads: The Actor Model — Hacker News
- Keeping HTTPS Connections Safe in Chrome — Hacker News