Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for unsigned (0.16 sec)

  1. cmd/streaming-v4-unsigned.go

    // The s3ChunkedReader returns io.EOF when the final 0-length chunk is read.
    func newUnsignedV4ChunkedReader(req *http.Request, trailer bool) (io.ReadCloser, APIErrorCode) {
    	if trailer {
    		// Discard anything unsigned.
    		req.Trailer = make(http.Header)
    		trailers := req.Header.Values(awsTrailerHeader)
    		for _, key := range trailers {
    			req.Trailer.Add(key, "")
    		}
    	} else {
    		req.Trailer = nil
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  2. cmd/signature-v4-utils.go

    )
    
    // http Header "x-amz-content-sha256" == "UNSIGNED-PAYLOAD" indicates that the
    // client did not calculate sha256 of the payload.
    const unsignedPayload = "UNSIGNED-PAYLOAD"
    
    // http Header "x-amz-content-sha256" == "STREAMING-UNSIGNED-PAYLOAD-TRAILER" indicates that the
    // client did not calculate sha256 of the payload and there is a trailer.
    const unsignedPayloadTrailer = "STREAMING-UNSIGNED-PAYLOAD-TRAILER"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. cmd/signature-v4-utils_test.go

    	}
    
    	// Since the list of signed headers value contained `expect`, the default value of `100-continue` will be added to extracted signed headers.
    	if extractedExpect != expectedExpect {
    		t.Errorf("expect header incorrect value: expected `%s`, got `%s`", expectedExpect, extractedExpect)
    	}
    
    	// case where the headers don't contain the one of the signed header in the signed headers list.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  4. cmd/auth-handler.go

    	return r.Header.Get(xhttp.AmzContentSha256) == streamingContentSHA256Trailer &&
    		r.Method == http.MethodPut
    }
    
    // Verify if the request has AWS Streaming Signature Version '4', with unsigned content and trailer.
    func isRequestUnsignedTrailerV4(r *http.Request) bool {
    	return r.Header.Get(xhttp.AmzContentSha256) == unsignedPayloadTrailer &&
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    // response for anonymous/unsigned and unknown signature type HTTP request.
    
    // Here is the brief description of some of the arguments to the function below.
    //
    //	apiRouter - http.Handler with the relevant API endPoint (API endPoint under test) registered.
    //	anonReq   - unsigned *http.Request to invoke the handler's response for anonymous requests.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  6. cmd/auth-handler_test.go

    		{
    			authT: authTypePresigned,
    			pass:  true,
    		},
    		// Test 3 - supported s3 type signed.
    		{
    			authT: authTypeSigned,
    			pass:  true,
    		},
    		// Test 4 - supported s3 type with post policy.
    		{
    			authT: authTypePostPolicy,
    			pass:  true,
    		},
    		// Test 5 - supported s3 type with streaming signed.
    		{
    			authT: authTypeStreamingSigned,
    			pass:  true,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. cmd/signature-v4_test.go

    				"X-Amz-Date":           now.Format(iso8601Format),
    				"X-Amz-Content-Sha256": payloadSHA256,
    			},
    			region:   "",
    			expected: ErrSignatureDoesNotMatch,
    		},
    		// (9) Should error with unsigned headers.
    		{
    			queryParams: map[string]string{
    				"X-Amz-Algorithm":       signV4Algorithm,
    				"X-Amz-Date":            now.Format(iso8601Format),
    				"X-Amz-Expires":         "60",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  8. cmd/streaming-signature-v4.go

    	cred, seedSignature, region, seedDate, errCode := calculateSeedSignature(req, trailer)
    	if errCode != ErrNone {
    		return nil, errCode
    	}
    
    	if trailer {
    		// Discard anything unsigned.
    		req.Trailer = make(http.Header)
    		trailers := req.Header.Values(awsTrailerHeader)
    		for _, key := range trailers {
    			req.Trailer.Add(key, "")
    		}
    	} else {
    		req.Trailer = nil
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  9. cmd/bucket-policy-handlers_test.go

    		}
    	}
    
    	// Test for Anonymous/unsigned http request.
    	// Bucket policy related functions doesn't support anonymous requests, setting policies shouldn't make a difference.
    	bucketPolicyStr := fmt.Sprintf(bucketPolicyTemplate, bucketName, bucketName)
    	// create unsigned HTTP request for PutBucketPolicyHandler.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  10. helm/minio/README.md

    ```bash
    helm install --set persistence.enabled=false minio/minio
    ```
    
    > *"An emptyDir volume is first created when a Pod is assigned to a Node, and exists as long as that Pod is running on that node. When a Pod is removed from a node for any reason, the data in the emptyDir is deleted forever."*
    
    ### Existing PersistentVolumeClaim
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 24 07:27:57 GMT 2024
    - 10.9K bytes
    - Viewed (0)
Back to top