go/src/crypto
Nathaniel Caza 4dbcacda96 crypto/x509: load all trusted certs on darwin (nocgo)
The current implementation ignores certificates that exist
in the login and System keychains.

This change adds the missing System and login keychain
files to the `/usr/bin/security` command in
`execSecurityRoots`. If the current user cannot be
obtained, the login keychain is ignored.

Refs #16532

Change-Id: I8594a6b8940c58df8a8015b274fa45c39e18862c
Reviewed-on: https://go-review.googlesource.com/36941
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-07-14 18:47:10 +00:00
..
aes crypto/aes: fix wrong instruction on ppc64le implementation 2017-04-11 20:10:08 +00:00
cipher all: make spelling consistent 2016-12-08 23:22:37 +00:00
des crypto: revise wording about cryptographically broken algorithms 2017-05-04 12:31:18 +00:00
dsa all: gofmt 2017-06-21 03:14:30 +00:00
ecdsa crypto/ecdsa: correct code comment. 2016-10-02 19:38:37 +00:00
elliptic crypto/elliptic: fix carry bug in x86-64 P-256 implementation. 2017-04-19 18:07:31 +00:00
hmac crypto/hmac: don't test for length equality in Equal. 2016-08-17 23:23:28 +00:00
internal/cipherhw crypto/{cipher,tls,internal/cryptohw}: prioritise AES-GCM when hardware support is present. 2016-11-07 20:01:18 +00:00
md5 crypto: revise wording about cryptographically broken algorithms 2017-05-04 12:31:18 +00:00
rand crypto/rand: only read necessary bytes for Int 2017-05-23 21:02:14 +00:00
rc4 crypto: revise wording about cryptographically broken algorithms 2017-05-04 12:31:18 +00:00
rsa crypto/*: document use or non-use of constant-time algorithms 2016-12-07 16:34:50 +00:00
sha1 internal/cpu: new package to detect cpu features 2017-05-10 17:02:21 +00:00
sha256 internal/cpu: new package to detect cpu features 2017-05-10 17:02:21 +00:00
sha512 internal/cpu: new package to detect cpu features 2017-05-10 17:02:21 +00:00
subtle crypto/subtle: expand abbreviation to eliminate confusion 2016-06-09 15:30:48 +00:00
tls crypto/tls: pass argument to serverInit rather than using a field in Config. 2017-05-16 18:23:28 +00:00
x509 crypto/x509: load all trusted certs on darwin (nocgo) 2017-07-14 18:47:10 +00:00
crypto.go crypto: add BLAKE2b and BLAKE2s hash constants 2017-03-01 19:26:16 +00:00