Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 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. cmd/object-api-deleteobject_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"crypto/md5"
    	"encoding/hex"
    	"strings"
    	"testing"
    )
    
    // Wrapper for calling DeleteObject tests for both Erasure multiple disks and single node setup.
    func TestDeleteObject(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  5. internal/hash/errors.go

    	CalculatedSHA256 string
    }
    
    func (e SHA256Mismatch) Error() string {
    	return "Bad sha256: Expected " + e.ExpectedSHA256 + " does not match calculated " + e.CalculatedSHA256
    }
    
    // BadDigest - Content-MD5 you specified did not match what we received.
    type BadDigest struct {
    	ExpectedMD5   string
    	CalculatedMD5 string
    }
    
    func (e BadDigest) Error() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon May 15 21:08:54 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top