What changed
A new tool called KeyGuard, developed by FINAL-Bench, checks RSA public keys for structural vulnerabilities entirely in the browser. It identifies four types of weak keys: shared primes, close primes, ROCA fingerprints, and incorrect key sizes or exponents. The tool does not require network access after loading and works with public keys pasted by users.
What this means in practice
RSA keys are secure if their two primes are chosen unpredictably. However, weak keys can be generated by devices with insufficient randomness, such as routers or cameras.
If two devices share a prime, a single greatest common divisor (GCD) can reveal both keys. Similarly, if primes are too close together, the key can be factored quickly using Fermat's method.
KeyGuard demonstrates these vulnerabilities by showing how a 2048-bit key can be broken in under a millisecond.
Limitations and availability
KeyGuard is available as a browser-based tool without requiring user sign-in. It checks public keys only and does not handle private keys. The tool uses JavaScript and the browser's native big integers for computations.
It does not upload any data to servers, ensuring privacy. The tool is designed for users to check their own devices, particularly those with self-signed certificates.
The tool's effectiveness depends on the quality of the keys being checked, and it does not claim to test all possible vulnerabilities.
The supplied announcement does not specify the exact number of keys tested or the exact performance metrics for all scenarios. It also does not specify the exact conditions under which the tool was tested or the exact number of devices affected by the vulnerabilities described.
