- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 179 for x509 (0.06 sec)
-
tests/fuzz/security_fuzzer.go
// See the License for the specific language governing permissions and // limitations under the License. package fuzz import ( "context" "crypto/tls" "crypto/x509" "crypto/x509/pkix" "net" fuzz "github.com/AdaLogics/go-fuzz-headers" "google.golang.org/grpc/credentials" "google.golang.org/grpc/peer" pb "istio.io/api/security/v1alpha1" "istio.io/istio/pkg/security"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 3.2K bytes - Viewed (0) -
pkg/spiffe/spiffe_test.go
"bar.domain.com": {validRootCert}, }, errContains: "x509: certificate signed by unknown authority", }, } for _, testCase := range testCases { t.Run(testCase.name, func(t *testing.T) { certMap := make(map[string][]*x509.Certificate) for trustDomain, certStrs := range testCase.certMap { certMap[trustDomain] = []*x509.Certificate{} for _, certStr := range certStrs {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 18.1K bytes - Viewed (0) -
cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 21:49:21 UTC 2024 - 22.5K bytes - Viewed (0) -
pilot/pkg/grpc/tls.go
} func getRootCertificate(rootCertFile string) (*x509.CertPool, error) { var certPool *x509.CertPool var rootCert []byte var err error if rootCertFile != "" { rootCert, err = os.ReadFile(rootCertFile) if err != nil { return nil, err } certPool = x509.NewCertPool() ok := certPool.AppendCertsFromPEM(rootCert) if !ok {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 22:11:02 UTC 2024 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go
return nil, nil, err } template := x509.Certificate{ SerialNumber: big.NewInt(1), Subject: pkix.Name{ CommonName: fmt.Sprintf("%s@%d", host, time.Now().Unix()), }, NotBefore: time.Unix(0, 0), NotAfter: time.Now().Add(time.Hour * 24 * 365 * 100), KeyUsage: x509.KeyUsageKeyEncipherment | x509.KeyUsageDigitalSignature | x509.KeyUsageCertSign,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 15:52:39 UTC 2024 - 13.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/certlist.go
// Once the upstream issue is resolved, this should be returned to only allowing // ServerAuth usage. Usages: []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth, x509.ExtKeyUsageClientAuth}, }, }, configMutators: []configMutatorsFunc{ makeAltNamesMutator(pkiutil.GetEtcdAltNames), setCommonNameToNodeName(), }, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 15.8K bytes - Viewed (0) -
src/crypto/tls/boring_test.go
KeyUsage: x509.KeyUsageKeyEncipherment | x509.KeyUsageDigitalSignature, ExtKeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth, x509.ExtKeyUsageClientAuth}, BasicConstraintsValid: true, } if mode&^boringCertFIPSOK == boringCertLeaf { tmpl.DNSNames = []string{"example.com"} } else { tmpl.IsCA = true tmpl.KeyUsage |= x509.KeyUsageCertSign }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:45:37 UTC 2024 - 19.4K bytes - Viewed (0) -
src/crypto/x509/platform_test.go
ExtKeyUsage: []ExtKeyUsage{ExtKeyUsageServerAuth}, }, selfSigned: true, macosErr: "x509: “valid.testing.golang.invalid” certificate is not trusted", windowsErr: "x509: certificate signed by unknown authority", }, { name: "non-specified KU", cert: &Certificate{ SerialNumber: big.NewInt(1), DNSNames: []string{"valid.testing.golang.invalid"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 17:18:29 UTC 2024 - 7.2K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/kubelet_windows_test.go
Authentication: kubeletconfig.KubeletAuthentication{ X509: kubeletconfig.KubeletX509Authentication{ ClientCAFile: "/foo/ca.crt", }, }, }, expected: &kubeletconfig.KubeletConfiguration{ ResolverConfig: ptr.To(""), StaticPodPath: filepath.Join(drive, "/foo/staticpods"), Authentication: kubeletconfig.KubeletAuthentication{ X509: kubeletconfig.KubeletX509Authentication{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 10:26:46 UTC 2024 - 2.6K bytes - Viewed (0) -
src/crypto/tls/example_test.go
ClientAuth: tls.RequireAnyClientCert, VerifyConnection: func(cs tls.ConnectionState) error { opts := x509.VerifyOptions{ DNSName: cs.ServerName, Intermediates: x509.NewCertPool(), KeyUsages: []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth}, } for _, cert := range cs.PeerCertificates[1:] { opts.Intermediates.AddCert(cert) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 7.8K bytes - Viewed (0)