Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reconsider use of ETag #176

Open
dougstarfish opened this issue Jul 1, 2020 · 0 comments
Open

reconsider use of ETag #176

dougstarfish opened this issue Jul 1, 2020 · 0 comments

Comments

@dougstarfish
Copy link

Given that the ETag algorithm is well known and public at this point, would you reconsider using it? Yes, computing it depends upon knowing the chunk size, but you can use this fact when uploading to confirm that the data is written correctly. You could compute the Etag for any given multipart size while uploading (the md5sum of chunk md5sums) and store the chunk size with the object in custom metadata for retrieval purposes. At the very least, it would provide a very high standard for upload verification and data integrity guarantee.
https://stackoverflow.com/questions/12186993/what-is-the-algorithm-to-compute-the-amazon-s3-etag-for-a-file-larger-than-5gb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant