Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for decryptKey (0.52 sec)

  1. cmd/admin-handlers.go

    			return
    		}
    		writeSuccessResponseJSON(w, resp)
    		return
    	}
    
    	// 3. Compare generated key with decrypted key
    	if subtle.ConstantTimeCompare(key.Plaintext, decryptedKey) != 1 {
    		response.DecryptionErr = "The generated and the decrypted data key do not match"
    		resp, err := json.Marshal(response)
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    		chStorageClass = true
    		srcInfo.metadataOnly = false
    	} // no changes in storage-class expected so its a metadataonly operation.
    
    	var reader io.Reader = gr
    
    	// Set the actual size to the compressed/decrypted size if encrypted.
    	actualSize, err := srcInfo.GetActualSize()
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	length := actualSize
    
    	if !cpSrcDstSame {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
Back to top