Quick fix
Generate a modern key supported by the sending platform and major receivers.
What this finding means
SecuTest measures the decoded public-key size rather than inferring strength from TXT length. It reports policy-level weakness and does not claim that the private key has been recovered.
Associated attack or threat scenario
How the attack or failure scenario works
If an attacker factors a weak RSA key or otherwise recovers the private signing key, they can create messages that pass DKIM for the domain. When the signing domain aligns with the visible From domain, forged messages may also pass DMARC.
Conditions and limitations
- The published key uses insufficient cryptographic strength.
- The attacker obtains enough computational capability or another path to recover the private key.
- The forged signature uses an aligned signing domain and a selector still trusted by receivers.
Why it matters
Step-by-step fix
Where to make the change
- The authoritative DNS zone for the registrable domain.
- The outbound or inbound mail platform when sender authorization, signing, or routing is involved.
- The DMARC reporting mailbox or reporting service when aggregate reports are required.
Remediation procedure
- Generate a modern key supported by the sending platform and major receivers.
- Publish it under a new selector rather than replacing an active key in place.
- Enable staged rotation or dual-signing when supported.
- Retire the old selector after DNS propagation and verification of every sender.
Commands and configuration examples
Replace example values with the hostname, selector, IP address, port, provider, or policy values shown in your SecuTest evidence. Review every example before production use.
printf '%s' 'BASE64_PUBLIC_KEY' | base64 -d | openssl pkey -pubin -text -noout
Use at least 2048-bit RSA where the provider and DNS size limits support it, or a supported Ed25519 deployment.
Verify the fix
- Decode the public key and inspect its actual bit length.
- Send signed mail through every legitimate platform.
- Confirm `dkim=pass` and DMARC alignment with the new selector.
- Monitor aggregate reports before removing the old selector.
After DNS, CDN, certificate, mail, or application propagation completes, run a fresh SecuTest scan and compare the new evidence with the original finding.
Common mistakes
- Measuring base64 character count instead of decoded key size.
- Replacing the DNS key without updating the sender's private key.
- Removing the old selector before delayed mail has been processed.