https://bugs.koozali.org/show_bug.cgi?id=11621
John Crisp <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |IN_PROGRESS
Resolution|FIXED |---
--- Comment #9 from John Crisp <[email protected]> ---
OK, so I spent a while hacking about with crack-lib and struggled with the way
it works where the perl sub routines in perl-esmith-PasswordToools are split
up.
So I first put it all back together in a single PasswordTools.pm
After fixing some $var declarations we were up and running.
It should work with the password generate script as is.
/sbin/e-smith/dt-pw-generate --length=10 --number=10 --mixed-case
--add-consonants
Number - number of passwords to create
Length - password length
https://www.reetspetit.com/smetest/7/repoview/perl-esmith-PasswordTools.html
Might be worth looking at building our own upto date crack lib as EPEL is 2.9.0
and 2.97 is in git.
I added the 2.9.7 dictionary like this but note this will overwrite the
originals though this should be more up to date.
You can concatenate word list files together if required and then import.
mkdir -p /usr/share/words
cd /usr/share/words
wget
https://github.com/cracklib/cracklib/releases/download/v2.9.7/cracklib-words-2.9.7.gz
gunzip cracklib-words-2.9.7.gz
create-cracklib-dict cracklib-words-2.9.7
That adds it to the dictionaries in:
ll /usr/share/cracklib
You can create your own wordlist in as a plain text list in /usr/share/words
and import it.
You can also obtain others online eg
https://www.scrapmaker.com/download/data/wordlists/passwords/cracklib.txt
This needs adding to the wiki page :-)
The other scripts need testing - I'll try and play over the next few days.
Currently back to in progress.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/