[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] kex: enable more ECDSA hostkey algos


Hi,

Attached is a simple patch to also enable the ecdsa-sha2-nistp[384,521]
host key algorithms by default.


-Jon
From 1e2685618181474fa441c2499d7c2fb4e22d51fe Mon Sep 17 00:00:00 2001
From: Jon Simons <jon@xxxxxxxxxxxxx>
Date: Sat, 15 Feb 2014 15:48:54 -0800
Subject: [PATCH] kex: enable more ECDSA hostkey algos

Signed-off-by: Jon Simons <jon@xxxxxxxxxxxxx>
---
 src/kex.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/kex.c b/src/kex.c
index f19beb8..563c6a5 100644
--- a/src/kex.c
+++ b/src/kex.c
@@ -73,7 +73,7 @@
 
 #ifdef HAVE_ECDH
 #define ECDH "ecdh-sha2-nistp256,"
-#define HOSTKEYS "ecdsa-sha2-nistp256,ssh-rsa,ssh-dss"
+#define HOSTKEYS "ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss"
 #else
 #define HOSTKEYS "ssh-rsa,ssh-dss"
 #define ECDH ""
-- 
1.8.4.21.g992c386


Follow-Ups:
Re: [PATCH] kex: enable more ECDSA hostkey algosAris Adamantiadis <aris@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org