Path: csiph.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 20:36:41 -0000 (UTC) Organization: A noiseless patient Spider Lines: 78 Message-ID: <20190710b@crcomp.net> References: <8kdVE.18949$KR4.17786@fx31.iad> <20190710a@crcomp.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 10 Jul 2019 20:36:41 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="567eacfbe257fdd5a70abd8b4ffa30e5"; logging-data="23936"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+I51j8rozQundb/Axp771b" Cancel-Lock: sha1:AzUyqizoKNcF+y8slMIm288Xd34= Xref: csiph.com sci.electronics.design:550522 alt.computer:11113 Robert Baer wrote: > Don Kuenz wrote: >> 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` > * Not to bad. > By replacing one randomly chosen character with a random digit, you > can almost always make an improvement, especially more green bars with > https://www.cryptool.org/en/cto-highlights/passwordmeter. > Fiddling with which character to replace might give slight added > improvement. > That last line is the best at 78%, 4 green bars. > Randomly chose the w for a digit gives 80% 5 green bars. Although apg can generate long random characters, it's a little over the top for mere mortal me. $ apg -m 64 -a 1 ?2-ydS{'2*PK"16\>M*+ayri,X0KT_gnxcz=vNgG@l,q>K-mZ!EAlf(Ty?/Q,#K) )|cnYKoj^rS!=X'#Phi~DeTXHsa+VsB"K.u=(m~/.@Dco:cBk[gHm|07XmdpY\X[H{/?^n)c3M4h**gUk0$i c-_[h-.Xc'H%#~9p.`kTNR;x}WP\b?'Ikkr/iHkOkTA\.FgrTQfS&*dr=a8)3GJO AM.>$)8\H5|q3{"x6~;;T+>%}!L(?vUIO/Z4lB@@ ]89|xMpRl]gzP^8R"W{i/81ZHpt]GU]:\(b@cOld}Y5cV7j,>mxkcq\"*HiO]ptH It works better for me to start with a pronounceable string and then add special characters and digits if need be. $ apg -m 16 -a 0 -t Liojtanith@Knep# (Li-oj-tan-ith-AT_SIGN-Knep-CROSSHATCH) LyecpapIvbibPigs (Lyec-pap-Iv-bib-Pigs) neeshiBegbytRot@ (nees-hi-Beg-byt-Rot-AT_SIGN) gennEabempOwcyb4 (genn-Eab-emp-Ow-cyb-FOUR) veByTweydbivQuor (ve-By-Tweyd-biv-Quor) DyeratfeOtDeabNi (Dyer-at-fe-Ot-Deab-Ni) 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.