You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
crypto/x509 in Go has a CertPool struct which is used by many other functions. It would be nice to offer a CertPool from a whitelist.
I'm thinking something like the following:
// CertPool returns an x509.CertPool which has had a whitelist applied. // The initial set of certificates comes from the system's store. funcCertPool(wh whitelist.Whitelist) (*x509.CertPool, error)
crypto/x509
in Go has aCertPool
struct which is used by many other functions. It would be nice to offer aCertPool
from a whitelist.I'm thinking something like the following:
There's a similar package which embeds certificates: https://github.com/certifi/gocertifi
The text was updated successfully, but these errors were encountered: