Menu

DKIM was introduced at a very unlucky time; or, happy 20 years of CVE-2008-0166

Hacker News·about 5 hours ago
#lgdShReZ
#hackernews#technology#dreamstation#keys#mail
Long article (395 words) — no AI summary yet.
Reading 0:00
15s threshold

CVE-2008-0166

From 2006 to 2008, the Debian package (and downstream packages like Ubuntu’s) of the cryptography library OpenSSL had a very bad bug where most of the entropy that was powering the random number generator was not being fed into the pool. After the patch, the only varying input into the RNG was the PID, for which there are only 32,768 possible values. As a result, Debian OpenSSL could only generate 32,768 possible keys per architecture per key type.

(This isn’t solely Debian’s fault — the change was seemingly, unclearly OKed by an OpenSSL maintainer in a way that people still argue about.)

Shortly after it became public, every possible key was quickly enumerated, and the space was small enough that attackers could simply try every key on suspected vulnerable systems.

DKIM

Separately, DomainKeys Identified Mail, which is a standard for cryptographically signing outgoing e‐mail to prove that that mail was authorized to come from that domain, was emerging around this time.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.