-
-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recognize LANcom LCOS software and support extraction of ssh-ed448 ke…
…y 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
- Loading branch information
Showing
4 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,9 @@ class HostKeyTest: | |
|
||
'ssh-ed25519': {'cert': False, 'variable_key_len': False}, | ||
'[email protected]': {'cert': True, 'variable_key_len': False}, | ||
|
||
'ssh-ed448': {'cert': False, 'variable_key_len': False}, | ||
# '[email protected]': {'cert': True, 'variable_key_len': False}, | ||
} | ||
|
||
TWO2K_MODULUS_WARNING = '2048-bit modulus only provides 112-bits of symmetric strength' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,6 +68,7 @@ class SSH2_KexDB: # pylint: disable=too-few-public-methods | |
INFO_DEPRECATED_IN_OPENSSH88 = 'deprecated in OpenSSH 8.8: https://www.openssh.com/txt/release-8.8' | ||
INFO_DISABLED_IN_DBEAR67 = 'disabled in Dropbear SSH 2015.67' | ||
INFO_DISABLED_IN_OPENSSH70 = 'disabled in OpenSSH 7.0: https://www.openssh.com/txt/release-7.0' | ||
INFO_RFC8709_NOT_OPENSSH = 'described in RFC8709 but never implemented in OpenSSH' | ||
INFO_NEVER_IMPLEMENTED_IN_OPENSSH = 'despite the @openssh.com tag, this was never implemented in OpenSSH' | ||
INFO_REMOVED_IN_OPENSSH61 = 'removed since OpenSSH 6.1, removed from specification' | ||
INFO_REMOVED_IN_OPENSSH69 = 'removed in OpenSSH 6.9: https://www.openssh.com/txt/release-6.9' | ||
|
@@ -245,7 +246,7 @@ class SSH2_KexDB: # pylint: disable=too-few-public-methods | |
'[email protected]': [[], [FAIL_1024BIT_MODULUS]], | ||
'ssh-ed25519': [['6.5,d2020.79,l10.7.0']], | ||
'[email protected]': [['6.5']], | ||
'ssh-ed448': [[]], | ||
'ssh-ed448': [[], [], [], [INFO_RFC8709_NOT_OPENSSH]], | ||
'[email protected]': [[], [], [], [INFO_NEVER_IMPLEMENTED_IN_OPENSSH]], | ||
'ssh-gost2001': [[], [FAIL_UNTRUSTED]], | ||
'ssh-gost2012-256': [[], [FAIL_UNTRUSTED]], | ||
|