In a move aimed at bolstering digital security, OpenSSH has announced its plan to phase out support for DSA keys, a decision informed by the algorithmโs inherent weaknesses and the evolution of more secure alternatives. But first, letโs shed more light on what DSA is for our readers.
DSA and Its Limitations
DSA, which stands for Digital Signature Algorithm, is a cryptographic algorithm for digital signatures and authentication and a key component in the SSHv2 protocol. However, its limitations have long been recognized, particularly its restriction to a 160-bit private key and reliance on the SHA1 digest.
These constraints render its security level equivalent to less than or equal to 80 bits in symmetric encryption, a standard considered insufficient in the current cybersecurity landscape.
Despite being the only mandatory-to-implement algorithm in the SSHv2 RFCs, mainly due to patent encumbrances on alternative algorithms when SSHv2 was developed, DSA has fallen behind more robust options like RSA, ECDSA, and EdDSA in terms of security and performance.
OpenSSH’s Timeline for DSA Removal
Of course, this will not happen overnight. Instead, OpenSSH has outlined a phased approach. Here’s what’s the plan.
- March 2024 (Estimated): DSA will become optional at compile-time but enabled by default in the next OpenSSH release. This change allows users and distributors to assess the impact of DSA’s removal in their specific environments.
- June 2024 (Estimated): A subsequent release will change the compile-time default to disable DSA. However, it will remain an option for those who require it.
- Post-January 2025: The first release after January 1, 2025, will see the complete removal of DSA code from OpenSSH.
For users with devices that only support DSA, OpenSSH recommends maintaining a legacy release of the OpenSSH client, akin to the strategy adopted when SSHv1 protocol support was discontinued.
Further discussions and inquiries about the DSA removal can be directed to the OpenSSH development mailing list or by contacting the developers directly.