*pulls out some dice and a dictionary* time to generate a new passphrase
the only reason to have giant physical dictionaries anymore...
nerdspeak Show more
@cwebber
xkcdpass() { W=/usr/share/dict/words; N=$(wc -l $W | awk '{print $1}'); for((i=0;i<4;++i)); do A=$(dd if=/dev/urandom bs=4 count=1 2>/dev/null | \ od -D | head -n1 | awk '{print $2}'); ((A%=N)); ((i>0)) && echo -n ' '; echo -n $(sed -ne "${A}p" $W); done; echo}
@JordiGH @cwebber `sort -R /usr/share/dict/words | head -n 5` -- my sort, at least, uses /dev/random, so "good enough."
@JordiGH using urandom is nice :)
nerdspeak Show more
@JordiGH @cwebber `sort -R /usr/share/dict/words | head -n 5` -- my sort, at least, uses /dev/random, so "good enough."