Page MenuHomePhabricator

Deprecate use of ssh-rsa keys?
Closed, DuplicatePublicSecurity

Description

Noticed that I was having issues with an ssh-rsa key...

The RSA SHA-1 hash algorithm is being quickly deprecated across operating systems and SSH clients because of various security vulnerabilities, with many of these technologies now outright denying the use of this algorithm.
It seems this has happened for the ssh client in Ubuntu 22.04. The RSA public-private key pair is considered not safe any more.

I regenerated a new ssh-ed25519 for gerrit (and cloud stuff), and it works.

Pondering if we should more proactively be getting people to update use of old keys across the board

Details

Risk Rating
Medium
Author Affiliation
Wikimedia Deutschland

Event Timeline

A quick look in the puppet repo in modules/admin/data/data.yaml shows 158 matches for ssh-rsa.

The ssh-rsa key exchange is deprecated, because it uses SHA-1. ssh-rsa keys are fine as long as they use a different key exchange algorithm, such as rsa-sha2-256 from RFC 8332, supported since OpenSSH 7.2. Also, I don’t think if YubiKeys support non-RSA keys; at least, I believe that’s why my own key is an RSA key.

This is a duplicate of the already public https://phabricator.wikimedia.org/T253824, so I think it can be closed/merged accordingly?

sbassett triaged this task as Medium priority.Sep 29 2022, 5:44 PM
sbassett changed Author Affiliation from N/A to Wikimedia Deutschland.
sbassett changed the visibility from "Custom Policy" to "Public (No Login Required)".
sbassett changed the edit policy from "Custom Policy" to "All Users".
sbassett changed Risk Rating from N/A to Medium.