What many saw as a major security lapse by Indian digital trust services company eMudhra, potentially affecting billions of internet users globally, was triggered by flaws in a Python script that weakened its private cryptographic keys, even shortening one of them to a single byte, the company has found.
In its full post-incident report published on Tuesday, November 10, eMudhra said that the compromised private keys used to sign eight intermediate certificates went through a wrap-unwrap process using a Python key-handling script written by its own team of engineers.
A bug in this script caused the private keys to be read back incorrectly after being transported and unwrapped, truncating their values and leaving them much weaker than the accepted 384-bit (116-digit) key strength, the report said.…