]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Use correct secret key for POST authn
authorRobin H. Johnson <robbat2@gentoo.org>
Sun, 19 Jan 2014 02:01:20 +0000 (18:01 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Tue, 28 Jan 2014 20:23:06 +0000 (12:23 -0800)
commit5f1eea2ccf1ee4296530fc754bfd5dfc1571cd62
tree6c9b849be89ddb135fd75fc9f89387ca61dbc87a
parent14e933eb2e8adf3e7df2aef823d863c593067928
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>
(cherry picked from commit 586ad1f69e6260ef298805647911b3b49f8be7cf)
src/rgw/rgw_rest_s3.cc