-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.OS-Darwin
Milestone
Description
What version of Go are you using (go version)?
go version devel +204a8f5 Tue Jan 1 20:15:48 2019 +0000 darwin/amd64
Does this issue reproduce with the latest release?
reproduced using git tip
What operating system and processor architecture are you using (go env)?
macos 10.14.2
with expired certificate in keychain (certificate comes from corporate wi-fi network that requires their cert deployed to machine
What did you do?
1. Get source code $ git clone https://github.com/golang/go
2. Build and test code $ cd go/src && ./all.bash
What did you expect to see?
All tests passed
What did you see instead?
crypto/x509 test fails, although those certificates should not be affecting tests... At least I would imagine they should not affect that.
--- FAIL: TestSystemRoots (1.31s)
root_darwin_test.go:34: cgo sys roots: 680.554535ms
root_darwin_test.go:35: non-cgo sys roots: 563.203215ms
root_darwin_test.go:74: certificate only present in non-cgo pool: CN=wifi.vanke.com,OU=IT Center,O=China Vanke,L=Shen Zhen,ST=Guang Dong,C=CN (verify error: x509: certificate has expired or is not yet valid)
root_darwin_test.go:76: signed certificate only present in non-cgo pool (acceptable): CN=Developer ID Certification Authority,OU=Apple Certification Authority,O=Apple Inc.,C=US
FAIL
FAIL crypto/x509 3.412s
Deleting failed certificates from keychain passes the test.
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.OS-Darwin