Random ...
 
December 2017
S M T W T F S
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Tags ...
Links



python+zope++:: Password checking with python-crack
Posted at 01.Mar,2005 16:50  Comments 0 / Trackbacks 0 / Like this post!
Technorati tag(s):

This may be too simple for some, but I just came across this library while trying to make users choose stronger password when applying for services; e.g email, intranet login, etc

Get python-crack at http://www.nongnu.org/python-crack/

Alternate download site is the ones that worked. The other two locations doesn't work.

To install, do the following (for FC and RH based distros)::

  • unpack the tar ball
  • cd python-crack-0.5
  • export DEFAULT_DICTPATH=/path/to/your/cracklib (I use /usr/lib/cracklib_dict )
  • ./configure;make;make install

That's about it.

I wrote a simple script and added a Zope External Method that links to said script.

Now users need to supply strong password to actually get through the registration process.

python-crack documentation is at http://www.nongnu.org/python-crack/doc


Bookmark and Share

Is this entry helpful? Comments/Donate/Click some google ads.  
Trackback is http://myzope.kedai.com.my/blogs/kedai/15/tbping 

Comments
Post a comment