Debian Codegraph @

doc/sources/admin/checkhibp.rst

raw
1 Check password on "Have I been Pwned" API
2 =========================================
3
4 This plugin can be used to check your password against the `HIBP API <https://haveibeenpwned.com/>`_.
5
6 It is used in:
7
8 - :doc:`password change<portalmenu>`
9 - :doc:`password reset by mail<resetpassword>`
10
11 Configuration
12 -------------
13
14 Browse the Manager web interface for this configuration.
15
16 You have to enable the :doc:`local password policy <portalcustom>` in ``General Parameters > Portal > Customization > Password policy`` for the plugin to work:
17
18 - **Activation**: on
19 - **Display policy in password form**: on
20
21
22 Then enable the checkHIBP plugin in ``General Parameters > Advanced parameters > Security > Check HIBP API``:
23
24 - **Activation**: Enable / Disable this plugin
25 - **Have I Been Pwned URL**: URL of I have been pwned API (default to ``https://api.pwnedpasswords.com/range/``)
26 - **Require HIBP check to pass**: Is the HIBP check required to pass? (default to ``On``)
27
28 Usage
29 -----
30
31 When enabled, ``/checkhibp`` route is added to LemonLDAP API.
32 It will check new user passwords on Have I Been Pwned API and
33 display a warning message if it is compromised.
34
35 .. note::
36
37 The URL parameter is mandatory, and there is no default value.