[mirror] Go supplementary cryptography libraries https://golang.org/x/crypto
Find a file
Daniel McCarney b903b535d3 acme: capture pebble test subprocess stdout/stderr
When spawning the pebble and pebble-challtestserv processes redirect
stdout/stderr to bytes.Buffer instances and print their content at test
end as appropriate.

The stdout/stderr content for each process is printed if the test
failed, or if testing is being done in verbose mode. Otherwise the
output is swallowed.

This makes debugging test failures much easier as output from the
subprocesses from independent tests isn't intermingled.

Updates golang/go#74437

Cq-Include-Trybots: luci.golang.try:x_crypto-gotip-linux-amd64-longtest
Change-Id: Ia79a3609ce3522ef6248442de247554c39367162
Reviewed-on: https://go-review.googlesource.com/c/crypto/+/686935
Auto-Submit: Daniel McCarney <daniel@binaryparadox.net>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2025-07-11 12:27:10 -07:00
acme acme: capture pebble test subprocess stdout/stderr 2025-07-11 12:27:10 -07:00
argon2 Revert "argon2: add loong64 SIMD implementation" 2025-04-16 06:49:50 -07:00
bcrypt bcrypt: update InvalidCostError message to describe cost range inclusive 2025-05-12 11:46:18 -07:00
blake2b blake2b: implement hash.XOF 2025-06-30 09:39:26 -07:00
blake2s Revert "blake2s: add loong64 SIMD implementation" 2025-04-14 04:06:44 -07:00
blowfish all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
bn256 bn256: add missing symbols in comment 2024-09-10 20:43:33 +00:00
cast5 all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
chacha20 Revert "chacha20: add loong64 SIMD implementation" 2025-04-16 06:50:31 -07:00
chacha20poly1305 all: bump golang.org/x/crypto dependencies of asm generators 2025-02-14 15:32:41 -08:00
cryptobyte cryptobyte: fix typo 'octects' into 'octets' for asn1.go 2025-03-17 08:22:34 -07:00
curve25519 all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
ed25519 all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
hkdf all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
internal crypto/internal/poly1305: implement function update in assembly on loong64 2025-03-11 17:59:26 -07:00
md4 all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
nacl all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
ocsp all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
openpgp openpgp/clearsign: just use rand.Reader in tests 2024-12-04 19:36:17 +00:00
otr all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
pbkdf2 all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
pkcs12 all: make function and struct comments match the names 2025-01-02 08:15:46 -08:00
poly1305 all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
ripemd160 all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
salsa20 Revert "salsa20: add loong64 SIMD implementation" 2025-04-16 06:50:29 -07:00
scrypt all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
sha3 all: bump golang.org/x/crypto dependencies of asm generators 2025-02-14 15:32:41 -08:00
ssh ssh: add AlgorithmNegotiationError 2025-07-09 08:43:26 -07:00
tea all: deprecate broken and legacy packages 2019-02-22 23:25:34 +00:00
twofish all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
x509roots x509roots/fallback: update bundle 2025-06-30 09:08:05 -07:00
xtea all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
xts all: bump go.mod version and drop compatibility shims 2024-06-26 15:12:35 +00:00
.gitattributes crypto: copying .gitattributes to all subrepositories 2014-12-23 06:54:52 +00:00
.gitignore gitignore: remove obsolete reference to .hgignore in comment 2020-03-20 18:11:02 +00:00
codereview.cfg crypto: add codereview.cfg 2015-03-18 17:04:25 +00:00
CONTRIBUTING.md CONTRIBUTING.md: remove note about not accepting Pull Requests 2018-03-14 18:02:59 +00:00
go.mod go.mod: update golang.org/x dependencies 2025-07-10 10:21:43 -07:00
go.sum go.mod: update golang.org/x dependencies 2025-07-10 10:21:43 -07:00
LICENSE LICENSE: update per Google Legal 2024-07-16 16:09:32 +00:00
PATENTS go.crypto: add PATENTS file to the subrepo. 2012-04-16 11:25:08 +10:00
README.md README: don't recommend go get 2024-11-04 00:10:25 +00:00

Go Cryptography

Go Reference

This repository holds supplementary Go cryptography packages.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.

The git repository is https://go.googlesource.com/crypto.

The main issue tracker for the crypto repository is located at https://go.dev/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.