Menu

How I almost found the eMudhra d=4 Private Key

#hackernews#technology#keys#badkeys#small
Long article (1813 words) — no AI summary yet.
Reading 0:00
15s threshold

Recently, it was discovered that the private keys belonging to multiple issuing certificates from the certificate authority eMudhra were insecure . While there have been plenty of security incidents affecting WebPKI certificate authorities in the past, something like that has never happened before: a full compromise of private keys able to issue trusted web certificates.

The issue itself is easy to understand. The affected keys use the ECDSA algorithm, a commonly used signature algorithm based on elliptic curves, with the curve p384r1. We do not need to understand anything about elliptic curves to understand this vulnerability. It is sufficient to understand that an ECDSA private key is simply an integer number that we call d . Usually it's a large number. The affected eMudhra keys, however, were small, one of them was simply "4", the others were all small enough to fit into a single byte.

I am developing a tool named badkeys that identifies insecure cryptographic public keys.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.