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

Calculate SHA256 checksum in browser and add is a meta-data to the uploaded object #8

Open
stv0g opened this issue Mar 30, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@stv0g
Copy link
Owner

stv0g commented Mar 30, 2022

S3 multi-part uploads do not calculate checksums over the whole file but only its parts.

@stv0g stv0g added the enhancement New feature or request label Mar 30, 2022
@stv0g
Copy link
Owner Author

stv0g commented Apr 2, 2022

For resumable uploads we already have to calculate the MD5 hashes of all parts which is done before each upload by the browser. However thats different from an MD5 hash over the file as a whole.

Hashing the continuous file in the browser would also be feasible. However that would further increate the upload time if we do it ahead of the upload.

We currently need to do it ahead of time as we can not modify the metadata of an object once the S3-MPU has been created. I am considering to use CopyObject once the upload has been completed to further add more metadata.

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

No branches or pull requests

1 participant