]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: AWS4 authentication minimal support
authorJavier M. Mellid <jmunhoz@igalia.com>
Fri, 12 Jun 2015 13:04:23 +0000 (15:04 +0200)
committerJavier M. Mellid <jmunhoz@igalia.com>
Sat, 13 Feb 2016 12:22:36 +0000 (12:22 +0000)
commit9a0de484d80b1ea9671166d3d094f619e9008cda
treea270e6235849e4e927ed68698dbc51d04bf3a5d0
parentfb727143263998b38d9cfec10d4a1af625242cae
rgw: AWS4 authentication minimal support

Amazon S3 supports Signature Version 4. This patch contains the minimal
implementation supporting AWS4 in RGW. It implements AWS4 authentication
on http methods without body content and vars not shipping in the
request query string.

Fixes: #10333
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
src/common/ceph_crypto.cc
src/common/ceph_crypto.h
src/common/utf8.c
src/common/utf8.h
src/rgw/rgw_auth_s3.cc
src/rgw/rgw_auth_s3.h
src/rgw/rgw_common.cc
src/rgw/rgw_common.h
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_s3.h