Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I am using Havana Stable where keystone does not encode token_id if token is in PKI. Havana is missing this if statement:

if isinstance(token_id, six.text_type):
            token_id = token_id.encode('utf-8')

https://github.com/openstack/keystone/blob/stable/havana/keystone/common/cms.py

if is_ans1_token(token_id):
        hasher = hashlib.md5()
        hasher.update(token_id)
        return hasher.hexdigest()

Is it possible to backport these changes into Havana?