Comment 1 for bug 1179380

Revision history for this message
mik (therealmik) wrote :

Here's a python script that will generate passwords for use with john. Strength of passwords makes no difference to performance, you simply need to pass it the config string (the arguments to the macro), and the startTime and endTime.

All arguments are optional - by default it starts now and ends a year ago, with the default "Random Password" setting of the applet chosen.

To use this, create a passwd-style file, eg username:encrypted_password one-per-line. mkpasswd can encrypt it for you (eg. mkpasswd --stdin --hash=md5), then run this command:

touch john.ini
./kdepastebreak.py | john --stdin passwdfile

The <email address hidden> email address hasn't responded to me, but an alert should at-least be sent to users, and a nasty error popup should be displayed to people using it, with an offer to use pwqgen or something instead (part of the passwdqc package).