]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/sse-s3: fix bucket encryption of multipart upload 51021/head
authorTongliang Deng <dengtongliang@gmail.com>
Tue, 13 Dec 2022 06:42:34 +0000 (06:42 +0000)
committerCasey Bodley <cbodley@redhat.com>
Tue, 11 Apr 2023 13:34:53 +0000 (09:34 -0400)
commit99c63552e79fcb290285c614d2e5eea9ebe8175c
tree42e8b8662c7b0cac1e58013b44255c906473fc92
parent66f2427e85b86dcf72b8c311def3b942dddbecc6
rgw/sse-s3: fix bucket encryption of multipart upload

Multipart upload missing encryption when we have bucket encryption
policy. Fix it by fetching bucket encryption policy and resolving
defaults at multipart init op.

Fixes: https://tracker.ceph.com/issues/59218
Signed-off-by: Tongliang Deng <dengtongliang@gmail.com>
(cherry picked from commit 6d9e4f7924c6149d23919ef82bc09406e1290164)
src/rgw/rgw_op.cc
src/rgw/rgw_rest_s3.cc