September 2, 2012

Make some passphrases, already

tl;dw: I made a Python script that generates passphrases.

$ pw
child gold myself experiment

$ pw -n 5
rising cat immediately example
dirt alone truth thus
difficult weak minute butter
pan proud shelf join
among shade exercise so

$ pw -l 8
vegetable aside plate development while sport electric chemical

$ pw -s  # For things that don’t like spaces

It uses Python’s random.SystemRandom (which pulls random data from /dev/urandom) and a list of common words from this website, just like It’s on GitHub: Sidnicious/pw.