Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for Signature (0.17 sec)

  1. cmd/update.go

    		if err = v.LoadFromURL(u.String(), minisignPubkey, transport); err != nil {
    			return AdminError{
    				Code:       AdminUpdateApplyFailure,
    				Message:    fmt.Sprintf("signature loading failed for %v with %v", u, err),
    				StatusCode: http.StatusInternalServerError,
    			}
    		}
    		opts.Verifier = v
    	}
    
    	if err = selfupdate.PrepareAndCheckBinary(reader, opts); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    }
    
    // signatureErr is a signature returned when an error occurs.
    var signatureErr = [4]byte{'e', 'r', 'r', 0}
    
    // getSignature will return a signature that is expected to be the same across all disks.
    func (j xlMetaV2Version) getSignature() [4]byte {
    	switch j.Type {
    	case ObjectType:
    		return j.ObjectV2.Signature()
    	case DeleteType:
    		return j.DeleteMarker.Signature()
    	case LegacyType:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  3. cmd/object-handlers_test.go

    			secretKey:          credentials.SecretKey,
    			shouldPass:         false,
    			fault:              signatureMismatch,
    		},
    		// Test case - 10
    		// Different date (timestamps) used in seed signature calculation
    		// and chunks signature calculation.
    		{
    			bucketName:         bucketName,
    			objectName:         objectName,
    			data:               oneKData,
    			dataLen:            1024,
    			chunkSize:          1024,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  4. src/archive/zip/zip_test.go

    	d := make([]byte, 1024)
    	if _, err := zip.ReadAt(d, zip.Size()-int64(len(d))); err != nil {
    		t.Fatalf("ReadAt: %v", err)
    	}
    
    	sigOff := findSignatureInBlock(d)
    	if sigOff == -1 {
    		t.Errorf("failed to find signature in block")
    		return false
    	}
    
    	dirOff, err := findDirectory64End(zip, zip.Size()-int64(len(d))+int64(sigOff))
    	if err != nil {
    		t.Fatalf("findDirectory64End: %v", err)
    	}
    	if dirOff == -1 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/asm.go

    		flag = p.evalInteger("TEXT", operands[1])
    		next++
    	}
    
    	// Issue an error if we see a function defined as ABIInternal
    	// without NOSPLIT. In ABIInternal, obj needs to know the function
    	// signature in order to construct the morestack path, so this
    	// currently isn't supported for asm functions.
    	if nameAddr.Sym.ABI() == obj.ABIInternal && flag&obj.NOSPLIT == 0 {
    		p.errorf("TEXT %q: ABIInternal requires NOSPLIT", name)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  6. internal/http/headers.go

    	// Dummy putBucketACL
    	AmzACL = "x-amz-acl"
    
    	// Signature V4 related constants.
    	AmzContentSha256        = "X-Amz-Content-Sha256"
    	AmzDate                 = "X-Amz-Date"
    	AmzAlgorithm            = "X-Amz-Algorithm"
    	AmzExpires              = "X-Amz-Expires"
    	AmzSignedHeaders        = "X-Amz-SignedHeaders"
    	AmzSignature            = "X-Amz-Signature"
    	AmzCredential           = "X-Amz-Credential"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  7. cmd/object-handlers.go

    		return
    	}
    
    	// if Content-Length is unknown/missing, deny the request
    	size := r.ContentLength
    	rAuthType := getRequestAuthType(r)
    	switch rAuthType {
    	// Check signature types that must have content length
    	case authTypeStreamingSigned, authTypeStreamingSignedTrailer, authTypeStreamingUnsignedTrailer:
    		if sizeStr, ok := r.Header[xhttp.AmzDecodedContentLength]; ok {
    			if sizeStr[0] == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    // ----------
    // Enable server profiling
    func (a adminAPIHandlers) StartProfilingHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	// Validate request signature.
    	_, adminAPIErr := checkAdminRequestAuth(ctx, r, policy.ProfilingAdminAction, "")
    	if adminAPIErr != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(adminAPIErr), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  9. cmd/admin-handlers_test.go

    	req, err := newTestRequest(http.MethodPost, resource, 0, nil)
    	if err != nil {
    		return nil, err
    	}
    
    	// management REST API uses signature V4 for authentication.
    	err = signRequestV4(req, cred.AccessKey, cred.SecretKey)
    	if err != nil {
    		return nil, err
    	}
    	return req, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool.go

    				askDisks := getListQuorum(opts.AskDisks, set.setDriveCount)
    				if askDisks == -1 {
    					newDisks := getQuorumDisks(disks, infos, (len(disks)+1)/2)
    					if newDisks != nil {
    						// If we found disks signature in quorum, we proceed to list
    						// from a single drive, shuffling of the drives is subsequently.
    						disks = newDisks
    						askDisks = 1
    					} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
Back to top