Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100027 - genpass-0.3-r1.ebuild (New Package)
Summary: genpass-0.3-r1.ebuild (New Package)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.gensys.org/genpass
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-07-23 06:44 UTC by Chris
Modified: 2005-08-18 17:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
genpass-0.2.ebuild (genpass-0.2.ebuild,532 bytes, text/plain)
2005-07-23 06:46 UTC, Chris
Details
genpass-0.3-r1.ebuild (genpass-0.3-r1.ebuild,541 bytes, text/plain)
2005-07-25 20:02 UTC, Chris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris 2005-07-23 06:44:33 UTC
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
Comment 1 Chris 2005-07-23 06:46:22 UTC
Created attachment 64130 [details]
genpass-0.2.ebuild
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-23 07:39:44 UTC
We have app-admin/makepasswd in portage, is this one better? :)
Comment 3 Chris 2005-07-23 17:50:46 UTC
"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
Comment 4 Chris 2005-07-25 20:02:38 UTC
Created attachment 64322 [details]
genpass-0.3-r1.ebuild
Comment 5 Chris 2005-07-25 20:04:50 UTC
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
Comment 6 Ciaran McCreesh 2005-08-18 17:57:10 UTC
Please fix the following and reopen:

* LICENSE is invalid.
* Ebuilds mustn't stick things in /usr/local.
* ${WORKDIR} needs quotes.