All terms
Glossary · DKIM details
DKIM key length
DKIM key length is the size in bits of the RSA key used for signing; under RFC 8301 signers must use at least 1024 bits and should use at least 2048 bits (RFC 8301 §3.2).
By: Kemal Özleyen, Cybersecurity Engineer · Check Point Workspace Security Expert · Kinetik Bilişim
How it works
Verifiers must be able to validate keys from 1024 to 4096 bits; signatures made with RSA keys shorter than 1024 bits are not valid. Signatures made with rsa-sha1 also fail (RFC 8301 §3.1–3.2).
The public key value of a 2048-bit key is longer than 255 characters and is split into several strings in the TXT record; the recipient joins them. If the DNS panel does not split it correctly, the value can be published broken; Mailskop shows such a key separately as “cannot be read”.
Besides RSA, Ed25519 signatures are also defined (RFC 8463).
Guide SPF, DKIM and DMARC in Microsoft 365
Related DKIM · DKIM key rotation · DKIM selector
Source RFC 8301 §3.2 · RFC 8463
Last updated: