Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getDecryptedETag (0.12 sec)

  1. cmd/encryption-v1.go

    	return hex.EncodeToString(etag), nil
    }
    
    // For encrypted objects, the ETag sent by client if available
    // is stored in encrypted form in the backend. Decrypt the ETag
    // if ETag was previously encrypted.
    func getDecryptedETag(headers http.Header, objInfo ObjectInfo, copySource bool) (decryptedETag string) {
    	var (
    		key [32]byte
    		err error
    	)
    	// If ETag is contentMD5Sum return it as is.
    	if len(objInfo.ETag) == 32 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  2. cmd/bucket-handlers.go

    						Host:         handlers.GetSourceIP(r),
    					})
    					continue
    				}
    
    				fanOutResp = append(fanOutResp, minio.PutObjectFanOutResponse{
    					Key:          objInfo.Name,
    					ETag:         getDecryptedETag(formValues, objInfo, false),
    					VersionID:    objInfo.VersionID,
    					LastModified: &objInfo.ModTime,
    				})
    
    				eventArgsList = append(eventArgsList, eventArgs{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    			w.Header().Set(xhttp.AmzServerSideEncryptionCustomerKeyMD5, r.Header.Get(xhttp.AmzServerSideEncryptionCustomerKeyMD5))
    		}
    		objInfo.ETag = getDecryptedETag(r.Header, objInfo, false)
    	}
    
    	if r.Header.Get(xhttp.AmzChecksumMode) == "ENABLED" && rs == nil {
    		// AWS S3 silently drops checksums on range requests.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    			if err != nil {
    				// Call the cleanup funcs
    				for i := len(cFns) - 1; i >= 0; i-- {
    					cFns[i]()
    				}
    				return nil, err
    			}
    
    			oi.ETag = getDecryptedETag(h, oi, false)
    
    			// Apply the skipLen and limit on the
    			// decrypted stream
    			decReader = io.LimitReader(ioutil.NewSkipReader(decReader, skipLen), decRangeLength)
    
    			// Assemble the GetObjectReader
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top