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.
Reviewed: https:/ /review. openstack. org/101089 /git.openstack. org/cgit/ openstack/ django_ openstack_ auth/commit/ ?id=ff6188c7fe4 1ec2eb38b715975 8a5f1e4da401e4
Committed: https:/
Submitter: Jenkins
Branch: master
commit ff6188c7fe41ec2 eb38b7159758a5f 1e4da401e4
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: I7891eb3fb35a10 926ac16829eed0f f8c306f2661