[ 
https://issues.apache.org/jira/browse/HDDS-10633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Andika updated HDDS-10633:
-------------------------------
    Description: 
See: 
[https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#checking-object-integrity-md5]

Client can specify the "Content-MD5" header to verify the integrity of the 
object as part of the upload process.

If the Content-MD5 does not match with the calculated md5, should throw 
BadDigest.

See: [https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html]

!image-2024-04-02-16-38-12-332.png|width=474,height=61!

Since S3G already supports ETag which uses md5 hash of the object content, we 
can reuse it.

  was:
See: 
[https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#checking-object-integrity-md5]

Client can specify the "Content-MD5" header to verify the integrity of the 
object as part of the upload process.

If the Content-MD5 does not match with the calculated md5, should throw 
BadDigest. See: 
[https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html]

!image-2024-04-02-16-38-12-332.png|width=474,height=61!

Since S3G already supports ETag which uses md5 hash of the object content, we 
can reuse it.


> Support Content-MD5 header when uploading object
> ------------------------------------------------
>
>                 Key: HDDS-10633
>                 URL: https://issues.apache.org/jira/browse/HDDS-10633
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Ivan Andika
>            Priority: Major
>         Attachments: image-2024-04-02-16-38-12-332.png
>
>
> See: 
> [https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#checking-object-integrity-md5]
> Client can specify the "Content-MD5" header to verify the integrity of the 
> object as part of the upload process.
> If the Content-MD5 does not match with the calculated md5, should throw 
> BadDigest.
> See: [https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html]
> !image-2024-04-02-16-38-12-332.png|width=474,height=61!
> Since S3G already supports ETag which uses md5 hash of the object content, we 
> can reuse it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to