QuantaFeed · Fix Playbook · Email Signing (DKIM)

Upgrade Legacy 1024-Bit RSA DKIM Keys

Finding / Symptom: DKIM TXT record p= key decodes to 1024-bit RSA, which fails modern security and NSA PP-26-4956 baselines.

Generate a new 2048-bit (or 3072-bit) DKIM key on a fresh selector, publish the TXT record, cut over signing, and retire the old 1024-bit selector after 7 days.

Copy-Paste Configuration Fix

# Generate a 3072-bit RSA DKIM keypair (CNSA 1.0 interim compatible)
openssl genrsa -out dkim-2026.private.pem 3072
openssl rsa -in dkim-2026.private.pem -pubout -out dkim-2026.public.pem

# Publish under a NEW selector (e.g. s2026._domainkey.yourdomain.com) before rotating:
# s2026._domainkey TXT "v=DKIM1; k=rsa; p=<BASE64_SPKI_WITHOUT_HEADERS>"

Verify Live

dig +short TXT selector1._domainkey.yourdomain.com

Test your stack live: DKIM Key Size & Algorithm Checker

Frequently Asked Questions

Does a 2048-bit or 3072-bit DKIM TXT record fit in DNS?
Yes — split the TXT record into 255-character quoted string chunks (most DNS providers like Cloudflare and Route 53 do this automatically).