logoalt Hacker News

hannob • yesterday at 9:00 PM • 2 replies • view on HN

Sure.

Something like:

pip install badkeys

badkeys -U

badkeys [path_to_your_mail_server_crt_file]


Replies

hannob • yesterday at 9:02 PM

Or, if you were asking about dkim, something like:

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 • today at 12:04 AM

Neat tool, thanks!

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?