Diagnostic
DKIM RSA key between 1024 and 2047 bits
Warning · key.rsa.acceptable
The key is a <bits>-bit RSA key. It still works, but is considered weak and may be rejected by strict receivers.
What it means
dkim.fyi reads the size of the RSA modulus in p=. From 1024 to 2047 bits it rates the key acceptable and reports this warning. A warning does not change the verdict, so the record can still read “Valid”.
RFC 8301 sets 1024 bits as the minimum signers must use and says they should use at least 2048. Verifiers must be able to validate keys from 1024 to 4096 bits, so signatures made with this key still verify.
Some providers issue 1024-bit keys by default. Microsoft 365’s New-DkimSigningConfig cmdlet lists 1024 as the default key size, and Brevo says its TXT-type DKIM record uses a 1024-bit key by default, against 2048 for its CNAME type.
How to fix it
- Find out who holds the key. If the selector is a CNAME, the provider its target names generates and rotates the key, so the change is made in that provider’s settings.
- In Microsoft 365, Rotate-DkimSigningConfig with -KeySize 2048 applies the new size to the next active selector at the first rotation; a second rotation brings the other selector to 2048 as well.
- If you manage the key yourself, generate a 2048-bit RSA key and publish it under a new selector, as a TXT record that holds the key in
p=, usually afterv=DKIM1;. Using a new selector when rotating keeps exactly one TXT record per selector. - If your DNS host cannot store a 2048-bit key, split it into several 255-character strings within one TXT record. dkim.fyi joins the strings with no separator, as RFC 6376 specifies.
- Validate the new selector (a 2048-bit key is rated strong), switch the signer to it, then check a signed message.