Lesson 8 of 82008–20248 min
Practical pitfalls: randomness, keys, passwords and post-quantum
On 13 May 2008 Debian published security advisory DSA-1571. A Debian-specific change to its OpenSSL package, shipped since September 2006, had left the random number generator with almost nothing random in it. Keys generated with that OpenSSL on Debian, Ubuntu and their derivatives during those twenty months came from a set small enough to search exhaustively: SSH host and user keys, OpenVPN keys, DNSSEC keys and certificate keys.
AES, RSA and the protocols were all fine. The keys were guessable. Most real cryptographic failures look like this: the mathematics holds and the engineering around it does not.
The rest of this lesson is part of Pro
Create a free account to read the first lesson of every path, and go Pro for the rest.
Sources
- VU#925211: Debian and Ubuntu OpenSSL packages contain a predictable random number generator — CERT Coordination Center
- Password Storage Cheat Sheet — OWASP
- RFC 9106: Argon2 Memory-Hard Function for Password Hashing and Proof-of-Work Applications — RFC Editor
- NIST Releases First 3 Finalized Post-Quantum Encryption Standards (August 2024) — NIST