s3cmd swift3 authentication fails
Bug #788019 reported by
Bernhard M. Wiedemann
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Unassigned | ||
Diablo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
s3cmd swift3 authentication always fails
because it only sends a x-amz-date header and no Date header.
This is similar in spirit to bug 746220.
Related branches
lp:~fujita-tomonori-deactivatedaccount/swift/s3-auth
- David Goetz (community): Approve
- John Dickinson: Approve
-
Diff: 50 lines (+22/-3)2 files modifiedswift/common/middleware/swift3.py (+13/-3)
test/unit/common/middleware/test_swift3.py (+9/-0)
Changed in swift: | |
milestone: | none → 1.4.2 |
Changed in swift: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The patch doesn't correctly handle a request that has both the Date and X-Amz-Date headers though it can handle a request having only the X-Amz-Date header.
I've attached a new patch.