Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for md5Sum (0.04 sec)

  1. cmd/object-api-utils.go

    func cleanMetadata(metadata map[string]string) map[string]string {
    	// Remove STANDARD StorageClass
    	metadata = removeStandardStorageClass(metadata)
    	// Clean meta etag keys 'md5Sum', 'etag', "expires", "x-amz-tagging".
    	return cleanMetadataKeys(metadata, "md5Sum", "etag", "expires", xhttp.AmzObjectTagging, "last-modified", VersionPurgeStatusKey)
    }
    
    // Filter X-Amz-Storage-Class field only if it is set to STANDARD.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  2. cmd/object-api-utils_test.go

    		},
    		{
    			name:     "2",
    			metadata: map[string]string{"content-type": "application/octet-stream", "etag": "de75a98baf2c6aef435b57dd0fc33c86", "x-amz-storage-class": "REDUCED_REDUNDANCY", "md5sum": "abcde"},
    			keys:     []string{"etag", "md5sum"},
    			want:     map[string]string{"content-type": "application/octet-stream", "x-amz-storage-class": "REDUCED_REDUNDANCY"},
    		},
    		{
    			name:     "3",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. docs/site-replication/run-multi-site-ldap.sh

    	echo "svc account found after delete, exiting.."
    	exit_1
    fi
    
    ./mc mb minio1/newbucket
    # copy large upload to newbucket on minio1
    truncate -s 17M lrgfile
    expected_checksum=$(cat ./lrgfile | md5sum)
    
    ./mc cp ./lrgfile minio1/newbucket
    
    # create a bucket bucket2 on minio1.
    ./mc mb minio1/bucket2
    
    sleep 5
    ./mc stat --no-list minio2/newbucket
    if [ $? -ne 0 ]; then
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. cmd/encryption-v1.go

    func tryDecryptETag(key []byte, encryptedETag string, sses3 bool) string {
    	// ETag for SSE-C or SSE-KMS encrypted objects need not be content MD5Sum.While encrypted
    	// md5sum is stored internally, return just the last 32 bytes of hex-encoded and
    	// encrypted md5sum string for SSE-C
    	if !sses3 {
    		return encryptedETag[len(encryptedETag)-32:]
    	}
    	var objectKey crypto.ObjectKey
    	copy(objectKey[:], key)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  5. cmd/erasure-object_test.go

    		h.Reset()
    		_, err = io.Copy(h, gr)
    		if err != nil {
    			t.Fatalf("Test %d: Failed to calculate md5sum of the object: %v", i+1, err)
    		}
    		gr.Close()
    		foundHash := h.Sum(nil)
    
    		if !bytes.Equal(foundHash, expectedHash) {
    			t.Fatalf("Test %d: Expected data to have md5sum = `%x`, found `%x`", i+1, expectedHash, foundHash)
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.3K bytes
    - Viewed (0)
  6. docs/site-replication/run-multi-site-minio-idp.sh

    	echo "svc account found after delete, exiting.."
    	exit_1
    fi
    
    ./mc mb minio1/newbucket
    # copy large upload to newbucket on minio1
    truncate -s 17M lrgfile
    expected_checksum=$(cat ./lrgfile | md5sum)
    
    ./mc cp ./lrgfile minio1/newbucket
    
    sleep 5
    ./mc stat --no-list minio2/newbucket
    if [ $? -ne 0 ]; then
    	echo "expecting bucket to be present. exiting.."
    	exit_1
    fi
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. cmd/object-api-putobject_test.go

    		19: {bucketName: bucket, objName: object, inputData: fiveMBBytes, inputMeta: map[string]string{"answer": "42"}, inputDataSize: int64(len(fiveMBBytes)), expectedMd5: getMD5Hash(fiveMBBytes)},
    
    		// With valid md5sum and sha256.
    		20: {bucketName: bucket, objName: object, inputData: data, inputMeta: md5Header(data), inputSHA256: getSHA256Hash(data), inputDataSize: int64(len(data)), expectedMd5: getMD5Hash(data)},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. cmd/api-response.go

    type CopyObjectResponse struct {
    	XMLName      xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ CopyObjectResult" json:"-"`
    	LastModified string   // time string of format "2006-01-02T15:04:05.000Z"
    	ETag         string   // md5sum of the copied object.
    }
    
    // CopyObjectPartResponse container returns ETag and LastModified of the successfully copied object
    type CopyObjectPartResponse struct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    	return errors.New(part.Error)
    }
    
    // CompleteMultipartUpload - completes an ongoing multipart
    // transaction after receiving all the parts indicated by the client.
    // Returns an md5sum calculated by concatenating all the individual
    // md5sums of all the parts.
    //
    // Implements S3 compatible Complete multipart API.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  10. cmd/erasure-metadata.go

    		Name:        fi.TransitionedObjName,
    		VersionID:   fi.TransitionVersionID,
    		Status:      fi.TransitionStatus,
    		FreeVersion: fi.TierFreeVersion(),
    		Tier:        fi.TransitionTier,
    	}
    
    	// etag/md5Sum has already been extracted. We need to
    	// remove to avoid it from appearing as part of
    	// response headers. e.g, X-Minio-* or X-Amz-*.
    	// Tags have also been extracted, we remove that as well.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
Back to top