commit | e1110fd1c708ef015366ea01799a23c459593c47 | [log] [tgz] |
---|---|---|
author | Katie Hockman <katie@golang.org> | Tue Oct 15 12:39:39 2019 -0400 |
committer | Katie Hockman <katie@golang.org> | Tue Nov 12 22:21:19 2019 +0000 |
tree | 41f11940d34eb42434c4a643feca0ef33f7e93ca | |
parent | 16651526fdb40c41f6e4da1ad8138f08f012e842 [diff] |
openpgp/elgamal: prevent bad key from causing panic in Decrypt If the mod inverse of the private key's P value does not exist, return an error in Decrypt rather than panic. Change-Id: Ia075a60108863b14ba98bb62364a17131423b819 Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/573976 Reviewed-by: Filippo Valsorda <valsorda@google.com> Reviewed-on: https://go-review.googlesource.com/c/crypto/+/205502 Run-TryBot: Katie Hockman <katie@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Filippo Valsorda <filippo@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.