File: basic-auth-middleware-e5af29651b2d7979.yaml

package info (click to toggle)
python-ironic-lib 7.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 532 kB
  • sloc: python: 3,631; makefile: 20; sh: 2
file content (18 lines) | stat: -rw-r--r-- 738 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
features:
  - |
    Implement Basic HTTP authentication middleware.

    This middleware is added to ironic-lib so that it can eventually be
    used by ironic and ironic-inspector as an alternative to noauth in
    standalone environments.

    This middleware is passed a path to a file which supports the
    Apache htpasswd syntax[1]. 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.

    [1] https://httpd.apache.org/docs/current/misc/password_encryptions.html