Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for decryptChecksums (0.17 sec)

  1. cmd/encryption-v1.go

    	}
    
    	return nil, nil
    }
    
    // decryptChecksums will attempt to decode checksums and return it/them if set.
    // if part > 0, and we have the checksum for the part that will be returned.
    // Returns whether the checksum (main part 0) is a multipart checksum.
    func (o *ObjectInfo) decryptChecksums(part int, h http.Header) (cs map[string]string, isMP bool) {
    	data := o.Checksum
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    		} else {
    			// Check the source object for checksum.
    			// If Checksum is not encrypted, decryptChecksum will be a no-op and return
    			// the already unencrypted value.
    			srcChecksumDecrypted, err := srcInfo.decryptChecksum(r.Header)
    			if err != nil {
    				encLogOnceIf(GlobalContext,
    					fmt.Errorf("Unable to decryptChecksum for object: %s/%s, error: %w", srcBucket, srcObject, err),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    	CheckReady        bool
    
    	checkReadyErr sync.Map
    }
    
    func getCRCMeta(oi ObjectInfo, partNum int, h http.Header) (cs map[string]string, isMP bool) {
    	meta := make(map[string]string)
    	cs, isMP = oi.decryptChecksums(partNum, h)
    	for k, v := range cs {
    		if k == xhttp.AmzChecksumType {
    			continue
    		}
    		cktype := hash.ChecksumStringToType(k)
    		if cktype.IsSet() {
    			meta[cktype.Key()] = v
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
Back to top