forked from proftpd/proftpd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue proftpd#1437: Implement support for Ed448 host keys, and the "c…
…urve448-sha512" key exchange algorithm, in `mod_sftp`.
- Loading branch information
Showing
13 changed files
with
1,086 additions
and
72 deletions.
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
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
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 |
---|---|---|
|
@@ -204,6 +204,9 @@ static const char *hostkey_algos[] = { | |
#if defined(PR_USE_SODIUM) | ||
"ssh-ed25519", | ||
#endif /* PR_USE_SODIUM */ | ||
#if defined(HAVE_X448_OPENSSL) | ||
"ssh-ed448", | ||
#endif /* HAVE_X448_OPENSSL */ | ||
#if defined(PR_USE_OPENSSL_ECC) | ||
"ecdsa-sha2-nistp256", | ||
"ecdsa-sha2-nistp384", | ||
|
@@ -231,7 +234,7 @@ static const char *key_exchanges[] = { | |
"diffie-hellman-group-exchange-sha256", | ||
#endif | ||
"diffie-hellman-group-exchange-sha1", | ||
#ifdef PR_USE_OPENSSL_ECC | ||
#if defined(PR_USE_OPENSSL_ECC) | ||
"ecdh-sha2-nistp256", | ||
"ecdh-sha2-nistp384", | ||
"ecdh-sha2-nistp521", | ||
|
@@ -240,6 +243,9 @@ static const char *key_exchanges[] = { | |
"curve25519-sha256", | ||
"[email protected]", | ||
#endif /* HAVE_SODIUM_H and HAVE_SHA256_OPENSSL */ | ||
#if defined(HAVE_X448_OPENSSL) && defined(HAVE_SHA512_OPENSSL) | ||
"curve448-sha512", | ||
#endif /* HAVE_X448_OPENSSL and HAVE_SHA512_OPENSSL */ | ||
"rsa1024-sha1", | ||
NULL | ||
}; | ||
|
Oops, something went wrong.