Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for verification (0.2 sec)

  1. internal/hash/reader_test.go

    	}
    }
    
    // Tests hash reader checksum verification.
    func TestHashReaderVerification(t *testing.T) {
    	testCases := []struct {
    		desc              string
    		src               io.Reader
    		size              int64
    		actualSize        int64
    		md5hex, sha256hex string
    		err               error
    	}{
    		0: {
    			desc:       "Success, no checksum verification provided.",
    			src:        bytes.NewReader([]byte("abcd")),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  2. cmd/storage-rest-server.go

    	if c.done != nil {
    		xioutil.SafeClose(c.done)
    		c.done = nil
    	}
    	return c.rc.Close()
    }
    
    // keepHTTPReqResponseAlive can be used to avoid timeouts with long storage
    // operations, such as bitrot verification or data usage scanning.
    // Every 10 seconds a space character is sent.
    // keepHTTPReqResponseAlive will wait for the returned body to be read before starting the ticker.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  3. internal/jwt/parser.go

    				jwtgo.ValidationErrorClaimsInvalid)
    		}
    	}
    
    	// Lookup key from claims, claims may not be valid and may return
    	// invalid key which is okay as the signature verification will fail.
    	key, err := fn(claims)
    	if err != nil {
    		return err
    	}
    	borrow := signer.HashBorrower()
    	hasher := hmac.New(borrow.Borrow, key)
    	hasher.Write([]byte(tokenStr[:i]))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  4. internal/config/notify/help.go

    			Description: "set to 'on' to enable TLS",
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         target.KafkaTLSSkipVerify,
    			Description: `trust server TLS without verification, defaults to "on" (verify)`,
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         target.KafkaClientTLSCert,
    			Description: "path to client certificate for mTLS auth",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 18.8K bytes
    - Viewed (0)
  5. cmd/globals.go

    	maxFormFieldSize = int64(1 * humanize.MiByte)
    
    	// The maximum allowed time difference between the incoming request
    	// date and server date during signature verification.
    	globalMaxSkewTime = 15 * time.Minute // 15 minutes skew allowed.
    
    	// GlobalStaleUploadsExpiry - Expiry duration after which the uploads in multipart,
    	// tmp directory are deemed stale.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  6. istioctl/pkg/precheck/precheck.go

    			}
    		}
    		if verificationImpacted {
    			res := ObjectToInstance(dr)
    			messages.Add(msg.NewUpdateIncompatibility(res,
    				"VERIFY_CERTIFICATE_AT_CLIENT", "1.20",
    				"previously, TLS verification was skipped. Set `insecureSkipVerify` if this behavior is desired", "1.20"))
    		}
    		if sniImpacted {
    			res := ObjectToInstance(dr)
    			messages.Add(msg.NewUpdateIncompatibility(res,
    				"ENABLE_AUTO_SNI", "1.20",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  7. cmd/config-current.go

    			Key:         config.StorageClassSubSys,
    			Description: "define object level redundancy",
    		}, config.HelpKV{
    			Key:         config.HealSubSys,
    			Description: "manage object healing frequency and bitrot verification checks",
    		})
    	}
    
    	helpMap := map[string]config.HelpKVS{
    		"":                          helpSubSys, // Help for all sub-systems.
    		config.SiteSubSys:           config.SiteHelp,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  8. cmd/auth-handler.go

    		if err != nil || len(contentSHA256) == 0 {
    			return ErrContentSHA256Mismatch
    		}
    	}
    
    	// Verify 'Content-Md5' and/or 'X-Amz-Content-Sha256' if present.
    	// The verification happens implicit during reading.
    	reader, err := hash.NewReader(ctx, r.Body, -1, clientETag.String(), hex.EncodeToString(contentSHA256), -1)
    	if err != nil {
    		return toAPIErrorCode(ctx, err)
    	}
    	r.Body = reader
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  9. cmd/common-main.go

    	if globalMinioEndpoint != "" {
    		os.Setenv("CONSOLE_MINIO_SERVER", globalMinioEndpoint)
    	} else {
    		// Explicitly set 127.0.0.1 so Console will automatically bypass TLS verification to the local S3 API.
    		// This will save users from providing a certificate with IP or FQDN SAN that points to the local host.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  10. cmd/sts-handlers.go

    		// gets rejected even when we skip certificate verification. This helps
    		// clients detect malformed certificates during testing instead of e.g.
    		// a self-signed certificate that works while a comparable certificate
    		// issued by a trusted CA fails due to the MinIO server being less strict
    		// w.r.t. key usage verification.
    		//
    		// Basically, MinIO is more consistent (from a client perspective) when
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
Back to top