This module integrates with the Have I Been Pwned service to check if a user's password has been compromised. It uses a privacy-focused approach by sending only a partial hash of the password to the API to ensure compromised passwords are not exposed.
This is a Drupal 8 module that adds a Pwned Passwords plugin to the D8 Password Policy module.
Have I Been Pwned
The plugin uses the Have I Been Pwned Passwords API.
To protect privacy, the API uses the k-Anonymity model. A SHA-1 hash of the password is created, only the first 5 characters of the hash are sent to the API.
The API response is a list of matching SHA1 hashes representing exposed passwords known to the service. The plugin then checks if the full SHA-1 is in the list, without sending the full hash to the API.
Ask your assistant about Password Policy Pwned
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 2.0.1 | Stable | 10–11 | Apr 8, 2024 |