Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

readme.md

Inspired by Dr.Drang's Passphrases via shell pipeline, this is a python script to generate passphrases from EFF's wordlist.

Install

Run make install to symlink diceware.py to /usr/local/bin/diceware and install requirements with pip3.

Usage

$ diceware -h
usage: diceware [-h] [-c] [-d DELIMITER] num

Generate passphrases from EFF word list

positional arguments:
  num                   How many words you'd like to use

optional arguments:
  -h, --help            show this help message and exit
  -c, --copy            Flag to copy the passphrase to clipboard
  -d DELIMITER, --delimiter DELIMITER
                        The delimeter for your passphrase words. Defaults to a
                        space

diceware 3 would get you something like ligament oversleep ammonia and diceware -d _ 5 would get you playmate_smudgy_onscreen_craziness_diaper.

Security

I am not a security expert. This script uses secrets, which is a "used for generating cryptographically strong random numbers suitable for managing data such as passwords, account authentication, security tokens, and related secrets." An example similar to this project is shown in the Recipes and best practices section, so I trust this is a proper use of secrets.

Be aware that the use of --copy could expose your passphrase if your system is already compromised. If that's the case, you're already screwed.

Please create an issue with any security concerns.

About

Generate passphrases from EFF word list

Resources

Releases

No releases published

Packages

No packages published