Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for not_before (0.11 sec)

  1. istioctl/pkg/writer/compare/sds/util.go

    	}
    
    	today := time.Now()
    	return SecretMeta{
    		SerialNumber: fmt.Sprintf("%x", cert.SerialNumber),
    		NotAfter:     cert.NotAfter.Format(time.RFC3339),
    		NotBefore:    cert.NotBefore.Format(time.RFC3339),
    		Type:         certType,
    		Valid:        today.After(cert.NotBefore) && today.Before(cert.NotAfter),
    		TrustDomain:  trustDomain,
    	}, nil
    }
    
    func parseTrustBundles(secret *auth.Secret, state string) ([]SecretItem, error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/sds/writer.go

    			fmt.Fprintf(tw, "%s\t%s\t%s\t%t\t%s\t%s\t%s\t%s\n",
    				s.Name, s.Type, s.State, s.Valid, s.SerialNumber, s.NotAfter, s.NotBefore, s.SecretMeta.TrustDomain)
    		} else {
    			fmt.Fprintf(tw, "%s\t%s\t%s\t%t\t%s\t%s\t%s\n",
    				s.Name, s.Type, s.State, s.Valid, s.SerialNumber, s.NotAfter, s.NotBefore)
    		}
    	}
    	return tw.Flush()
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. internal/jwt/parser.go

    				return err
    			}
    		case 'n':
    			if string(key) == "nbf" {
    				if dataType != jsonparser.Number {
    					return errors.New("nbf: Expected number")
    				}
    				c.NotBefore, err = jsonparser.ParseInt(value)
    				return err
    			}
    		case 's':
    			if string(key) == "sub" {
    				if dataType != jsonparser.String {
    					return errors.New("sub: Expected string")
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    	var err error
    	priv, err = rsa.GenerateKey(crand.Reader, rsaBits)
    	if err != nil {
    		return nil, nil, fmt.Errorf("failed to generate private key: %w", err)
    	}
    
    	notBefore := time.Now()
    	notAfter := notBefore.Add(validFor)
    
    	serialNumberLimit := new(big.Int).Lsh(big.NewInt(1), 128)
    	serialNumber, err := crand.Int(crand.Reader, serialNumberLimit)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    				check ^= xxh3.HashString(v.String())
    			}
    			tlsInfo.Certs = append(tlsInfo.Certs, madmin.TLSCert{
    				PubKeyAlgo:    c.PublicKeyAlgorithm.String(),
    				SignatureAlgo: c.SignatureAlgorithm.String(),
    				NotBefore:     c.NotBefore,
    				NotAfter:      c.NotAfter,
    				Checksum:      strconv.FormatUint(check, 16),
    			})
    		}
    	}
    	return tlsInfo
    }
    
    // ServerInfoHandler - GET /minio/admin/v3/info
    // ----------
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.27.md

    ### Feature
    
    - Kubeadm: generate CA certificates with a start time that is offset 5 minutes in the past relative to the current system time to workaround cases of clock desync.
      client-go: allow to set NotBefore in NewSelfSignedCACert() ([#119113](https://github.com/kubernetes/kubernetes/pull/119113), [@champtar](https://github.com/champtar)) [SIG API Machinery, Auth and Cluster Lifecycle]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jul 17 07:48:22 UTC 2024
    - 466.3K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.28.md

    - Kubeadm: generate CA certificates with a start time that is offset 5 minutes in the past relative to the current system time to workaround cases of clock desync.
      client-go: allow to set NotBefore in NewSelfSignedCACert() ([#118922](https://github.com/kubernetes/kubernetes/pull/118922), [@champtar](https://github.com/champtar)) [SIG API Machinery, Auth and Cluster Lifecycle]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 04:34:59 UTC 2024
    - 456.9K bytes
    - Viewed (0)
Back to top