650f4a345ab4e5b245a3034b110ebc7299e68186
The openpgp package promotes bad defaults by not setting the preferred cipher and hash of new entities created by `openpgp.NewEntity`. The preferred hash can be set by passing a `packet.Config` with a `DefaultHash` set, but the same cannot be done for the preferred cipher. This change copies the DefaultCipher into the self-signature, similar to DefaultHash. Change-Id: I80e1289d67b7cd4079be8c1d5ba603a555dbe5c1 Reviewed-on: https://go-review.googlesource.com/66430 Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Adam Langley <agl@golang.org>
Go Cryptography
This repository holds supplementary Go cryptography libraries.
Download/Install
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.
Report Issues / Send Patches
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.
Description
Mirror of ys-ll/crypto (GitHub), kept for paraterm builds
https://golang.org/x/crypto
8.1 MiB
Languages
Go
88.6%
Assembly
11.1%
C
0.3%