Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,209 for Usages (0.24 sec)

  1. security/pkg/k8s/chiron/utils.go

    		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")
    	}
    	certChain, caCert, err := SignCSRK8s(client, csrPEM, signerName, usages, dnsName, caFilePath, approveCsr, true, requestedLifetime)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 18:11:22 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceParallelExecutionIntegrationTest.groovy

                        }
                    }
                }
            """
        }
    
        @ToBeFixedForIsolatedProjects(because = "allprojects")
        def "tasks run in parallel when no max usages specified"() {
            given:
            withParallelThreads(2)
    
            buildFile << """
                def service = gradle.sharedServices.registerIfAbsent("exclusive", BuildService) {}
    
                allprojects {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/bootstraptoken/v1/defaults.go

    func SetDefaults_BootstrapToken(bt *BootstrapToken) {
    	if bt.TTL == nil {
    		bt.TTL = &metav1.Duration{
    			Duration: DefaultTokenDuration,
    		}
    	}
    	if len(bt.Usages) == 0 {
    		bt.Usages = DefaultTokenUsages
    	}
    
    	if len(bt.Groups) == 0 {
    		bt.Groups = DefaultTokenGroups
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 21 10:34:21 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/bootstraptoken/v1/utils_test.go

    				Usages: []string{"authentication", "signing"},
    			},
    			false,
    		},
    		{
    			"should ignore usages that aren't set to true",
    			"bootstrap-token-abcdef",
    			map[string][]byte{
    				"token-id":                       []byte("abcdef"),
    				"token-secret":                   []byte("abcdef0123456789"),
    				"usage-bootstrap-signing":        []byte("true"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 26 15:51:39 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/certificates/v1/types.go

    	//  "ipsec end system", "ipsec tunnel", "ipsec user",
    	//  "timestamping", "ocsp signing", "microsoft sgc", "netscape sgc"
    	// +listType=atomic
    	Usages []KeyUsage `json:"usages,omitempty" protobuf:"bytes,5,opt,name=usages"`
    
    	// username contains the name of the user that created the CertificateSigningRequest.
    	// Populated by the API server on creation and immutable.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/certs/certlist.go

    			Config: certutil.Config{
    				// TODO: etcd 3.2 introduced an undocumented requirement for ClientAuth usage on the
    				// server cert: https://github.com/etcd-io/etcd/issues/9785#issuecomment-396715692
    				// Once the upstream issue is resolved, this should be returned to only allowing
    				// ServerAuth usage.
    				Usages: []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth, x509.ExtKeyUsageClientAuth},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. pkg/kubelet/certificate/bootstrap/bootstrap.go

    	if err != nil {
    		return nil, fmt.Errorf("unable to generate certificate request: %v", err)
    	}
    
    	usages := []certificatesv1.KeyUsage{
    		certificatesv1.UsageDigitalSignature,
    		certificatesv1.UsageClientAuth,
    	}
    	if _, ok := privateKey.(*rsa.PrivateKey); ok {
    		usages = append(usages, certificatesv1.UsageKeyEncipherment)
    	}
    
    	// The Signer interface contains the Public() method to get the public key.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 14.2K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/ConfigurationRolesForMigration.java

                "The initial role must not contain deprecated usages."
            );
            Preconditions.checkArgument(
                !eventualRole.isConsumptionDeprecated() && !eventualRole.isResolutionDeprecated() && !eventualRole.isDeclarationAgainstDeprecated(),
                "The eventual role must not contain deprecated usages."
            );
    
            /*
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 12 16:55:27 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. pkg/apis/certificates/types.go

    	//
    	// +optional
    	ExpirationSeconds *int32
    
    	// usages specifies a set of usage contexts the key will be
    	// valid for.
    	// See:
    	//	https://tools.ietf.org/html/rfc5280#section-4.2.1.3
    	//	https://tools.ietf.org/html/rfc5280#section-4.2.1.12
    	Usages []KeyUsage
    
    	// Information about the requesting user.
    	// See user.Info interface for details.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 11K bytes
    - Viewed (0)
  10. pkg/controller/certificates/approver/sarapprove.go

    }
    
    func isSelfNodeClientCert(csr *capi.CertificateSigningRequest, x509cr *x509.CertificateRequest) bool {
    	if csr.Spec.Username != x509cr.Subject.CommonName {
    		return false
    	}
    	return isNodeClientCert(csr, x509cr)
    }
    
    func usagesToSet(usages []capi.KeyUsage) sets.String {
    	result := sets.NewString()
    	for _, usage := range usages {
    		result.Insert(string(usage))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 21 16:03:42 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top