commit | 374053ea96cb300f8671b8d3b07edeeb06e203b4 | [log] [tgz] |
---|---|---|
author | Filippo Valsorda <filippo@golang.org> | Thu Mar 15 16:20:44 2018 -0400 |
committer | Filippo Valsorda <filippo@golang.org> | Fri Mar 16 18:01:49 2018 +0000 |
tree | 919e6317dfc4bd1962964ff98db90ff7f3e1e45f | |
parent | b4956d363a8b14623cc81db401707679605930a3 [diff] |
openpgp/packet: improve handling of short MPIs for RSA values MPIs are (supposed to be) stripped of leading zeroes. Avoid passing such short values into crypto/rsa, even if it currently happens to work. Change-Id: I5a5f4813b8358e83fcc2deeda1272d2733814542 Reviewed-on: https://go-review.googlesource.com/100844 Reviewed-by: Adam Langley <agl@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.