Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install products.passwordstrength

How to install Products.PasswordStrength

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install products.passwordstrength
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.3Never BuiltWhy not?
0.2 Available View build log
Windows (64-bit)
0.3Never BuiltWhy not?
0.2 Available View build log
Mac OS X (10.5+)
0.3Never BuiltWhy not?
0.2 Available View build log
Linux (32-bit)
0.3Never BuiltWhy not?
0.2 Available View build log
Linux (64-bit)
0.3 Available View build log
0.2 Available View build log
Lastest release
version 0.3 on Jan 9th, 2014


This Pluggable Authentication Service (PAS) plugin validates passwords against regular expression rules. These rules can ensure a passwords strength such as minimum lenth and required characthers. This plugin contains a patch to plone to use PAS validation.


  • PluggableAuthService and its dependencies
  • (optional) PlonePAS and its dependencies
  • Plone 4.1 or 4.2.


Place the Product directory 'PasswordStength' in your 'Products/' directory. Restart Zope.

In your PAS 'acl_users', select 'PasswordStrength' from the add list. Give it an id and title, and push the add button.

Enable the 'Validation' plugin interfaces in the after-add screen.

Click on the properties tab and edit the validation rules

To use with plone, you need to install PasswordStrength using quickinstaller

That's it! Test it out.

Note: PasswordStength doesn't currently generate new passwords. This means that you will need to change Plones security settings such that users manually enter passwords rather than autogenerate them.


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.

Plone doesn't use PAS to validate passwords so included is a patch to Products.CMFPlone.RegistrationTool.RegistrationTool.testPasswordValidity which makes plone use PAS validation plugins.


  1. Do password generation from regexp. This looks possible http://stackoverflow.com/questions/492716/reversing-a-regular-expression-in-python
  2. Do password expiration

Copyright, License, Author

Copyright (c) 2007, PretaWeb, Australia,
and the respective authors. All rights reserved.

Author: Dylan Jay <software@pretaweb.com>

License BSD-ish, see LICENSE.txt


Thanks to Daniel Nouri and BlueDynamics for their NoDuplicateLogin which served as the base for this.


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

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:4

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.