Comment 3 for bug 1713574

Revision history for this message
Tin Lam (lamt) wrote :

I am seeing the same problem in an internal project leveraging newton keystonemiddleware using py3. Interesting to see that it is still an issue.

File "/usr/local/lib/python3.5/dist-packages/keystonemiddleware/auth_token/_memcache_crypt.py", line 101, in derive_keys
    digest = hmac.new(secret, token + strategy, HASH_FUNCTION).digest()
TypeError: Can't convert 'bytes' object to str implicitly

Will submit a patchset for this.