Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 595 for invalidAt (0.13 sec)

  1. internal/crypto/key.go

    func GenerateKey(extKey []byte, random io.Reader) (key ObjectKey) {
    	if random == nil {
    		random = rand.Reader
    	}
    	if len(extKey) != 32 { // safety check
    		logger.CriticalIf(context.Background(), errors.New("crypto: invalid key length"))
    	}
    	var nonce [32]byte
    	if _, err := io.ReadFull(random, nonce[:]); err != nil {
    		logger.CriticalIf(context.Background(), errOutOfEntropy)
    	}
    
    	const Context = "object-encryption-key generation"
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Mar 19 20:28:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/cni-watcher_test.go

    	valid := CNIPluginAddEvent{
    		Netns:        "/var/netns/foo",
    		PodName:      "pod-bingo",
    		PodNamespace: "funkyns",
    	}
    
    	payload, _ := json.Marshal(valid)
    
    	invalid := string(payload) + "funkyjunk"
    
    	_, err := processAddEvent([]byte(invalid))
    
    	assert.Error(t, err)
    }
    
    func TestCNIPluginServer(t *testing.T) {
    	fakePodIP := "11.1.1.12"
    	_, addr, _ := net.ParseCIDR(fakePodIP + "/32")
    	valid := CNIPluginAddEvent{
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

            MockletHttpServletRequest req = getMockRequest();
            assertNull(accessTokenHelper.getAccessTokenFromRequest(req));
        }
    
        public void test_getAccessTokenFromRequest_bad1() {
            final String token = "INVALID _TOKEN0";
            MockletHttpServletRequest req = getMockRequest();
            req.addHeader("Authorization", token);
            assertThrows(InvalidAccessTokenException.class, () -> accessTokenHelper.getAccessTokenFromRequest(req));
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. internal/config/identity/plugin/config.go

    func (o *AuthNPlugin) Authenticate(roleArn arn.ARN, token string) (AuthNResponse, error) {
    	if o == nil {
    		return AuthNResponse{}, nil
    	}
    
    	if roleArn != o.args.RoleARN {
    		return AuthNResponse{}, fmt.Errorf("Invalid role ARN value: %s", roleArn.String())
    	}
    
    	u := url.URL(*o.args.URL)
    	q := u.Query()
    	q.Set("token", token)
    	u.RawQuery = q.Encode()
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. cni/pkg/install/install.go

    	}
    
    	return copiedFiles, nil
    }
    
    // Run starts the installation process, verifies the configuration, then sleeps.
    // If the configuration is invalid, a full redeployal of config, binaries, and svcAcct credentials to the
    // shared node CNI dir will be attempted.
    //
    // If changes occurred but the config is still valid, only the binaries and (optionally) svcAcct credentials
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. docs/debugging/inspect/decrypt-v1.go

    	key, err := hex.DecodeString(keyHex[8:])
    	if err != nil {
    		return err
    	}
    	// Verify that CRC is ok.
    	want := binary.LittleEndian.Uint32(id)
    	got := crc32.ChecksumIEEE(key)
    	if want != got {
    		return fmt.Errorf("Invalid key checksum, want %x, got %x", want, got)
    	}
    
    	stream, err := sio.AES_256_GCM.Stream(key)
    	if err != nil {
    		return err
    	}
    	// Zero nonce, we only use each key once, and 32 bytes is plenty.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Apr 11 21:22:47 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/asm.go

    				// The CR bit is represented as a constant 0-31. Convert it to a Reg.
    				c := p.getConstant(prog, op, &a[1])
    				reg, success := ppc64.ConstantToCRbit(c)
    				if !success {
    					p.errorf("invalid CR bit register number %d", c)
    				}
    				prog.Reg = reg
    			}
    			break
    		}
    		if p.arch.Family == sys.MIPS || p.arch.Family == sys.MIPS64 || p.arch.Family == sys.RISCV64 {
    			// 3-operand jumps.
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/plugins/form-validator/date.js

    g=a.formUtils.parseDate(c,f);if(!g)return!1;var h=g[0],i=g[1],j=g[2],k=b(h,i,j),l=(d.valAttr("age-range")||"0-124").split("-");if(d.trigger("ageCalculated",[k]),2!==l.length||!a.isNumeric(l[0])||!a.isNumeric(l[1]))throw new Error("Date range format invalid");return k>=l[0]&&k<=l[1]},errorMessage:"",errorMessageKey:"badDate"})}(a)});...
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  9. istioctl/pkg/install/k8sversion/version_test.go

    	}
    	version1_8GKE = &version.Info{
    		Major:      "1",
    		Minor:      "8",
    		GitVersion: "v1.8.7-gke.8",
    	}
    	versionInvalid1 = &version.Info{
    		Major:      "1",
    		Minor:      "7",
    		GitVersion: "v1.invalid.7",
    	}
    	versionInvalid2 = &version.Info{
    		Major:      "one",
    		Minor:      "seven",
    		GitVersion: "one.seven",
    	}
    )
    
    func TestExtractKubernetesVersion(t *testing.T) {
    	cases := []struct {
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Wed Oct 30 21:50:50 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. internal/bucket/replication/rule.go

    	errPriorityMissing                        = Errorf("Priority must be specified")
    	errInvalidDeleteMarkerReplicationStatus   = Errorf("Delete marker replication status is invalid")
    	errDestinationSourceIdentical             = Errorf("Destination bucket cannot be the same as the source bucket.")
    	errDeleteReplicationMissing               = Errorf("Delete replication must be specified")
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jan 24 23:22:20 UTC 2022
    - 8.3K bytes
    - Viewed (0)
Back to top