[mirror] Go supplementary cryptography libraries
Перейти к файлу
aviau f7f546618e openpgp: test subkeys with sub-optimal signature packet ordering
Test for RFC4880 5.2.3.3:
> An implementation that encounters multiple self-signatures on the
> same object may resolve the ambiguity in any way it sees fit, but it
> is RECOMMENDED that priority be given to the most recent self-
> signature.

Note: Some GPG implementation will reorder the packets for you when
 exporting keys. This makes it complicated to generate a key for this
 test. Should someone have to create a similar key again, look into
 gpgsplit, gpg --dearmor, and gpg --enarmor. These keys exist in the
 wild too.

Change-Id: I5d46054ebbc95407d644e4e462d777aab290794c
Reviewed-on: https://go-review.googlesource.com/138215
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
2018-10-01 20:27:00 +00:00
acme acme/autocert: clarify that multiple names are allowed 2018-08-30 19:23:47 +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: test subkeys with sub-optimal signature packet ordering 2018-10-01 20:27:00 +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: don't panic if a key is too short. 2018-09-04 16:38:35 +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 LICENSE: add 2012-03-17 15:19:30 +11:00
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.