- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 84 for keyUsages (0.21 sec)
-
plugin/pkg/admission/imagepolicy/gencerts.sh
[ v3_req ] basicConstraints = CA:FALSE keyUsage = nonRepudiation, digitalSignature, keyEncipherment extendedKeyUsage = serverAuth subjectAltName = @alt_names [alt_names] IP.1 = 127.0.0.1 EOF cat > client.conf << EOF [req] req_extensions = v3_req distinguished_name = req_distinguished_name [req_distinguished_name] [ v3_req ] basicConstraints = CA:FALSE keyUsage = nonRepudiation, digitalSignature, keyEncipherment
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 10 14:59:09 UTC 2019 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testcerts/gencerts.sh
CN_BASE="generic_webhook_admission_plugin_tests" cat > server.conf << EOF [req] req_extensions = v3_req distinguished_name = req_distinguished_name [req_distinguished_name] [ v3_req ] basicConstraints = CA:FALSE keyUsage = nonRepudiation, digitalSignature, keyEncipherment extendedKeyUsage = clientAuth, serverAuth subjectAltName = @alt_names [alt_names] IP.1 = 127.0.0.1 DNS.1 = webhook-test.default.svc EOF
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 24 05:55:09 UTC 2019 - 3.5K bytes - Viewed (0) -
src/crypto/x509/x509_test_import.go
SerialNumber: big.NewInt(1), Subject: pkix.Name{ CommonName: "test", Organization: []string{"Σ Acme Co"}, }, NotBefore: time.Unix(1000, 0), NotAfter: time.Unix(100000, 0), KeyUsage: x509.KeyUsageCertSign, } if _, err = x509.CreateCertificate(rand.Reader, &template, &template, &rsaPriv.PublicKey, rsaPriv); err != nil { panic("failed to create certificate with basic imports: " + err.Error()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.7K bytes - Viewed (0) -
security/pkg/k8s/chiron/utils.go
IsDualUse: false, PKCS8Key: false, } csrPEM, keyPEM, err := util.GenCSR(options) if err != nil { log.Errorf("CSR generation error (%v)", err) return nil, nil, nil, err } usages := []cert.KeyUsage{ cert.UsageDigitalSignature, cert.UsageKeyEncipherment, cert.UsageServerAuth, } if signerName == "" { return nil, nil, nil, fmt.Errorf("signerName is required for Kubernetes CA") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 05 18:11:22 UTC 2024 - 9.2K bytes - Viewed (0) -
pkg/testcerts/generate-certs.sh
set -e cat > client.conf <<EOF [req] req_extensions = v3_req distinguished_name = req_distinguished_name [req_distinguished_name] [ v3_req ] basicConstraints = CA:FALSE keyUsage = nonRepudiation, digitalSignature, keyEncipherment extendedKeyUsage = clientAuth, serverAuth subjectAltName = @alt_names [alt_names] IP.1 = 127.0.0.1 IP.2 = ::1 EOF cat > server.conf <<EOF [req]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 14:06:41 UTC 2023 - 3.3K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/certificates/v1/certificatesigningrequestspec.go
SignerName *string `json:"signerName,omitempty"` ExpirationSeconds *int32 `json:"expirationSeconds,omitempty"` Usages []v1.KeyUsage `json:"usages,omitempty"` Username *string `json:"username,omitempty"` UID *string `json:"uid,omitempty"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 02 03:38:16 UTC 2021 - 5.6K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/certificates/v1beta1/certificatesigningrequestspec.go
SignerName *string `json:"signerName,omitempty"` ExpirationSeconds *int32 `json:"expirationSeconds,omitempty"` Usages []v1beta1.KeyUsage `json:"usages,omitempty"` Username *string `json:"username,omitempty"` UID *string `json:"uid,omitempty"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 02 03:38:16 UTC 2021 - 5.7K bytes - Viewed (0) -
pkg/controller/certificates/approver/sarapprove_test.go
b := csrBuilder{ signerName: capi.KubeAPIServerClientKubeletSignerName, cn: "system:node:foo", orgs: []string{"system:nodes"}, requestor: "system:node:foo", usages: []capi.KeyUsage{ capi.UsageKeyEncipherment, capi.UsageDigitalSignature, capi.UsageClientAuth, }, } c(&b) t.Run(fmt.Sprintf("csr:%#v", b), func(t *testing.T) { csr := makeFancyTestCsr(b)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 02 21:12:04 UTC 2022 - 7.7K bytes - Viewed (0) -
pkg/apis/certificates/fuzzer/fuzzer.go
return []interface{}{ func(obj *certificates.CertificateSigningRequestSpec, c fuzz.Continue) { c.FuzzNoCustom(obj) // fuzz self without calling this function again obj.Usages = []certificates.KeyUsage{certificates.UsageKeyEncipherment} obj.SignerName = "example.com/custom-sample-signer" obj.ExpirationSeconds = csr.DurationToExpirationSeconds(time.Hour + time.Minute + time.Second) },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 02 03:38:15 UTC 2021 - 1.6K bytes - Viewed (0) -
tests/integration/security/util/secret/secret.go
return fmt.Errorf("%v does not exist in the data section", key) } } verifyFields := &util.VerifyFields{ ExtKeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth, x509.ExtKeyUsageServerAuth}, KeyUsage: x509.KeyUsageDigitalSignature | x509.KeyUsageKeyEncipherment, IsCA: false, Host: expectedID, } if err := util.VerifyCertificate(secret.Data[ca.PrivateKeyFile],
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 22 04:04:14 UTC 2023 - 2.3K bytes - Viewed (0)