[mirror] Go supplementary cryptography libraries
Перейти к файлу
David Jones 74cb1d3d52 acme/autocert: include rejected hostname in TLS handshake error when host not configured
More informative error message enables HTTPS server configuration mistakes to be corrected quickly, since log files will now include the rejected hostname.  If the hostname should be accepted, it can be added to the HostWhitelist Policy.

Fixes golang/go#28345

Change-Id: I801c82f0d3b19bc34592c9cd0bce77f1b284d19d
GitHub-Last-Rev: 5dfe731d73
GitHub-Pull-Request: golang/crypto#63
Reviewed-on: https://go-review.googlesource.com/c/144337
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-10-24 17:11:44 +00:00
acme acme/autocert: include rejected hostname in TLS handshake error when host not configured 2018-10-24 17:11:44 +00:00
argon2 crypto/{blake2b,blake2s,argon2,chacha20poly1305}: replace CPU feature detection 2018-04-30 18:12:35 +00:00
bcrypt all: fix errors reported by vet, golint 2017-11-28 17:48:09 +00:00
blake2b crypto/{blake2b,blake2s,argon2,chacha20poly1305}: replace CPU feature detection 2018-04-30 18:12:35 +00:00
blake2s crypto/{blake2b,blake2s,argon2,chacha20poly1305}: replace CPU feature detection 2018-04-30 18:12:35 +00:00
blowfish all: use HTTPS for links that support it 2017-06-29 04:21:55 +00:00
bn256 all: gofmt 2018-06-17 04:21:18 +00:00
cast5 crypto: add import comments. 2014-12-09 23:26:36 +00:00
chacha20poly1305 chacha20poly1305: use x/sys/cpu feature variables directly 2018-08-20 15:07:26 +00:00
cryptobyte x/crypto: cryptobyte: manage integers with implicit tags 2018-04-20 17:11:55 +00:00
curve25519 all: fix article typos 2017-09-15 13:46:28 +00:00
ed25519 ed25519: actually be compatible with RFC 8032 2018-05-31 19:11:17 +00:00
hkdf crypto: add import comments. 2014-12-09 23:26:36 +00:00
internal chacha20poly1305: add XChaCha20-Poly1305 2018-08-06 17:10:22 +00:00
md4 md4: move the example to the right directory 2017-07-20 17:59:35 +00:00
nacl internal/subtle: add Any/InexactOverlap (new package) and apply them across packages 2018-06-13 22:47:33 +00:00
ocsp ocsp: remove error for > 1 certificate in response 2018-05-01 15:29:04 +00:00
openpgp openpgp: split up tests and keys 2018-10-09 21:39:50 +00:00
otr otr: add missing return on error path 2017-01-18 18:54:26 +00:00
pbkdf2 pbkdf2: add benchmarks 2017-12-19 04:11:29 +00:00
pkcs12 all: run gofmt -s on source code 2017-11-28 19:40:09 +00:00
poly1305 poly1305: add additional test cases 2018-05-14 23:09:06 +00:00
ripemd160 ripemd160: use bits.Rotate for rotates 2018-03-08 18:56:24 +00:00
salsa20 internal/subtle: add Any/InexactOverlap (new package) and apply them across packages 2018-06-13 22:47:33 +00:00
scrypt scrypt: update example to match recommendation two lines below 2018-05-03 21:59:45 +00:00
sha3 sha3: add NewLegacyKeccak256 2018-05-05 02:55:34 +00:00
ssh ssh/testdata: correct typo 2018-10-15 02:39:09 +00:00
tea all: fix errors reported by vet, golint 2017-11-28 17:48:09 +00:00
twofish all: use HTTPS for links that support it 2017-06-29 04:21:55 +00:00
xtea xtea: comment cleanup 2018-03-22 17:52:30 +00:00
xts internal/subtle: add Any/InexactOverlap (new package) and apply them across packages 2018-06-13 22:47:33 +00:00
.gitattributes crypto: copying .gitattributes to all subrepositories 2014-12-23 06:54:52 +00:00
.gitignore convert .hgignore to .gitignore. 2014-12-08 10:41:13 +11:00
AUTHORS all: use HTTPS for links that support it 2017-06-29 04:21:55 +00:00
CONTRIBUTING.md CONTRIBUTING.md: remove note about not accepting Pull Requests 2018-03-14 18:02:59 +00:00
CONTRIBUTORS all: use HTTPS for links that support it 2017-06-29 04:21:55 +00:00
LICENSE
PATENTS go.crypto: add PATENTS file to the subrepo. 2012-04-16 11:25:08 +10:00
README.md README: add improvements 2017-07-19 14:12:01 +00:00
codereview.cfg crypto: add codereview.cfg 2015-03-18 17:04:25 +00:00

README.md

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.