Secure wordlist-based passphrase generator
Project description
Secure wordlist-based passphrase generator
Description
Use pwgen-passphrase to generate secure (yet easy to remember) random passphrase from wordlist. See legendary xkcd: Password Strength comic strip for more details ;-)
Included wordlists are:
diceware (English: 7776 words)
eff-long (English: 7776 words)
eff-short (English: 1296 words)
eff-short2 (English: 1296 words)
bip0039 (English: 2048 words)
skey (English: 2048 words)
cracklib-small (English: 52875 words)
aspell-en (English: 123232 words)
aspell-cs (Czech: 304607 words)
Requirements
Usage
Run pwgen-passphrase --help to see all available options.
Example:
[randall@xkcd.com ~] pwgen-passphrase -w cracklib-small -l 4 -t correct horse battery staple Statistics: =========== Number of words in passphrase: 4 Wordlist length: 52875 words Passphrase strength (entropy): 62.8 bits Passphrase length: 28 chars Length of equivalent case sensitive alphanumeric password: 11 chars Length of equivalent all ASCII printable characters password: 10 chars
Help
usage: pwgen-passphrase [-h] [-t] [-c] [-s SEPARATOR] [-n COUNT] [-w {aspell-cs,aspell-en,bip0039,cracklib-small,diceware,eff-long,eff-short,eff-short2,skey} | -f WORDLIST_FILE] [-l LENGTH | -b BITS] [-L | -U | -C] [--min MIN] [--max MAX] [-r] [-e REGEX] [--version] generate secure random passphrase from wordlist optional arguments: -h, --help show this help message and exit -t, --stats show statistics about generated passphrase -c, --clipboard copy generated passphrase to clipboard (needs PyQt) -s SEPARATOR, --separator SEPARATOR words separator (default is space) -n COUNT, --count COUNT generate multiple passphrases (default is 1) -w {aspell-cs,aspell-en,bip0039,cracklib-small,diceware,eff-long,eff-short,eff-short2,skey}, --wordlist {aspell-cs,aspell-en,bip0039,cracklib-small,diceware,eff-long,eff-short,eff-short2,skey} select wordlist (default is eff-long) -f WORDLIST_FILE, --wordlist-file WORDLIST_FILE path to external wordlist file -l LENGTH, --length LENGTH length of generated passphrase (number of words, default is 6) -b BITS, --bits BITS minimal passphrase strength (bits of entropy) -L, --lower make words lowercase -U, --upper make words uppercase -C, --capitalize make words capitalized --min MIN limit minimum length of word (default is unlimited) --max MAX limit maximum length of word (default is unlimited) -r, --transliterate transliterate Unicode characters to ASCII and remove duplicates -e REGEX, --regex REGEX remove words that do not match regular expression --version show program's version number and exit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pwgen-passphrase-1.2.tar.gz
.
File metadata
- Download URL: pwgen-passphrase-1.2.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a44412f435c846c36ea78ccbef50d73a073d26178fb80b04c911e33fea6fb73 |
|
MD5 | af5bb0344612d91cb96c0106af13d135 |
|
BLAKE2b-256 | 3220e8a0b5adbc5e5c051d8b42661140433f36a2ad3d369b6e63bd6ac462e115 |