Skip to content
Glossary · Authentication

DKIM key length

The size of the RSA key behind a DKIM signature; RFC 8301 requires at least 1024 bits and recommends at least 2048.

What it means

RFC 8301 (2018) set the floor: signers must use RSA keys of at least 1024 bits and should use at least 2048, and verifiers must accept keys from 1024 to 4096 bits and must reject anything shorter than 1024. The same update made rsa-sha256 mandatory and retired rsa-sha1, which must no longer be used for signing or verifying.

Gmail requires a key of 1024 bits or longer for mail to personal Gmail accounts and recommends 2048 bits where the DNS host supports it; its setup guide keeps 1024 as the option for hosts that cannot store longer keys.

Key length is visible to anyone: look up the selector's record and measure the p= value. A 2048-bit key needs splitting across TXT strings, which some DNS hosts do not handle. Ed25519 keys, at 256 bits, are far shorter and fit in one string.

On this site

Sources

What this definition rests on. The wording is ours; the facts are theirs.

All 432 terms in the glossaryThe wiki: blocklists and bounce codes

Beat · paid monitoring

A heartbeat for your email.

Beat runs every check on this site on a schedule: 41 checks, 25 blacklists and real inbox placement. The moment something breaks, it tells you what broke, why it matters, and the exact fix.

example.comWatching
  • SPFpass
  • DKIMpass
  • DMARCp=none
  • Blacklists0 of 25

Illustrative. Your domain, every few hours.

Also from us:Pulse: your own sending infrastructureConsulting: $65/hr, no retainer