]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: RGWPutLC does not require Content-MD5 45990/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 21 Apr 2022 18:44:01 +0000 (14:44 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 21 Apr 2022 18:51:21 +0000 (14:51 -0400)
commitec5c3b28d957725dfd1c4b14a92ba4beac12515b
tree84b5a1161c97f7bd4cf8d79491db452e52e9e3ae
parent6536d0c1af80ba91d84b8e9d85f0827740ab7884
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>
src/rgw/rgw_op.cc