vse/passwordstrength

An extension for phpBB that will show users the strength of a password as they type it into the password field when creating or updating their account.

1.3.0 2023-04-03 21:13 UTC

This package is auto-updated.

Last update: 2024-03-28 02:10:27 UTC


README

An extension for phpBB that will show users the strength of a password as they type it into the password field when creating or updating their account.

Build Status codecov Latest Stable Version

Demo

Try it out yourself here: (Online Demo)

Features

  • Password field changes colors from red (weak) to green (strong) as the user types in a password.
  • Password strength is also labeled as 'Very Weak', 'Weak', 'Good', 'Strong' or 'Very Strong'.
  • Password strength is active for all password fields.
  • Password strength is scored using one of the available algorithms:
    1. Complexity is an unintelligent test that checks for complexity in a password by looking for a mix of characters, case, symbols, numbers and length. This is useful for encouraging hard to remember complex passwords, but can score easily cracked passwords like P@s$w0rd as Strong.
    2. zxcvbn algorithm (used by DropBox) is an intelligent algorithm that calculates the guess-ability of a password by comparing it to a large dictionary of common words in multiple languages as well as looking for recognizable patterns like P@s$w0rd. This is a more robust strength checker that allows for user-friendly passwords that are easy to remember but still hard to guess. A Very Strong result represents a password that may take a computer years to centuries to guess.
  • Multiple languages are supported. View the pre-installed localizations.
  • The zxcvbn algorithm also displays user feedback about the password with support for Brazilian, Dutch, English, Finnish, French, German, Indonesian, Italian, Japanese, Polish and Spanish.

Awards

  • Featured MOD of the Week in the phpBB Weekly Podcast, episode #166.

Install

  1. Download the latest validated release.
  2. Unzip the downloaded release and copy it to the ext directory of your phpBB board.
  3. Navigate in the ACP to Customise -> Manage extensions.
  4. Look for Password Strength under the Disabled Extensions list and click its Enable link.
  5. Choose a Password Strength algorithm under User registration settings -> Password strength type.

Uninstall

  1. Navigate in the ACP to Customise -> Manage extensions.
  2. Click the Disable link for Password Strength.
  3. To permanently uninstall, click Delete Data, then delete the passwordstrength folder from phpBB/ext/vse/.

Disclaimer

Password Strength is intended to encourage your forum users to use strong passwords. It does not guarantee protection against password attacks, nor does it force your users to use strong passwords. The business of scoring password strength is a tricky and hotly debated subject, and you are encouraged to decide which of the strength test models included in this extension will work best for your forum.

License

GNU General Public License v2

© 2013 - Matt Friedman