]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: RGWPutLC does not require Content-MD5 49088/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 21 Apr 2022 18:44:01 +0000 (14:44 -0400)
committerCory Snyder <csnyder@iland.com>
Mon, 28 Nov 2022 08:59:39 +0000 (03:59 -0500)
commitb7d8ae68bfd811c6c58e5a1f6ef835fd9ddde605
treeb6200681279d8fc8d5139516cc748bd41e3381dd
parent1eca59d3fca02719370f4fa8337a64dad73c3051
rgw: RGWPutLC does not require Content-MD5

amazon docs for PutBucketLifecycleConfiguration do say that a
Content-MD5 header is required, but clients in FIPS mode may not
be able to generate this header.

MD5 should not be used as a security feature, so rgw shouldn't require
it here. if no Content-MD5 is given, just skip the checksum verification
instead of rejecting the request

Fixes: https://tracker.ceph.com/issues/55339
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit ec5c3b28d957725dfd1c4b14a92ba4beac12515b)
src/rgw/rgw_op.cc