commit | 418008d6189cfc4ba88f220353d087d3ddfd7a31 | [log] [tgz] |
---|---|---|
author | mdp <m@mdp.im> | Thu Jan 26 17:24:59 2017 -0800 |
committer | Adam Langley <agl@golang.org> | Thu Aug 03 18:24:56 2017 +0000 |
tree | 2615bd0d23d456fdea1a65f765d72e0384285cff | |
parent | 358f15eacb587b056fc93273b930314a5cda12fe [diff] |
openpgp/packet: fix AES-192 encrypted session keys The existing implementation checks to see if the session key size is a multiple of the cipher blocksize. This fails for AES-192, which has a keysize of 24 bytes and a 16 byte block size. Instead it should simply check to ensure that the Session Key length is equal to the cipher KeySize. Fixes golang/go#17060 Change-Id: I1dc78129f7fb2ca5ec71b650a2adcb3752dca885 Reviewed-on: https://go-review.googlesource.com/35848 Reviewed-by: Adam Langley <agl@golang.org> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com> Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@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.