Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for EncryptionAlgorithm (0.27 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt

        }
    
        private
        fun newEncryptionSession(): EncryptionAlgorithm.Session =
            encryptionAlgorithm.newSession(secretKey)
    
        private
        fun secretKeySource(kind: EncryptionKind): SecretKeySource =
            when (kind) {
                EncryptionKind.KEYSTORE ->
                    KeyStoreKeySource(
                        encryptionAlgorithm = encryptionAlgorithm.algorithm,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go

    			Organization: spec.ClientCertAuth.Organizations,
    			Usages:       []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth},
    		},
    		NotAfter:            spec.ClientCertNotAfter,
    		EncryptionAlgorithm: spec.EncryptionAlgorithm,
    	}
    }
    
    // validateKubeConfig check if the kubeconfig file exist and has the expected CA and server URL
    func validateKubeConfig(outDir, filename string, config *clientcmdapi.Config) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 27K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/kubeconfig/kubeconfig_test.go

    				}
    
    				// Assert EncryptionAlgorithm
    				if spec.EncryptionAlgorithm != cfg.EncryptionAlgorithm {
    					t.Errorf("getKubeConfigSpecs for %s EncryptionAlgorithm is %s, expected %s", assertion.kubeConfigFile, spec.EncryptionAlgorithm, cfg.EncryptionAlgorithm)
    				}
    
    				// Asserts InitConfiguration values injected into spec
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/pkiutil/pki_helpers.go

    	RSAPrivateKeyBlockType = "RSA PRIVATE KEY"
    )
    
    // CertConfig is a wrapper around certutil.Config extending it with EncryptionAlgorithm.
    type CertConfig struct {
    	certutil.Config
    	NotAfter            time.Time
    	EncryptionAlgorithm kubeadmapi.EncryptionAlgorithmType
    }
    
    // NewCertificateAuthority creates new certificate and private key for the certificate authority
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    					Networking: kubeadmapi.Networking{
    						ServiceSubnet: "10.96.0.1/12",
    						DNSDomain:     "cluster.local",
    					},
    					CertificatesDir:     "/some/cert/dir",
    					EncryptionAlgorithm: kubeadmapi.EncryptionAlgorithmRSA2048,
    				},
    				NodeRegistration: kubeadmapi.NodeRegistrationOptions{Name: nodename, CRISocket: criPath},
    			}, false},
    		{"invalid missing token with IPv6 service subnet",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/certs/renewal/manager.go

    	for _, f := range handler.certConfigMutators {
    		if err := f(&certConfig); err != nil {
    			return false, err
    		}
    	}
    
    	cfg := &pkiutil.CertConfig{
    		Config:              certConfig,
    		EncryptionAlgorithm: rm.cfg.EncryptionAlgorithmType(),
    	}
    
    	startTime := kubeadmutil.StartTimeUTC()
    
    	// Backdate certificate to allow small time jumps.
    	cfg.NotBefore = startTime.Add(-kubeadmconstants.CertificateBackdate)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/kubeadm/types.go

    	FeatureGates map[string]bool
    
    	// The cluster name
    	ClusterName string
    
    	// EncryptionAlgorithm holds the type of asymmetric encryption algorithm used for keys and certificates.
    	// Can be one of "RSA-2048" (default), "RSA-3072", "RSA-4096" or "ECDSA-P256".
    	EncryptionAlgorithm EncryptionAlgorithmType
    
    	// CertificateValidityPeriod specifies the validity period for a non-CA certificate generated by kubeadm.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go

    	// +optional
    	ClusterName string `json:"clusterName,omitempty"`
    
    	// EncryptionAlgorithm holds the type of asymmetric encryption algorithm used for keys and certificates.
    	// Can be one of "RSA-2048" (default), "RSA-3072", "RSA-4096" or "ECDSA-P256".
    	// +optional
    	EncryptionAlgorithm EncryptionAlgorithmType `json:"encryptionAlgorithm,omitempty"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go

    )
    
    func TestMain(m *testing.M) {
    	var err error
    
    	rootCACert, rootCAKey, err = NewCertificateAuthority(&CertConfig{
    		Config: certutil.Config{
    			CommonName: "Root CA 1",
    		},
    		EncryptionAlgorithm: kubeadmapi.EncryptionAlgorithmRSA2048,
    	})
    	if err != nil {
    		panic(fmt.Sprintf("Failed generating Root CA: %v", err))
    	}
    	if !rootCACert.IsCA {
    		panic("rootCACert is not a valid CA")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go

    //     `Scheduler.ExtraArgs`, `Etcd.Local.ExtraArgs`. Also to `NodeRegistrationOptions.KubeletExtraArgs`.
    //   - Add `ClusterConfiguration.EncryptionAlgorithm` that can be used to set the asymmetric encryption algorithm
    //     used for this cluster's keys and certificates. Can be one of "RSA-2048" (default), "RSA-3072", "RSA-4096" or "ECDSA-P256".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top