← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1414627] [NEW] check whether V2 token is revoked has been performed twice

 

Public bug reported:

Check whether V2 token is revoked or not has been performed twice,

First check is here, 
https://github.com/openstack/keystone/blob/master/keystone/token/provider.py#L247

Then in the func of _is_valid_token(token), the code check it again, 
https://github.com/openstack/keystone/blob/master/keystone/token/provider.py#L357

This is unnecessary and has been removed in the validate_v3_token(self,
token_id), need remove this code in validate_v2_token(...) as well.

** Affects: keystone
     Importance: Undecided
     Assignee: Dave Chen (wei-d-chen)
         Status: In Progress

** Changed in: keystone
     Assignee: (unassigned) => Dave Chen (wei-d-chen)

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

Title:
  check whether V2 token is revoked has been performed twice

Status in OpenStack Identity (Keystone):
  In Progress

Bug description:
  Check whether V2 token is revoked or not has been performed twice,

  First check is here, 
  https://github.com/openstack/keystone/blob/master/keystone/token/provider.py#L247

  Then in the func of _is_valid_token(token), the code check it again, 
  https://github.com/openstack/keystone/blob/master/keystone/token/provider.py#L357

  This is unnecessary and has been removed in the
  validate_v3_token(self, token_id), need remove this code in
  validate_v2_token(...) as well.

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


Follow ups

References