← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1433311] [NEW] Fernet tokens current don't support token bind

 

Public bug reported:

If you run test_v3_auth.py:TestAuth test cases against a Fernet token
setup, the following tests will fail:

keystone.tests.unit.test_v3_auth.TestFernetTokenProviderStuff.test_v2_v3_bind_token_intermix
keystone.tests.unit.test_v3_auth.TestFernetTokenProviderStuff.test_verify_with_bound_token

This is because a bind context is passed in on authentication and the
bind context can't be validated since we don't pass it in the token
payload explicitly.

Failures look like the following:

http://cdn.pasteraw.com/imxp1gulxgkqw3asjz79radfwbkv4pd

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1433311

Title:
  Fernet tokens current don't support token bind

Status in OpenStack Identity (Keystone):
  New

Bug description:
  If you run test_v3_auth.py:TestAuth test cases against a Fernet token
  setup, the following tests will fail:

  keystone.tests.unit.test_v3_auth.TestFernetTokenProviderStuff.test_v2_v3_bind_token_intermix
  keystone.tests.unit.test_v3_auth.TestFernetTokenProviderStuff.test_verify_with_bound_token

  This is because a bind context is passed in on authentication and the
  bind context can't be validated since we don't pass it in the token
  payload explicitly.

  Failures look like the following:

  http://cdn.pasteraw.com/imxp1gulxgkqw3asjz79radfwbkv4pd

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1433311/+subscriptions


Follow ups

References