3 ms·
The release notes describe how to test authentication without SHA-1 on a SSH server. In my case, it was more useful to check the algorithm of my SSH keys to che
by idoubtit 6y ago
The release notes describe how to test authentication without SHA-1 on a SSH server. In my case, it was more useful to check the algorithm of my SSH keys to check if they were to be obsolete:
$ ssh-keygen -l -f MyKeyFile
2048 SHA256:39XX..XX x@y.com (RSA)
$ for f in ~/.ssh/*.pub; do ssh-keygen -l -f $f; done
All of my keys were using ED25519 or RSA-SHA256, so they will still be valid when RSA-SHA1 will be removed.
Note that Debian Strech (oldstable, published in 2017) shipped openssh-client 7.4 which produced RSA SHA-256 keys by default.
- georgyo 6y agoYour client ssh-rsa keys do not specify a hashing algo at all unless they are signed certificates. The vast majority of client ssh-rsa keys are completely unaffected since they are bare rsa keys with no hashing done at all.
- EE84M3i 6y agoThat sha256 is just the fingerprint of the key. It's calculated, not stored in the file.
- deleted 6y ago[deleted]