da7987ca92
This adds a middleware that can be used as an alternative to noauth in standalone environments. This middleware uses a password file which supports the Apache htpasswd syntax. This file is read for every request, so no service restart is required when changes are made. The only password digest supported is bcrypt, and the ``bcrypt`` python library is used for password checks since it supports ``$2y$`` prefixed bcrypt passwords as generated by the Apache htpasswd utility. Adapted from I874783b8ece0eedf27a94dfed5163d0c82f8b9de. Change-Id: I3d80d86afd063af9fa2f411885dbd0dc65a7bbc7
16 lines
541 B
Plaintext
16 lines
541 B
Plaintext
# The order of packages is significant, because pip processes them in the order
|
|
# of appearance. Changing the order has an impact on the overall integration
|
|
# process, which may cause wedges in the gate later.
|
|
|
|
pbr!=2.1.0,>=2.0.0 # Apache-2.0
|
|
Jinja2>=2.10 # BSD License (3 clause)
|
|
oslo.config>=5.2.0 # Apache-2.0
|
|
oslo.context>=2.19.2 # Apache-2.0
|
|
oslo.i18n>=3.15.3 # Apache-2.0
|
|
oslo.utils>=3.33.0 # Apache-2.0
|
|
stevedore>=1.20.0 # Apache-2.0
|
|
WebOb>=1.8.0 # MIT
|
|
debtcollector>=1.2.0 # Apache-2.0
|
|
statsd>=3.2.1 # MIT
|
|
bcrypt>=3.1.3 # Apache-2.0
|