mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[PR #585] [MERGED] Fixed failure to upload/copy with SSE_C and SSE_KMS #1558
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#1558
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/585
Author: @ggtakec
Created: 5/7/2017
Status: ✅ Merged
Merged: 5/7/2017
Merged by: @ggtakec
Base:
master← Head:master📝 Commits (1)
a12e0d5Fixed failure to upload/copy with SSE_C and SSE_KMS📊 Changes
1 file changed (+25 additions, -8 deletions)
View changed files
📝
src/curl.cpp(+25 -8)📄 Description
Relevant Issue (if applicable)
#584 #486
Details
In the case of SSE_C and SSE_KMS, the problem of file(object) upload/rename failed was fixed.
One cause is that the ETAG of the response is not MD5 when s3fs run with SSE_C and SSE_KMS parameter. Please see following document:
Http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUT.html
Http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html
@driskell pointed out this problem at #486 PR.
The cause of the malfunction of rename was that SSE_KMS header was added, despite the object was SSE_C before rename.
These bugs have been fixed.
NOTE:
@driskell, thanks for your kindness and I'm sorry for late fixing.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.