#31 `thrussh_keys::check_known_hosts_path` fails for my system

Opened by wez on Mar 26, 2021, 1:55 AM
// wez on Mar 26, 2021, 1:55 AM

This is the line from my known_hosts file:

localhost ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGLjt53s7cviWnVVVWd+/5azv9TCNS2CyNPlsu81gutKfKs2uU8U5IseukeCbGN1ATRhW2khBm1oycowNPh7R08= localhost:22

This code returns: Err(CouldNotReadKey):

thrussh_keys::parse_public_key_base64("AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGLjt53s7cviWnVVVWd+/5azv9TCNS2CyNPlsu81gutKfKs2uU8U5IseukeCbGN1ATRhW2khBm1oycowNPh7R08=")
// pmeunier on Mar 26, 2021, 6:57 AM

Indeed, ECDSA keys aren’t handled by Thrussh yet. Thanks for the report!

// pmeunier on Mar 26, 2021, 6:57 AM

Indeed, ECDSA keys aren’t handled by Thrussh yet. Thanks for the report!

// reckter on Aug 23, 2021, 8:39 AM

Are there any plans to also support ECDSA keys? That’s the one thing currently keeping us from using the library (We need a utility to verify SSH server signatures, and without support for all keys that are in use, it’s kinda mood using a tool :/ )

// pmeunier on Aug 23, 2021, 4:29 PM

No plans at the moment from me, unfortunately, but I’m totally open to contributions, and am willing to mentor people.