When the client displays a host key fingerprint to the user, for example when it encounters a new host that is not previously known, it does not specify the type of the key resulting in the shown fingerprint. Since the fingerprint is different for different key types we would ideally show the key type along with the fingerprint. This would make identifying a valid host key somewhat simpler. This is not as much of a problem in the logs since OpenSSH logs host key types along with their fingerprints for us.
I have tested the client on Fedora 34 and the key type is now displayed as in OpenSSH. This bug is to be tested along with bug 7639. See bug 7639, comment 8 for more details.
Seems to work fine. Checked with Fedora 34 against Ubuntu 20.04: * New host key * Changed host key * Changed host key, and not allowed to continue As mentioned earlier, ssh already mentions the type in the logs for the used host key so we didn't have to change anything there. We don't log the types for already known host keys or acceptable host keys (for the agent), but I think we can live without that. This is mostly for helping the end user anyway.
The way the displayed strings are constructed is probably not very translation friendly. OpenSSH has the exact same phrasing, but they don't have to deal with translations.
I have now broken up the hostkey fingerprint and type into different paragraphs which should simplify translations. I have tested all three dialogs on Fedora 35 without any issues. Marking as resolved.
Restested all three prompts and they look okay. Checked with Fedora 34 against Ubuntu 20.04: * New host key * Changed host key * Changed host key, and not allowed to continue Also checked commit and everything looks good there.