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

Missing SSE in uploadPart #33

Open
cdmackie opened this issue Feb 18, 2015 · 0 comments
Open

Missing SSE in uploadPart #33

cdmackie opened this issue Feb 18, 2015 · 0 comments

Comments

@cdmackie
Copy link

Error in passing SSECustomerKey because they aren't passed into uploadPart.

diff --git a/lib/s3-upload-stream.js b/lib/s3-upload-stream.js
index 3e83ab3..a67590f 100644
--- a/lib/s3-upload-stream.js
+++ b/lib/s3-upload-stream.js
@@ -238,6 +238,9 @@ Client.prototype.upload = function (destinationDetails, sessionDetails) {
         Body: partBuffer,
         Bucket: destinationDetails.Bucket,
         Key: destinationDetails.Key,
+        SSECustomerAlgorithm: destinationDetails.SSECustomerAlgorithm,
+        SSECustomerKey: destinationDetails.SSECustomerKey,
+        SSECustomerKeyMD5: destinationDetails.SSECustomerKeyMD5,
         UploadId: multipartUploadID,
         PartNumber: localPartNumber
       },
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