New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rgw: Keystone Fernet tokens break auth #6162

Merged
merged 1 commit into from Oct 12, 2015

Conversation

Projects
None yet
3 participants
@ghost

ghost commented Oct 2, 2015

rgw: be more flexible with iso8601 timestamps
make parsing 8601 more flexible by not restricting the length of seconds
to 5, this allows timestamp to be specified both as ms or us. Newer
keystone backends such as fernet token backend default to microseconds
when publishing iso8601 timestamps, so this allows these timestamps to
be allowed when specifying the token expiry time.

Fixes: #12761
Reported-by: Ian Unruh <ianunruh@gmail.com>
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
(cherry picked from commit 136242b)

@ghost ghost self-assigned this Oct 2, 2015

@ghost ghost added this to the hammer milestone Oct 2, 2015

@ghost ghost added bug fix rgw labels Oct 2, 2015

ghost pushed a commit that referenced this pull request Oct 2, 2015

Merge pull request #6162: Keystone Fernet tokens break auth
Reviewed-by: Loic Dachary <ldachary@redhat.com>

ghost pushed a commit that referenced this pull request Oct 3, 2015

Merge pull request #6162: Keystone Fernet tokens break auth
Reviewed-by: Loic Dachary <ldachary@redhat.com>

ghost pushed a commit that referenced this pull request Oct 3, 2015

Merge pull request #6162: Keystone Fernet tokens break auth
Reviewed-by: Loic Dachary <ldachary@redhat.com>

ghost pushed a commit that referenced this pull request Oct 3, 2015

Merge pull request #6162: Keystone Fernet tokens break auth
Reviewed-by: Loic Dachary <ldachary@redhat.com>

ghost pushed a commit that referenced this pull request Oct 7, 2015

Merge pull request #6162: Keystone Fernet tokens break auth
Reviewed-by: Loic Dachary <ldachary@redhat.com>

ghost pushed a commit that referenced this pull request Oct 8, 2015

Merge pull request #6162: Keystone Fernet tokens break auth
Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost

This comment has been minimized.

ghost commented Oct 10, 2015

@yehudasa does this backport look good to merge ? It passed a run of the hammer rgw suite ( see http://tracker.ceph.com/issues/13356#note-5 for details ).

yehudasa added a commit that referenced this pull request Oct 12, 2015

Merge pull request #6162 from dachary/wip-13226-hammer
Keystone Fernet tokens break auth

@yehudasa yehudasa merged commit b5badcb into ceph:hammer Oct 12, 2015

@ghost ghost changed the title from Keystone Fernet tokens break auth to rgw: Keystone Fernet tokens break auth Oct 12, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment