Pure-Rust asynchronous SSH library, both client and server

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

Opened by wez on March 25, 2021
wez on March 25, 2021

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 March 26, 2021

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

pmeunier on March 26, 2021

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

reckter on August 23, 2021

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 August 23, 2021

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