|author||Han-Wen Nienhuys <email@example.com>||Mon Jan 22 20:45:19 2018 +0100|
|committer||Han-Wen Nienhuys <firstname.lastname@example.org>||Mon Jan 22 21:37:07 2018 +0000|
ssh: use io.ReadFull() for reading chacha20-poly1305 packets. Incomplete reads leave (part of) the verification tag zeroed, leading to a failing MAC, and this is more likely to happen with larger packets. The test added in the previous commit should stop this from regressing. Reinstate chacha20-poly1305 as a default cipher and prefer it over AES CTR flavors. Fixes golang/go#23510 Change-Id: I7599897e59448edb7b814eebcc8226ea15b365d6 Reviewed-on: https://go-review.googlesource.com/89075 Reviewed-by: Brad Fitzpatrick <email@example.com> Run-TryBot: Han-Wen Nienhuys <firstname.lastname@example.org> TryBot-Result: Gobot Gobot <email@example.com>
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.