Skip to content

remove sntrup761x25519-sha512 from supported kex list #756

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions myproposal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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," \
"[email protected]," \
"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 \
"[email protected]," \
"curve25519-sha256," \
Expand All @@ -35,6 +48,7 @@
"diffie-hellman-group16-sha512," \
"diffie-hellman-group18-sha512," \
"diffie-hellman-group14-sha256"
#endif

#define KEX_CLIENT_KEX KEX_SERVER_KEX

Expand Down