[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: password generator

Martin Lesser writes:
>Hallvard B Furuseth <h.b.furuseth@usit.uio.no> writes:
>> # This is Larry Wall's password program, somewhat rewritten.  I couldn't
>> # find it on the net, and our version is rather Norwegian, but there
>> # is a 'goodenough' routine you can probably use.
>> # in http://ftp.se.kde.org/pub/security/tools/password/yppapasswd/.
> IMO that's bloated.
> Much more easy:
> dd if=/dev/urandom ibs=6 count=1 2>/dev/null | encode-base64

If /dev/urandom exists, yes.

But the point of goodenough() is not to generate passwords, but to
reject generated passwords that accidentally contain words from
dictionaries and so on.