Skip to content

A Drupal Password Policy that checks for occurrences in Pwned Passwords.

Notifications You must be signed in to change notification settings

kimpepper/password_policy_pwned

Repository files navigation

password_policy_pwned

This is a Drupal 8 module that adds a exposed plugin to the D8 Password Policy module.

Providers

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.

About

A Drupal Password Policy that checks for occurrences in Pwned Passwords.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages