Commit Graph
4 Commits
Author SHA1 Message Date
Daniel LenskiandGitHub 75edf850ff Merge c9769b3609 into 92db5f0138 2024-07-05 18:57:51 +00:00
Daniel Lenski c9769b3609 Recognize LANcom LCOS software and support extraction of ssh-ed448 key type
LANcom router devices appear to be primarily used in Germany (see [1]
for examples on the public Internet), and they appear to support the
`ssh-ed448` key type which is documented in [2], but which has never
been supported by any as-yet-released version of OpenSSH.

[1] https://www.shodan.io/search?query=ssh+%22ed448%22
[2] https://datatracker.ietf.org/doc/html/rfc8709#name-public-key-format
2024-07-05 11:57:23 -07:00
Daniel LenskiandGitHub d8f8b7c57c Make HostKeyTest class reusable (#278)
Because the `HostKeyTest` class was mutating its static/global
`HOST_KEY_TYPES` dict, this class could not actually be used more than once
in a single thread!

Rather than mutate this dict after parsing each key type
(`HOST_KEY_TYPES[host_key_type]['parsed'] = True`), the `perform_test`
method should simple add the parsed key types to a local `set()`.
2024-07-05 10:11:18 -04:00
Daniel Lenski df8f238152 Include raw hostkey bytes in debug output 2024-06-28 17:32:18 -07:00