Has it been Pwned
ImplementationPractical impact

'Ron was wrong, Whit is right': 0.2% of public RSA moduli share factors

Arjen Lenstra, James Hughes, Maxime Augier, Joppe Bos, Thorsten Kleinjung and Christophe Wachter collected millions of public RSA keys from X.509 certificates and PGP and found, by computing pairwise GCDs, that about two of every thousand RSA moduli shared a prime with another modulus and so offered no security.

A separate source-review date has not been recorded for this historical entry. Corrections.

Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.

Background

If two keys are generated with the same p but different q, anyone can factor both with a single GCD. The title contrasted RSA (two secrets, so a weak RNG produces shared primes) with ElGamal/DSA-style schemes, which the authors (provocatively) argued fail less catastrophically, a framing others disputed since DSA fails badly with bad randomness too. The root cause turned out to be entropy-starved embedded devices, as Heninger et al. showed in parallel. RSA math is not implicated; this is key generation in specific products.

Sources

  1. paperRon was wrong, Whit is right (ePrint 2012/064; CRYPTO 2012 as 'Public Keys')IACR ePrint, eprint.iacr.org