Greetings! genpass is a self-contained bash script that generates decent random passwords as per user's requirements. Users can pass options specifying the total length, type of characters (upper, lower, numeric, ascii, spaces) and minimum thereof they want in their password. No doubt there are probably much easier ways to do this, but it was fun and we hoped someone else might find it useful! C&M
Created attachment 64130 [details] genpass-0.2.ebuild
We have app-admin/makepasswd in portage, is this one better? :)
"Better" is an interesting word ;) From what I can see, makepasswd does not let you specify minimum number of types of characters, whereas genpass does. Let's say you need a minimum 10 character password with at least 3 uppercase, 2 lowercase, 1 ascii and 2 numbers. This can easily be done with genpass like so genpass -L 10 -u 3 -l 2 -a 1 -n 2 THn05*F>j Also, it's simply a bash script with no dependencies (other than bash) and, if there are other features people would like in a password generator, happy to put them in :) It is a small package, not hard for me to maintain, and afterall Gentoo IS about choice ;) Cheers
Created attachment 64322 [details] genpass-0.3-r1.ebuild
Comment on attachment 64322 [details] genpass-0.3-r1.ebuild Updated to version 0.3-r1, in case anyone's interested. If it's a useless program then so be it! Cheers
Please fix the following and reopen: * LICENSE is invalid. * Ebuilds mustn't stick things in /usr/local. * ${WORKDIR} needs quotes.