The particular vulnerability affected more than just DKIM, but DKIM has the particular bad luck of having been first introduced when the vulnerability was out in the wild.
Good bit of history as this happened before I joined the email hosting profession in 2015.
I remember designing a new mail hosting system in 2019, the concern was with some DNS hosting providers, mostly the free ones from legacy registrars not being able to accept TXT values over 255 charcters. A compromise was made to stick to 1024 bit DKIM keys.
Finally made the change to 2048 bit keys this year!
We're in for another round of DNS problems when PQ keys (or long anythings) start getting put in DNS. Buggy apps that don't handle truncation, misguided middleboxes that block TCP 53, etc.
You should be able to CNAME the relevant record from their free provider onto your own DNS tree on your own domain where you can serve anything you like.
Author of badkeys here. I pointed this out in 2024:
"Why are people using keys with a vulnerability from 2008 in 2024?
I can only speculate, but it may have to do with timing. The Debian OpenSSL bug was introduced in 2006. It was discovered and fixed in 2008. The DKIM specification was published as RFC 4871 in 2007."
https://16years.secvuln.info/
I blame the tools for letting people continue to be stupid.
My coworkers consistently underestimate the difference between shit and good tools until I show them good tools. I have a theory that the reason software is so uniformly bad is that people are (un)inspired by bad tools to create slightly less bad products with them.
If more developers had a mechanic or woodworking hobby, this industry would be so much more enjoyable. Watching someone wax poetic about a replica of a golden era Stanley plane or hand router is something else.
Software toolmaker here. When we have bosses they want something to work yesterday. When we don't have bosses we are trying to find one or put food on the table in some other way.
The toolmaker you are looking for is very rich, very looked after, or very tenured.
Oh man, it's no secret that the Mexican government has been getting it all year. Many of those because of the holy 16-bit signed number. Now, you tell me that DKIM is cooked? Well, we always have DMARC and ... BIMI? (funny that last one).
I mean, next you're gonna tell me that GPG has 50 0-day that given-ai-company decided to disclose to gain free publicity so, now, I cannot even sign my email in peace.
claude-ai | 5 hours ago
ameliaquining | 5 hours ago
hashstring | 5 hours ago
Intelligence agencies care about this space, it’s hyper cost efficient to care.
gwerbin | 2 hours ago
pavinjoseph | 5 hours ago
I remember designing a new mail hosting system in 2019, the concern was with some DNS hosting providers, mostly the free ones from legacy registrars not being able to accept TXT values over 255 charcters. A compromise was made to stick to 1024 bit DKIM keys.
Finally made the change to 2048 bit keys this year!
[OP] robinpie | 5 hours ago
pavinjoseph | 5 hours ago
cowlevel | 4 hours ago
AntiRush | 5 hours ago
https://berlin2024.mini.debconf.org/talks/17-breaking-dkim-a...
hannob | 5 hours ago
And yes, can confirm that there's still (even after my 2024 disclosures) a significant number of affected hosts. My latest scans: https://monitor.badkeys.info/dkim/2026-08-11-dkim-badkeys.ht...
1over137 | 4 hours ago
hannob | 4 hours ago
Something like:
pip install badkeys
badkeys -U
badkeys [path_to_your_mail_server_crt_file]
hannob | 4 hours ago
badkeys -a --dkim-dns 20260707._domainkey.google.com
(-a will give you an output whenever it's found any key, otherwise, it'll be silent if it didn't find anything)
notpushkin | an hour ago
I love how the web UI (https://badkeys.info/) will gladly accept a private key :-)
> (While supported, uploading private keys is obviously discouraged for production keys.)
Any particular reason you’ve decided to still let people do that?
graovic | 4 hours ago
drnick1 | 4 hours ago
hinkley | 3 hours ago
My coworkers consistently underestimate the difference between shit and good tools until I show them good tools. I have a theory that the reason software is so uniformly bad is that people are (un)inspired by bad tools to create slightly less bad products with them.
If more developers had a mechanic or woodworking hobby, this industry would be so much more enjoyable. Watching someone wax poetic about a replica of a golden era Stanley plane or hand router is something else.
pcblues | 10 minutes ago
The toolmaker you are looking for is very rich, very looked after, or very tenured.
Good luck :)
jijji | 5 hours ago
Avamander | 30 minutes ago
basilikum | 4 hours ago
fc417fc802 | 4 hours ago
How does that even happen?
1over137 | 4 hours ago
[OP] robinpie | 4 hours ago
doubled112 | 4 hours ago
[OP] robinpie | 3 hours ago
Renich | 4 hours ago
I mean, next you're gonna tell me that GPG has 50 0-day that given-ai-company decided to disclose to gain free publicity so, now, I cannot even sign my email in peace.
;D
Good work, though. Just venting a bit. =)
dwheeler | an hour ago