Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for md5 (0.12 sec)

  1. internal/crypto/error.go

    	// ErrCustomerKeyMD5Mismatch indicates that the SSE-C key MD5 does not match the
    	// computed MD5 sum. This means that the client provided either the wrong key for
    	// a certain MD5 checksum or the wrong MD5 for a certain key.
    	ErrCustomerKeyMD5Mismatch = Errorf("The provided SSE-C key MD5 does not match the computed MD5 of the SSE-C key")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. internal/hash/reader_test.go

    			err:        ioutil.ErrOverread,
    		},
    		{
    			desc:       "Correct MD5, nested",
    			src:        mustReader(t, bytes.NewReader([]byte("abcd")), 4, "", "", 4),
    			size:       4,
    			actualSize: 4,
    			md5hex:     "e2fc714c4727ee9395f324cd2e7f331f",
    		},
    		{
    			desc:       "Correct MD5, truncated",
    			src:        bytes.NewReader([]byte("abcd-morethan-4-bytes")),
    			size:       4,
    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)
  3. docs/debugging/s3-check-md5/main.go

    	bucket, prefix                 string
    	debug                          bool
    	versions                       bool
    	insecure                       bool
    )
    
    // getMD5Sum returns MD5 sum of given data.
    func getMD5Sum(data []byte) []byte {
    	hash := md5.New()
    	hash.Write(data)
    	return hash.Sum(nil)
    }
    
    func main() {
    	flag.StringVar(&endpoint, "endpoint", "https://play.min.io", "S3 endpoint URL")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 17 01:15:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  4. docs/site-replication/run-ssec-object-replication.sh

    # Check the MD5 checksums of encrypted objects from source and target
    if [ "${src_obj1_md5}" != "${rep_obj1_md5}" ]; then
    	echo "BUG: MD5 checksum of object 'minio2/test-bucket/encrypted' doesn't match with source. Expected: '${src_obj1_md5}', Found: '${rep_obj1_md5}'"
    	exit_1
    fi
    if [ "${src_obj2_md5}" != "${rep_obj2_md5}" ]; then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 9.7K bytes
    - Viewed (1)
  5. cmd/object-multipart-handlers.go

    	// The ETag of a multi-part object is always:
    	//   ETag := MD5(ETag_p1, ETag_p2, ...)+"-N"   (N being the number of parts)
    	//
    	// This is independent of encryption. An encrypted multipart
    	// object also has an ETag that is the MD5 of its part ETags.
    	// The fact the in case of encryption the ETag of a part is
    	// not the MD5 of the part content does not change that.
    	var completeETags []etag.ETag
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  6. cmd/object_api_suite_test.go

    		if err != nil {
    			t.Errorf("%s: <ERROR> %s", instanceType, err)
    		}
    		if calcPartInfo.ETag != expectedETaghex {
    			t.Errorf("MD5 Mismatch")
    		}
    		completedParts.Parts = append(completedParts.Parts, CompletePart{
    			PartNumber: i,
    			ETag:       calcPartInfo.ETag,
    		})
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  7. internal/hash/reader.go

    			CalculatedSHA256: "",
    		}
    	}
    
    	// Merge the size, MD5 and SHA256 values if src is a Reader.
    	// The size may be set to -1 by callers if unknown.
    	if r, ok := src.(*Reader); ok {
    		if r.bytesRead > 0 {
    			return nil, errors.New("hash: already read from hash reader")
    		}
    		if len(r.checksum) != 0 && len(MD5) != 0 && !etag.Equal(r.checksum, MD5) {
    			return nil, BadDigest{
    				ExpectedMD5:   r.checksum.String(),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  8. docs/bucket/replication/setup_3site_replication.sh

    sleep 10
    
    echo "Verifying ETag for all objects"
    s3-check-md5 -versions -access-key minio -secret-key minio123 -endpoint http://127.0.0.1:9001/ -bucket bucket
    s3-check-md5 -versions -access-key minio -secret-key minio123 -endpoint http://127.0.0.1:9002/ -bucket bucket
    s3-check-md5 -versions -access-key minio -secret-key minio123 -endpoint http://127.0.0.1:9003/ -bucket bucket
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  9. .gitignore

    .vscode/
    *.tar.bz2
    parts/
    prime/
    stage/
    .sia_temp/
    config.json
    node_modules/
    mc.*
    s3-check-md5*
    xl-meta*
    healing-*
    inspect*.zip
    200M*
    hash-set
    minio.RELEASE*
    mc
    nancy
    inspects/*
    .bin/
    *.gz
    docs/debugging/s3-verify/s3-verify
    docs/debugging/xl-meta/xl-meta
    docs/debugging/s3-check-md5/s3-check-md5
    docs/debugging/hash-set/hash-set
    docs/debugging/healing-bin/healing-bin
    docs/debugging/inspect/inspect
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 707 bytes
    - Viewed (0)
  10. cmd/server_test.go

    		int64(buffer1.Len()), buffer1, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    	// set Content-Md5 to invalid value.
    	request.Header.Set("Content-Md5", "kvLTlMrX9NpYDQlEIFlnDA==")
    	// expecting a failure during upload.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// Since Content-Md5 header was wrong, expecting to fail with "SignatureDoesNotMatch" error.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
Back to top