We are overjoyed to announce the release of: keystonemiddleware 2.0.0: Middleware for OpenStack Identity This release is part of the liberty release series. With source available at: http://git.openstack.org/cgit/openstack/keystonemiddleware For more details, please see the git log history below and: http://launchpad.net/keystonemiddleware/+milestone/2.0.0 Please report issues through launchpad: http://bugs.launchpad.net/keystonemiddleware Changes in keystonemiddleware 1.6.1..2.0.0 ------------------------------------------ 2d4e194 Ensure cache keys are a known/fixed length 5690dc1 Updated from global requirements 9fd3986 Refactor request methods onto request object 468addb validate_token returns AccessInfo bdf03b0 Updated from global requirements 8723d88 Fixes a spelling error in a test name 6f9b7a4 Remove custom header handling c94f403 Stop using function deprecated in py34 570f26b Fetch user token from request rather than env 7074ee2 Remove the _msg_format function 675729b Base use webob aca9909 Don't rely on token_info for header building 2c00f8c Move project included validation c67420b Depend on keystoneclient for expiration checking c965851 Don't store expire into memcache 0aeea58 Removes discover from test-reqs 8aa9e80 Drop py2.6 support for keystone middleware 2a841f1 Create new user plugin tests bd74215 Add an explicit test failure condition when auth_token is missing c482f5b Fixup test-requirements-py3.txt 03d6f0c Fix list_opts test to not check all deps 0e2c5b5 tox env for Bandit 530b5cb Cleanup token hashes generated by cache 7940e10 Updated from global requirements 47fed2f Improved handling of endpoints missing urls 7148072 Refactor: extract echo_app from enclosing class 194e00a Add keystone v3 API to fetch revocation list 68bc769 Simplify request making in auth_token tests f45d766 Change auth_token to use keystoneclient 74d978c Deprecate auth_token authentication ea9ac13 Updated from global requirements dc44d62 Ignore cover directory Diffstat (except docs and test files) ------------------------------------- .gitignore | 1 + bandit.yaml | 134 ++++ keystonemiddleware/audit.py | 26 +- keystonemiddleware/auth_token/__init__.py | 428 +++------- keystonemiddleware/auth_token/_auth.py | 19 +- keystonemiddleware/auth_token/_cache.py | 87 +-- keystonemiddleware/auth_token/_identity.py | 105 +-- keystonemiddleware/auth_token/_request.py | 180 +++++ keystonemiddleware/auth_token/_user_plugin.py | 19 + keystonemiddleware/auth_token/_utils.py | 32 - keystonemiddleware/echo/service.py | 16 +- .../unit/auth_token/test_auth_token_middleware.py | 870 +++++++-------------- requirements.txt | 8 +- setup.cfg | 1 - test-requirements-bandit.txt | 1 + test-requirements-py3.txt | 4 +- test-requirements.txt | 2 +- tox.ini | 4 + 24 files changed, 1389 insertions(+), 1142 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index b611a31..b13a89e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6 +6 @@ Babel>=1.3 -oslo.config>=1.9.3 # Apache-2.0 +oslo.config>=1.11.0 # Apache-2.0 @@ -11 +11 @@ oslo.utils>=1.4.0 # Apache-2.0 -pbr>=0.6,!=0.7,<1.0 +pbr>=0.11,<2.0 @@ -13,2 +13,2 @@ pycadf>=0.8.0 -python-keystoneclient>=1.1.0 -requests>=2.2.0,!=2.4.0 +python-keystoneclient>=1.6.0 +requests>=2.5.2 diff --git a/test-requirements-bandit.txt b/test-requirements-bandit.txt new file mode 100644 index 0000000..b21da7f --- /dev/null +++ b/test-requirements-bandit.txt @@ -0,0 +1 @@ +bandit>=0.10.1 diff --git a/test-requirements-py3.txt b/test-requirements-py3.txt index 9a33730..abada85 100644 --- a/test-requirements-py3.txt +++ b/test-requirements-py3.txt @@ -4,0 +5,2 @@ +hacking>=0.10.0,<0.11 + @@ -8 +9,0 @@ fixtures>=0.3.14 -hacking>=0.8.0,<0.9 @@ -15,0 +17 @@ sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3 +stevedore>=1.5.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index e36b86e..a305e6c 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8 +7,0 @@ coverage>=3.6 -discover @@ -16,0 +16 @@ sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3 +stevedore>=1.5.0 # Apache-2.0