Bug #15939
rgw: clock skew error in some aws4 requests
0%
Associated revisions
rgw: use correct method to get current epoch
Fixes: #15939
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: don't add port to aws4 canonical string if using default port
Fixes: #15939
When either port 80 is used, or if it's a secure connection and port 443 is used,
and when going through the presigned url auth, don't add the port to the signed
string.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: use correct method to get current epoch
Fixes: #15939
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 310f5bdf56a9deb09347aadc158da25750fb6735)
rgw: don't add port to aws4 canonical string if using default port
Fixes: #15939
When either port 80 is used, or if it's a secure connection and port 443 is used,
and when going through the presigned url auth, don't add the port to the signed
string.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 033888bbd0e4d8d81358bf61a099276dddb5692b)
History
#1 Updated by Yehuda Sadeh almost 8 years ago
- Priority changed from Normal to Urgent
#2 Updated by Yehuda Sadeh almost 8 years ago
- Priority changed from Urgent to High
#3 Updated by Yehuda Sadeh almost 8 years ago
- Status changed from New to Fix Under Review
#4 Updated by Orit Wasserman almost 8 years ago
- Status changed from Fix Under Review to Pending Backport
two pr from master:
https://github.com/ceph/ceph/pull/9209
https://github.com/ceph/ceph/pull/9689
#6 Updated by Yehuda Sadeh over 7 years ago
- Status changed from Pending Backport to Resolved
#7 Updated by Nathan Cutler over 7 years ago
#8 Updated by Nathan Cutler over 7 years ago
- Status changed from Resolved to Pending Backport
Keeping open until https://github.com/ceph/ceph/pull/9689 has been backported.
#10 Updated by Nathan Cutler over 7 years ago
- Status changed from Pending Backport to Resolved
- Backport deleted (
jewel)
https://github.com/ceph/ceph/pull/9689 will be backported via http://tracker.ceph.com/issues/16146