PasswordStrength
This plugin works with Plone to allow an administrator to create a password policy for their site. Once installed it provides a Pluggable Authentication Service (PAS) plugin where you can create as many regular expressions rules which will each be applied against passwords during user registration. For example these rules can ensure a passwords strength such as minimum length and required letters or special characters.
Tests
This package is tested using Travis CI on Plone 5.2 and 6.0. For older
Requires
PlonePAS and its dependencies
Plone 5.2 or 6.0
For Plone 4.1, 4.2, 4.3 , 5.0 and 5.1 use Versions <> 0.5 or source-checkouts.
Installation
Add Products.PasswordStrength to your buildout like any other Plone plugin.
Add Products.PasswordStrength in the addon-controlpanel (prefs_install_products_form)
You can configure the plugin in teh ZMI in /acl_users/password_strength_plugin/manage_propertiesForm
That’s it! Test it out.
Implementation
A PAS plugin for Validation checks the password against each regular expression listed in the properties. Any rules that fail result in the associated error messages being returned.
TODO
Do password expiration?
Contribute
License
License BSD-ish, see LICENSE.txt
Credits
Original Author: Dylan Jay <software@pretaweb.com>. Sponsored by PretaGov.com
Thanks to Daniel Nouri and BlueDynamics for their NoDuplicateLogin which served as the base for this.
Thanks to the following for improvements to this plugin:
sgeulette
pysailor
regebro
macagua
pbauer
Changes
0.5.0 (2024-09-26)
Add support for Python 3, Plone 5.2 and Plone 6. Drop support for Plone 5.1 and older. [pbauer, djay]
Fix can not change weak password [ivanteoh]
0.4 (2015-06-05)
Updated Spanish translation. [macagua]
Removed old code and templates [djay]
Added buildout and robot tests for Plone 4.1, 4.2, 4.3 [sgeulette]
Dont’t skip password validation for manager [sgeulette]
Skip password validation for generated password [sgeulette]
Added i18n and french translation. [sgeulette]
Added travis configuration [sgeulette]
Added pwreset_form and test [sgeulette]
0.3.2 (2015-06-05)
Updated README file. [macagua]
Added QA and testing buildout configuration. [macagua]
Added more strings classifiers items for this packages. [macagua]
Added Spanish translation. [macagua]
Added i18n support. [macagua]
0.3.1 (2013-11-20)
Bugfix for use inside change-password
Don’t validate password strength of old password [pysailor]
0.3 (2013-08-18)
Added a monkey-patch for the zope.schema Password field to validate the password. This is necessary for the Plone 4 @@new-user form to work well. [regebro]
Earlier versions
0.2 - Packaged as egg. Plone 3.1 compatible
0.1 - Initial version. Plone 2.5 compatible
Metadata
Release files for Products.PasswordStrength 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| products_passwordstrength-0.5.0.tar.gz | 19.5 kB | Without provenance | Details for products_passwordstrength-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Products.PasswordStrength-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for Products.PasswordStrength-0.5.0-py3-none-any.whl |
Total release size: 44.9 kB
Release files / products_passwordstrength-0.5.0.tar.gz
| Download URL | products_passwordstrength-0.5.0.tar.gz |
|---|---|
| Size | 19.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ccb6402012ca540707223f9a855902b268c86c22552a7df9dae80dcc3ef2b0dd
|
|
BLAKE2b-256 checksum How to use checksums |
49fe9545d7fcef08177493181be12b042aac656a9c318f060235b855ce90a6c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.13
|
Release files / Products.PasswordStrength-0.5.0-py3-none-any.whl
| Download URL | Products.PasswordStrength-0.5.0-py3-none-any.whl |
|---|---|
| Size | 25.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7538d9d25f3459ab7136d4e4d0319d800de0e2792286b04a7f869c97b6796ac2
|
|
BLAKE2b-256 checksum How to use checksums |
aa93ebbcd8e17965e49cd7f0079b4225ee2502e10067a8e230f99a9b0c8353ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.13
|
Security for Products.PasswordStrength 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.