Fernet v2 token response doesn't match v2 uuid token responses

Bug #1533794 reported by Lance Bragstad on 2016-01-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Medium
Jorge Munoz

Bug Description

There are several tests in keystone/tests/unit/test_auth.py that fail when Fernet is the default token provider [0].

The following is a scoped token with UUID as the token provider:
http://cdn.pasteraw.com/risvg2ggcueuaobl7echlefanezuto0

The following is a scoped token with Fernet as the token provider:
http://cdn.pasteraw.com/nni8xtbgjsl3934vlwv7j5ktry2fl73

Both of those pastes should be the same.

[0] https://github.com/openstack/keystone/blob/bc483fdac5a1498786f2cfb9df5aaf1bb0ccc538/keystone/tests/unit/test_auth.py#L284-L285

tags: added: fernet
Changed in keystone:
status: New → Triaged
importance: Undecided → Medium

Fix proposed to branch: master
Review: https://review.openstack.org/289618

Changed in keystone:
assignee: nobody → Jorge Munoz (jorge-munoz)
status: Triaged → In Progress

Reviewed: https://review.openstack.org/289618
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=33b50a285a78e76301ed4b108feac7733ffda24a
Submitter: Jenkins
Branch: master

commit 33b50a285a78e76301ed4b108feac7733ffda24a
Author: Jorge Munoz <email address hidden>
Date: Mon Mar 7 23:06:18 2016 +0000

    Validate v2 fernet token returns extra attributes

    Currently uuid and fernet tokens return different response on
    token validation.

    Change-Id: I21ad4c007b0bb1190227a1f4db3e1071a078982c
    Closes-Bug: #1533794

Changed in keystone:
status: In Progress → Fix Released

This issue was fixed in the openstack/keystone 9.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers