Actions
Bug #58473
closedPutBucketEncryption default policy does not apply to multipart uploads
% Done:
0%
Source:
Tags:
sse
Backport:
quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
When applying a default encryption policy through PutBucketEncryption, it appears to only affect simple PutObject uploads and not uploads started with CreateMultipartUpload. Glancing through rgw_rest_s3.cc
suggests the default encryption policy isn't looked up at the start of multipart uploads as it is for PutObject. Applying a similar lookup to the start of RGWInitMultipart_ObjStore_S3::get_params
appears to fix the issue.
Actions