Comment 10 for bug 1331406

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to django_openstack_auth (master)

Reviewed: https://review.openstack.org/101089
Committed: https://git.openstack.org/cgit/openstack/django_openstack_auth/commit/?id=ff6188c7fe41ec2eb38b7159758a5f1e4da401e4
Submitter: Jenkins
Branch: master

commit ff6188c7fe41ec2eb38b7159758a5f1e4da401e4
Author: Adam Young <email address hidden>
Date: Wed Jun 18 23:20:02 2014 -0400

    Hash the token id if it is over a maximum length

    Instead of exclusively hashing the token id based on if the token is
    ASN1, hash the id if it exceeds the maximum size allowed within the
    session. Keystone has allowed more than simple PKI and UUID tokens so
    the is_asn1_token check will not catch all cases.

    Closes-Bug: 1331406

    Change-Id: I7891eb3fb35a10926ac16829eed0ff8c306f2661