Home | History | Annotate | Download | only in x509

Lines Matching refs:trust

41 // 1. Run "security trust-settings-export" and "security
42 // trust-settings-export -d" to discover the set of certs with some
43 // user-tweaked trust policy. We're too lazy to parse the XML (at
44 // least at this stage of Go 1.8) to understand what the trust
62 println(fmt.Sprintf("crypto/x509: %d certs have a trust policy", len(hasPolicy)))
106 // tweaked their trust policy. These 4 goroutines are only
107 // defensive in the pathological case of many trust edits.
195 // possibly-altered trust policy. The keys of the map are capitalized
198 // verify-cert` to see whether the user altered the default trust
214 // If there are no trust settings, the
215 // `security trust-settings-export` command
217 // exit status 1, SecTrustSettingsCreateExternalRepresentation: No Trust Settings were found.
220 // there are no trust settings.
257 if err := run("user", "trust-settings-export"); err != nil {
258 return nil, fmt.Errorf("dump-trust-settings (user): %v", err)
260 if err := run("admin", "trust-settings-export", "-d"); err != nil {
261 return nil, fmt.Errorf("dump-trust-settings (admin): %v", err)