make install to symlink
/usr/local/bin/diceware and install requirements with
$ 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
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
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.