sha256 & ssh_known_hosts #60786
Labels
Bug
broken, incorrect, or confusing behavior
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Description
Fingerprints generated by
ssh-keygen
in sha256 format aren't accepted byssh_known_hosts
Setup
Single user machine (not using salt-master. Simply salt-call). Simple file:
Steps to Reproduce the behavior
GitHub's fingerprints can be found here but they can also be obtained via
ssh-keyscan
Expected behavior
I expect
ssh_known_hosts
to accept a valid fingerprint generated byssh-keygen -l -Esha256 -f <(ssh-keyscan github.com)
Versions Report
Additional context
I had to go through many hoops before figuring out what fingerprint would be accepted. For the record, here it is:
9d:38:5b:83:a9:17:52:92:56:1a:5e:c4:d4:81:8e:0a:ca:51:a2:64:f1:74:20:11:2e:f8:8a:c3:a1:39:49:8f
The text was updated successfully, but these errors were encountered: