openRuyi Lookout
← Packages

go-github-hashicorp-go-rootcerts

Functions for loading root certificates for TLS connections.

Current
1.0.2
Candidate
1.1.0
License
MPL-2.0

Build

TargetResultLast successful versionSucceeded at
rva23
1.0.2
rva20
1.0.2
x86_64
1.0.2

BuildDeps

DependencyObserved sourceCurrent requirementCandidate requirement
GoUnmapped
—

Description

Functions for loading root certificates for TLS connections. ------------------------------------------------------------------------ Go's standard library crypto/tls provides a common mechanism for configuring TLS connections in tls.Config. The RootCAs field on this struct is a pool of certificates for the client to use as a trust store when verifying server certificates. This library contains utility functions for loading certificates destined for that field, as well as one other important thing: When the RootCAs field is nil, the standard library attempts to load the host's root CA set. This behavior is OS-specific, and the Darwin implementation contains a bug that prevents trusted certificates from the System and Login keychains from being loaded (https://github.com/golang/go/issues/14514). This library contains Darwin-specific behavior that works around that bug.

Changelog

PR · 1

Checks
MonitorObservationLast checked
Checked
Checked
Checked
Checked
Not configured
No reliable monitor identity/configuration.
—
Checked
Compared same-provider, same-project SPDX metadata for this version pair.
Checked
Last attempted
Checked
Current source component only; local patches, build options, bundled dependencies and binary artifacts are not evaluated.
Checked