Path: csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!news.uzoreto.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Don Kuenz Newsgroups: sci.electronics.design,alt.computer Subject: Re: OT: passwords Date: Wed, 10 Jul 2019 17:29:36 -0000 (UTC) Organization: A noiseless patient Spider Lines: 82 Message-ID: <20190710a@crcomp.net> References: <8kdVE.18949$KR4.17786@fx31.iad> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 10 Jul 2019 17:29:36 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="567eacfbe257fdd5a70abd8b4ffa30e5"; logging-data="21846"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/pBGHC15nWLR/PLABCKf4h" Cancel-Lock: sha1:LF5jFxX5Ov8YtLNcrnhfikHaB5Y= Xref: csiph.com sci.electronics.design:550483 alt.computer:11108 Jan Panteltje wrote: > > PS, > Just after I replied I decided to keep the fingers moving and wrote a simple > password generator in See: > http://panteltje.com/panteltje/newsflex/download.html#passgen > > It does exactly what I wrote, see below, and I also added a check > for /dev/random being not some hack and a file. > > This is Linux software, unpack with > tar -zxvf passgen-0.1.tgz > make > make install > > Run: > ~ # passgen > read 99 of 100 bytes, please wait > ready, your password is > 7hrCv98P > > It takes a minute or 2 to get enough randomness. > > It is version 0.1 and I wrote it in a few frmtoseconds, so YMMV. > also do not use THIS password for anything. > Make your own and one for each application. > > Check the source code for any secret commi-nukations. apg excels at generating pronounceable nonsense of any length: $ apg -m 16 -a 0 NuocKiUvJusfeat~ nicOpEdfondErceb RhastAcPoivektoi oajPheanodfiedTi SlatCyChroodfeir GheyRawjeOctyab` ------------------------------------------------------------------------ https://github.com/Distrotech/apg ------------------------------------------------------------------------ $ apg -h apg Automated Password Generator Copyright (c) Adel I. Mirzazhanov apg [-a algorithm] [-r file] [-M mode] [-E char_string] [-n num_of_pass] [-m min_pass_len] [-x max_pass_len] [-c cl_seed] [-d] [-s] [-h] [-y] [-q] -M mode new style password modes -E char_string exclude characters from password generation process -r file apply dictionary check against file -b filter_file apply bloom filter check against filter_file (filter_file should be created with apgbfm(1) utility) -p substr_len paranoid modifier for bloom filter check -a algorithm choose algorithm 1 - random password generation according to password modes 0 - pronounceable password generation -n num_of_pass generate num_of_pass passwords -m min_pass_len minimum password length -x max_pass_len maximum password length -s ask user for a random seed for password generation -c cl_seed use cl_seed as a random seed for password -d do NOT use any delimiters between generated passwords -l spell generated password -t print pronunciation for generated pronounceable password -y print crypted passwords -q quiet mode (do not print warnings) -h print this help screen -v print version information ------------------------------------------------------------------------ Thank you, 73, -- Don Kuenz KB7RPU There was a young lady named Bright Whose speed was far faster than light; She set out one day In a relative way And returned on the previous night.