On December 2nd 2026 the US National Security Agency (NSA) published a cybersecurity advisory1 related to cryptographic algorithms and accelerating the move to post-quantum cryptography (PQC). This has some implications for DKIM with senders who are required or desire to follow NSA advisories.
The DKIM specification supports two algorithms, RSA and Ed25519. Different RSA key-sizes are supported with the minimum recommended being 1024 bits and the maximum being 4096 bits. Ed25519 was added in 2018 as a “backup” in case a vulnerability was discovered in RSA. The vast majority of DKIM keys in use today are RSA keys and Ed25519 is not widely supported.
The advisory makes two recommendations relevant to DKIM
- that RSA keys use a minimum key-size of 3072 bits, and
- stop using a family of algorithms that include Ed25519
To implement the advisory for DKIM you need to sign with 3072 or 4096 bit RSA keys. Most DKIM keys in use are either 1024 or 2048 bits in size so this will likely require change.
Be aware that changing DKIM keys can impact deliverability as DKIM keys are one factor that is used to compute sending reputation. To mitigate risk avoid making other changes to your mail program for a couple of weeks either side of changing DKIM keys.
Background
There are two types of cryptographic algorithms in use today. Classical algorithms rely on mathematics that present-day computers find difficult or impossible to break in any reasonable amount of time. Post-quantum algorithms are resistant to breaking attempts from both current computers and hypothetical quantum computers which many believe will be a reality some day. It is suspected that classical algorithms will be easily broken by quantum computers.
For many years there has been a move to migrate software from using classical algorithms to using post-quantum ones. One motivation for this is that even though quantum computers do not yet exist, an adversary could in-theory collect information encrypted with classical algorithms now and then use a yet-to-be invented quantum computer in the future to break the encryption.
Further information
I am not a cryptographer. If you are interested in informed takes on this advisory and cryptography in general then I would recommend the writings of Filippo Valsorda and Soatok.
National Security Agency. Immediate Actions to Push Toward Post-Quantum. Cybersecurity Advisory PP-26-4956, Version 1.0. U.S. Department of Defense, December 1, 2026. https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA_Immediate_Actions_Push_Toward_PQC.PDF ↩︎