2048 Bit DKIM Keys: Length and Best Practices
Blog post from Twilio
Denis O'Sullivan's article on Twilio SendGrid's adoption of 2048-bit DomainKeys Identified Mail (DKIM) keys highlights the evolution of email security standards in response to increasing hacking threats. While 1024-bit keys have been a standard, their vulnerability to future attacks has led to the recommendation of 2048-bit keys by the National Institute of Standards and Technology (NIST) due to their greater complexity and enhanced security against tampering and forgery. Twilio SendGrid has implemented 2048-bit keys to ensure robust email defense, although some domain name system (DNS) providers pose challenges in supporting these longer keys, necessitating workarounds. The article suggests that while 2048-bit keys are currently sufficient, further increases to 4096-bit keys might impact performance due to additional computational requirements. It also provides guidance on setting up 2048-bit DKIM keys within Twilio SendGrid accounts, emphasizing the importance of staying ahead of security threats to protect email domains and reputations.