]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Use correct secret key for POST authn 1114/head
authorRobin H. Johnson <robbat2@gentoo.org>
Sun, 19 Jan 2014 02:01:20 +0000 (18:01 -0800)
committerRobin H. Johnson <robbat2@gentoo.org>
Sun, 19 Jan 2014 05:30:17 +0000 (21:30 -0800)
commit586ad1f69e6260ef298805647911b3b49f8be7cf
tree14fea375bbeba1730030d2c77af5c98461dac580
parent52a915400cdea36f93b073f846363f2ae2a18618
rgw: Use correct secret key for POST authn

The POST authentication by signature validation looked up a user based
on the access key, then used the first secret key for the user. If the
access key used was not the first access key, then the expected
signature would be wrong, and the POST would be rejected.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
src/rgw/rgw_rest_s3.cc