|author||Daniel Cohen <email@example.com>||Tue Sep 01 16:04:21 2020 -0400|
|committer||Filippo Valsorda <firstname.lastname@example.org>||Wed Sep 30 16:06:38 2020 +0000|
ssh: remove slow unnecessary diffie-hellman-group-exchange primality check The existing implementation validates that the prime returned by the server is, in fact, prime, which is extremely slow, especially for large key sizes. As other implementations, including OpenSSH, do not verify the primality of the provided parameters, this change removes that check. Fixes golang/go#41151 Change-Id: I7539714c690f08b5792a0c540cbf46c3e81f13ba Reviewed-on: https://go-review.googlesource.com/c/crypto/+/252337 Reviewed-by: Filippo Valsorda <email@example.com> Run-TryBot: Filippo Valsorda <firstname.lastname@example.org> TryBot-Result: Go Bot <email@example.com> Trust: Roland Shoemaker <firstname.lastname@example.org>
This repository holds supplementary Go cryptography libraries.
The easiest way to install is to run
go get -u golang.org/x/crypto/.... You can also manually git clone the repository to
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the crypto repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/crypto:” in the subject line, so it is easy to find.
Note that contributions to the cryptography package receive additional scrutiny due to their sensitive nature. Patches may take longer than normal to receive feedback.