Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for cpsr (0.05 sec)

  1. src/runtime/mkpreempt.go

    		if i == 10 {
    			continue // R10 is g register, no need to save/restore
    		}
    		l.add("MOVW", reg, 4)
    	}
    	// Add flag register.
    	l.addSpecial(
    		"MOVW CPSR, R0\nMOVW R0, %d(R13)",
    		"MOVW %d(R13), R0\nMOVW R0, CPSR",
    		4)
    
    	// Add floating point registers F0-F15 and flag register.
    	var lfp = layout{stack: l.stack, sp: "R13"}
    	lfp.addSpecial(
    		"MOVW FPCR, R0\nMOVW R0, %d(R13)",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. pkg/apis/certificates/validation/validation.go

    	}
    	if csr.Spec.ExpirationSeconds != nil && *csr.Spec.ExpirationSeconds < 600 {
    		allErrs = append(allErrs, field.Invalid(specPath.Child("expirationSeconds"), *csr.Spec.ExpirationSeconds, "may not specify a duration less than 600 seconds (10 minutes)"))
    	}
    	allErrs = append(allErrs, validateConditions(field.NewPath("status", "conditions"), csr, opts)...)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  3. cmd/kube-controller-manager/app/certificates.go

    	if missingSingleSigningFile && !anySpecificFilesSet(controllerContext.ComponentConfig.CSRSigningController) {
    		logger.Info("Skipping CSR signer controller because no csr cert/key was specified")
    		return nil, false, nil
    	}
    	if !missingSingleSigningFile && anySpecificFilesSet(controllerContext.ComponentConfig.CSRSigningController) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  4. security/pkg/k8s/chiron/utils_test.go

    	go func() {
    		for {
    			select {
    			case <-ctx.Done():
    				return
    			case r := <-w.ResultChan():
    				csr := r.Object.(*cert.CertificateSigningRequest).DeepCopy()
    				if csr.Status.Certificate != nil {
    					log.Debugf("test signer skip, already signed: %v", csr.Name)
    					continue
    				}
    				if approved(csr) {
    					// This is a pretty terrible hack, but client-go fake doesn't properly support list+watch,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 03:58:11 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. pkg/registry/certificates/certificates/storage/metrics_test.go

    					SignerName:        "pandas",
    					ExpirationSeconds: csr.DurationToExpirationSeconds(time.Hour),
    				},
    			},
    			options:       &metav1.UpdateOptions{DryRun: []string{"stuff"}},
    			wantSigner:    "",
    			wantRequested: false,
    			wantHonored:   false,
    		},
    		{
    			name:    "old CSR already has a cert so it is ignored",
    			success: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/pkiutil/pki_helpers.go

    	}
    
    	return nil
    }
    
    // WriteCSR writes the pem-encoded CSR data to csrPath.
    // The CSR file will be created with file mode 0600.
    // If the CSR file already exists, it will be overwritten.
    // The parent directory of the csrPath will be created as needed with file mode 0700.
    func WriteCSR(csrDir, name string, csr *x509.CertificateRequest) error {
    	if csr == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. security/pkg/server/ca/server_test.go

    			},
    			caller: &security.Caller{Identities: []string{callerID}},
    			ipAddr: mockIPAddr,
    			code:   codes.OK,
    		},
    	}
    
    	for id, c := range testCerts {
    		request := &pb.IstioCertificateRequest{Csr: "dumb CSR"}
    		ctx := context.Background()
    		if c.certChain != nil {
    			tlsInfo := credentials.TLSInfo{
    				State: tls.ConnectionState{VerifiedChains: c.certChain},
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/certs/renewal/manager.go

    	}
    
    	// generates the CSR request and save it
    	csr, key, err := pkiutil.NewCSRAndKey(cfg)
    	if err != nil {
    		return errors.Wrapf(err, "failure while generating %s CSR and key", name)
    	}
    	if err := pkiutil.WriteKey(outdir, name, key); err != nil {
    		return errors.Wrapf(err, "failure while saving %s key", name)
    	}
    
    	if err := pkiutil.WriteCSR(outdir, name, csr); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/certs/certs_test.go

    	}
    
    	csr, _, err := NewCSR(kubeadmCert, cfg)
    
    	if err != nil {
    		t.Errorf("invalid signature on CSR: %v", err)
    	}
    
    	assert.ElementsMatch(t, certConfig.Organization, csr.Subject.Organization, "organizations not equal")
    
    	if csr.Subject.CommonName != certConfig.CommonName {
    		t.Errorf("expected common name %q, got %q", certConfig.CommonName, csr.Subject.CommonName)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. security/pkg/pki/util/crypto_test.go

    		"Invalid PEM string": {
    			errMsg: "certificate signing request is not properly encoded",
    			pem:    "bad pem string",
    		},
    		"Invalid CSR string": {
    			errMsg: "failed to parse X.509 certificate signing request",
    			pem:    certECDSA,
    		},
    		"Parse CSR": {
    			algo: x509.RSA,
    			pem:  csr,
    		},
    	}
    
    	for id, c := range testCases {
    		_, err := ParsePemEncodedCSR([]byte(c.pem))
    		if c.errMsg != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top