67ce03e7396d63cdf6b16584b11ac29851a8231e
With python 3, hasher.update() must be called with byte encoding. Hashing without encoding first in python 3 results in this error: TypeError: Unicode-objects must be encoded before hashing Using byte encoding also works with python 2.7, so convert tokens to bytes before hashing regardless of python version. Change-Id: I837566c669565ed8c11dacbefc273dae3ff580bb Closes-Bug: #1552443
Django OpenStack Auth
Django OpenStack Auth is a pluggable Django authentication backend
that works with Django's contrib.auth framework to
authenticate a user against OpenStack's Keystone Identity API.
The current version is designed to work with the Keystone v2.0 and v3 API.
You can view the installation instructions on Read The Docs.
- License: Apache License, Version 2.0
- Documentation: http://django-openstack-auth.readthedocs.org/en/latest/
- Source: http://git.openstack.org/cgit/openstack/django_openstack_auth/
- Bugs: https://bugs.launchpad.net/django-openstack-auth
Description