Project

General

Profile

Bug #15939

rgw: clock skew error in some aws4 requests

Added by Yehuda Sadeh almost 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Associated revisions

Revision 310f5bdf (diff)
Added by Yehuda Sadeh almost 8 years ago

rgw: use correct method to get current epoch

Fixes: #15939

Signed-off-by: Yehuda Sadeh <>

Revision 033888bb (diff)
Added by Yehuda Sadeh almost 8 years ago

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 <>

Revision 474739e8 (diff)
Added by Yehuda Sadeh almost 8 years ago

rgw: use correct method to get current epoch

Fixes: #15939

Signed-off-by: Yehuda Sadeh <>
(cherry picked from commit 310f5bdf56a9deb09347aadc158da25750fb6735)

Revision 5bdd13e6 (diff)
Added by Yehuda Sadeh almost 8 years ago

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 <>
(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

#6 Updated by Yehuda Sadeh over 7 years ago

  • Status changed from Pending Backport to Resolved

#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)

Also available in: Atom PDF