commit | afb6bcd081ae5258e9449bf8b9af19593c9b261f | [log] [tgz] |
---|---|---|
author | Daniel Cohen <dcohen@gatech.edu> | Tue Sep 01 16:04:21 2020 -0400 |
committer | Filippo Valsorda <filippo@golang.org> | Wed Sep 30 16:06:38 2020 +0000 |
tree | 17eb7cdce433b630a37ba5a189521fbe10c439b3 | |
parent | 5c72a883971a4325f8c62bf07b6d38c20ea47a6a [diff] |
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 <filippo@golang.org> Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Trust: Roland Shoemaker <roland@golang.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 $GOPATH/src/golang.org/x/crypto
.
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.