go/src/crypto
Filippo Valsorda 0852a104fd crypto/x509: add GODEBUG option x509ignoreCN=1
When x509ignoreCN=1 is present in GODEBUG, ignore the deprecated Common
Name field. This will let people test a behavior we might make the
default in the future, and lets a final class of certificates avoid the
NameConstraintsWithoutSANs error.

Updates #24151

Change-Id: I1c397aa1fa23777b9251c311d02558f9a5bdefc0
Reviewed-on: https://go-review.googlesource.com/123695
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Adam Langley <agl@golang.org>
2018-07-16 19:30:55 +00:00
..
aes crypto: panic on illegal input and output overlap 2018-06-19 21:06:50 +00:00
cipher crypto: panic on illegal input and output overlap 2018-06-19 21:06:50 +00:00
des crypto: panic on illegal input and output overlap 2018-06-19 21:06:50 +00:00
dsa crypto: randomly read an extra byte of randomness in some places. 2018-06-07 15:09:25 +00:00
ecdsa crypto: randomly read an extra byte of randomness in some places. 2018-06-07 15:09:25 +00:00
elliptic Revert "crypto/elliptic: implement P256 for arm64" 2018-06-28 01:45:22 +00:00
hmac all: update comment URLs from HTTP to HTTPS, where possible 2018-06-01 21:52:00 +00:00
internal crypto: panic on illegal input and output overlap 2018-06-19 21:06:50 +00:00
md5 crypto/md5: unnecessary conversion 2018-04-24 15:49:43 +00:00
rand syscall/js: add TypedArrayOf 2018-06-27 20:29:21 +00:00
rc4 crypto: panic on illegal input and output overlap 2018-06-19 21:06:50 +00:00
rsa crypto: randomly read an extra byte of randomness in some places. 2018-06-07 15:09:25 +00:00
sha1 crypto, internal/cpu: fix s390x AES feature detection and update SHA implementations 2018-06-11 11:41:31 +00:00
sha256 crypto, internal/cpu: fix s390x AES feature detection and update SHA implementations 2018-06-11 11:41:31 +00:00
sha512 crypto, internal/cpu: fix s390x AES feature detection and update SHA implementations 2018-06-11 11:41:31 +00:00
subtle crypto/subtle: simplify and speed up constant-time primitives 2017-11-10 03:47:57 +00:00
tls crypto/tls: add RSASSA-PSS support for handshake messages 2018-06-27 23:08:06 +00:00
x509 crypto/x509: add GODEBUG option x509ignoreCN=1 2018-07-16 19:30:55 +00:00
crypto.go
issue21104_test.go crypto/{aes,cipher,rc4}: fix out of bounds write in stream ciphers 2017-08-09 04:17:51 +00:00