mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 16:24:39 +02:00
remove sntrup761x25519-sha512 from supported kex list (#756)
This commit is contained in:
parent
cdcc8d34d8
commit
86bc0d7df9
14
myproposal.h
14
myproposal.h
@ -24,6 +24,19 @@
|
|||||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* 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 \
|
#define KEX_SERVER_KEX \
|
||||||
"sntrup761x25519-sha512@openssh.com," \
|
"sntrup761x25519-sha512@openssh.com," \
|
||||||
"curve25519-sha256," \
|
"curve25519-sha256," \
|
||||||
@ -35,6 +48,7 @@
|
|||||||
"diffie-hellman-group16-sha512," \
|
"diffie-hellman-group16-sha512," \
|
||||||
"diffie-hellman-group18-sha512," \
|
"diffie-hellman-group18-sha512," \
|
||||||
"diffie-hellman-group14-sha256"
|
"diffie-hellman-group14-sha256"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define KEX_CLIENT_KEX KEX_SERVER_KEX
|
#define KEX_CLIENT_KEX KEX_SERVER_KEX
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user