Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
crypto/x509: parse trust settings in root_nocgo_darwin #26830
#24652 addressed a number of issues with root_[no]cgo_darwin, but the nocgo version still resorts to shelling out to security instead of parsing the trust settings.
Ideally, we want to obtain the trust settings from security, and apply the same logic as the cgo code. (Possibly the same code, so we don't make mistakes twice.)