-
Notifications
You must be signed in to change notification settings - Fork 15
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
🦬 Big file fixes #90
🦬 Big file fixes #90
Conversation
…ash for files uploaded as single part
Codecov Report
@@ Coverage Diff @@
## main #90 +/- ##
==========================================
- Coverage 68.00% 67.88% -0.12%
==========================================
Files 6 6
Lines 1222 1227 +5
==========================================
+ Hits 831 833 +2
- Misses 286 288 +2
- Partials 105 106 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Any reason not to calculate the Etag locally before uploading to retain the same functionality >5GB? |
@mzealey ahh so I guess it's working for us because we're using SSE-S3 encryption but you're using SSE-KMS? I'm not against adding that flag but obviously not checking any hashes is a little risky. @tybritten we could lean on https://github.com/peak/s3hash/blob/master/s3hash.go to calculate the ETag.. but will that even be correct if the user is using a different encryption type? |
Yes apparently we use KMS. Given that according to the doc referenced in #87, 2 of the 3 options (KMS, and >5gb) DON'T do MD5 (and I can't see any docs to detail what they do use) it seems that a bypass (by default??) would be useful. |
Well this PR already addresses the > 5GB case. I don't think we want no-checks to be the default because that is inherently riskier but we should add something to the docs to recommend people use SSE-S3 encryption - and I'll make the checking optional too. |
That makes sense, IMHO |
Apologies for the delay getting to this, but I think this finally addresses #45
@tybritten, @mzealey please take a look