]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
copy object encryption fixes - copy_part_enc encryption attributes in result
authorMarcus Watts <mwatts@redhat.com>
Wed, 17 Sep 2025 18:49:33 +0000 (14:49 -0400)
committerThomas Serlin <tserlin@redhat.com>
Mon, 22 Sep 2025 19:18:18 +0000 (15:18 -0400)
copy_part w/ encrypted parameters; dump destination encryption
parameters on each part.

XXX fixup merge w/ previous

Resolves: rhbz#2394511

Fixes: https://tracker.ceph.com/issues/23264
Signed-off-by: Marcus Watts <mwatts@redhat.com>
(cherry picked from commit 3452fd1235c055d773252902bfffb1e28da6af51)

src/rgw/rgw_rest_s3.cc

index f740924e3c1c4d0193c5b8ef0a871907c9be0c0b..823d9690e79dd297e4839e5dfaf23ff7433ce978 100644 (file)
@@ -2922,6 +2922,8 @@ void RGWPutObj_ObjStore_S3::send_response()
        dump_header(s, "x-amz-checksum-type", "FULL_OBJECT");
        dump_header(s, cksum->header_name(), cksum->to_armor());
       }
+      for (auto &it : crypt_http_responses)
+        dump_header(s, it.first, it.second);
       end_header(s, this, to_mime_type(s->format));
       dump_start(s);
       struct tm tmp;