Search

Cookies

We use cookies to improve your experience. By continuing, you accept our use of cookies.

Technology

eMudhra Reveals Python Script Error Caused Weak Security Key Crisis

· · 2 min read

Digital certificate provider eMudhra has released a detailed report confirming a Python scripting error led to the generation of weak cryptographic keys. This flaw prompted major tech firms like Google and Microsoft to issue security updates.

eMudhra's Security Flaw Explained

Digital certificate provider eMudhra has issued a comprehensive report detailing the cause of a recent security incident involving weak cryptographic keys. The report confirms that a critical error in a custom Python script led to the generation of easily exploitable digital certificates, raising significant cybersecurity concerns across the industry.

The incident, which came to light last month, involved eight cryptographic keys that were issued as digital certificates for various websites. These keys were found to be critically weak, with some reportedly as simple as the number '4'. Such simple keys could be guessed almost instantly by attackers, potentially allowing them to obtain fraudulent digital certificates and compromise website security.

The flawed keys were generated on April 30, 2025, during a standard key-generation ceremony. This process typically utilizes a Hardware Security Module (HSM), a specialized device designed for securely generating, storing, and managing cryptographic keys. However, eMudhra's custom Python script, intended for transferring these keys between two HSMs, contained a bug that drastically reduced the size and complexity of eight keys. The affected keys included values like 4, 56, and 115.

The Aftermath and Industry Response

Compounding the problem, the faulty Python script created copies of these compromised keys in the memory of an ordinary computer, inadvertently exposing them outside the secure hardware environment of the HSMs. This exposure heightened the risk of exploitation.

Upon discovery of the flaw, major technology companies, including Google, Mozilla, Apple, and Microsoft, swiftly released security updates to mitigate potential risks associated with the compromised certificates. As a precautionary measure, eMudhra revoked all 16 certificates linked to the affected keys.

In response to the crisis, eMudhra has announced significant changes to its key generation protocols, opting to generate keys without transferring them between HSMs. The company has publicly apologized for the incident, committed to an expert review of its security practices, and declared its decision to exit the digital certificate business entirely.

Related