Just completed the crandpass script. I am considering this feature complete and have also not only releasing a tarball with this version but an RPM as well. Repositories for the package can now be found on the OpenBuild service and hopefully I can get it in the mail OpenSUSE repositories for 13.1 since it is such a simple, elegant script.
From changelog:
VERSION 5: 20130803
* ADDED spec file for rpm package creation.
* CHANGED file structure of project folder.
* CHANGED README file is now up to date.
VERSION 4: 20130802
* ADDED hexadecimal password creation options (-H)
VERSION 3: 20130802
* CHANGED default passwords created to 1. This is to make the program script friendly so that it can be re-used.
* ADDED support for controling case
* ADDED support for character control: letters, numbers, and symbols can now be includued or excluded.
* ADDED symbol support.
Usage: crandpass -c 1 -l 32 -s random
-h print this help message
-A alphabetic characters options:
0 x exlude exclude letters
1 l lower use only lowercase
2 u upper use only uppercase
3 m mix use mixed case (default)
-c number of passwords to create (default: 1)
-H create hexadecimal passwords
1 l lower use lowercase
2 u upper use uppercase
-l length of passwords (default: 32)
-N numerical character options:
0 x exclude exclude numbers
1 i include include numbers (default)
-s source of the passwords (default: random)
r random use /dev/random
u urandom use /dev/urandom
-S symbol character options:
0 x exclude exclude symbols (default)
1 i include include symbols
-v print version number
As you can see, this new version as added options to create passwords of varying complexity using a very simple command structure.
Version 5 - MD5 sum: 3119dce71b76943e57c626b0d31eac6c
OpenBuild Service: http://software.opensuse.org/package/crandpass
Packages exist for: CentOS, Fedora, OpenSUSE, Mandriva, and Red Hat RHEL.
Showing posts with label password. Show all posts
Showing posts with label password. Show all posts
Wednesday, August 7, 2013
Wednesday, July 10, 2013
crandpass - A random password generator for Linux.
I had an itch to scratch the other day and wanted to create my own random password generator using BASH just so I could wrap my brain around this whole programming thing. The end result was actually something usable, quite decent, and something I will be expanding on to allow for more features asap.
Right now, the script is on Version 2, and will produce as many passwords of a given length as one requests from it. It can use either /dev/random or /dev/urandom as generators. What it doesn't do now is give the user control over symbols (not yet supported) or case control. It also will produce results with numbers. The next few versions of the script will include more fine grain control over these types of options.
The code and the install script can be obtained from the Google Code repository here. If you would like to package my script for a distro, just let me know.
For the tarball of the script:
Version 2 - MD5 sum: 7185e725fa079576053f0e20726501ea
Right now, the script is on Version 2, and will produce as many passwords of a given length as one requests from it. It can use either /dev/random or /dev/urandom as generators. What it doesn't do now is give the user control over symbols (not yet supported) or case control. It also will produce results with numbers. The next few versions of the script will include more fine grain control over these types of options.
The code and the install script can be obtained from the Google Code repository here. If you would like to package my script for a distro, just let me know.
For the tarball of the script:
Version 2 - MD5 sum: 7185e725fa079576053f0e20726501ea
Subscribe to:
Posts (Atom)
