]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: Turn off finite field (a.k.a modp) Diffie-Hellman key
authordjm@openbsd.org <djm@openbsd.org>
Sun, 6 Oct 2024 23:37:17 +0000 (23:37 +0000)
committerDamien Miller <djm@mindrot.org>
Sun, 13 Oct 2024 22:21:07 +0000 (09:21 +1100)
commit0051381a8c33740a77a1eca6859efa1c78887d80
treebb9cbd63caf287320d6bb32f5b1192011949b5e8
parent67a115e7a56dbdc3f5a58c64b29231151f3670f5
upstream: Turn off finite field (a.k.a modp) Diffie-Hellman key

exchange in sshd by default. Specifically, this removes the
diffie-hellman-group* and diffie-hellman-group-exchange-* methods. The client
is unchanged and continues to support these methods by default.

Finite field Diffie Hellman is slow and computationally expensive for
the same security level as Elliptic Curve DH or PQ key agreement while
offering no redeeming advantages.

ECDH has been specified for the SSH protocol for 15 years and some
form of ECDH has been the default key exchange in OpenSSH for the last
14 years.

ok markus@

OpenBSD-Commit-ID: 4e238ad480a33312667cc10ae0eb6393abaec8da
myproposal.h
sshd_config.5