NAME
pwg
—
password generator
SYNOPSIS
pwg |
[-an ] [-w
wordlist] [length] |
DESCRIPTION
pwg
generates a random string of
characters or a diceware-style passphrase using a word list, a file with one
word per line. The random properties are the ones provided by the operating
system' /dev/urandom device.
The options are as follows:
-a
- Use only alphanumeric characters.
-n
- Use only numbers.
-w
wordlist- Generate a passphrase from a the given wordlist instead of a random string of characters.
If no length is given, an appropriate one is used.
EXIT STATUS
The pwg
utility exits 0 on success,
and >0 if an error occurs.
EXAMPLES
Generate a passphrase using the EFF “large” wordlist:
$ ftp -o- https://www.eff.org/files/2016/07/18/eff_large_wordlist.txt \ | awk '{print $2}' >~/wordlist $ pwg -w ~/wordlist elm retouch disclose snaking pregame bonfire
AUTHORS
The pwg
utility was written by
Omar Polo
<op@omarpolo.com>.