Archive for September 2017

Home brew passgen with rand and bash

I made this up this morning and I think it doesn’t suck. I put it in my .bash_aliases file, which is read by my .bashrc and then I have them on the command line: mkpass_string() { BOFS=${1:-Get} EOFS=${2:-Clue} SEPS=$(rand –mask ‘,.-=*_+^@’ -N 2 -d ” ) rand -M 99 -N 2 –bof “${BOFS}” -d “${SEPS}” […]