remove sntrup761x25519-sha512 from supported kex list

This commit is contained in:
Tess Gauthier 2024-10-11 14:56:13 -04:00
parent d7e886b9f6
commit ca281bb995

View File

@ -24,6 +24,19 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifdef WINDOWS
// these should be in the same order as upstream, without the ones we don't support
#define KEX_SERVER_KEX \
"curve25519-sha256," \
"curve25519-sha256@libssh.org," \
"ecdh-sha2-nistp256," \
"ecdh-sha2-nistp384," \
"ecdh-sha2-nistp521," \
"diffie-hellman-group-exchange-sha256," \
"diffie-hellman-group16-sha512," \
"diffie-hellman-group18-sha512," \
"diffie-hellman-group14-sha256"
#else
#define KEX_SERVER_KEX \
"sntrup761x25519-sha512@openssh.com," \
"curve25519-sha256," \
@ -35,6 +48,7 @@
"diffie-hellman-group16-sha512," \
"diffie-hellman-group18-sha512," \
"diffie-hellman-group14-sha256"
#endif
#define KEX_CLIENT_KEX KEX_SERVER_KEX