This is a command-line tool for generating secure passphrases based on the diceware method. The diceware method uses a list of words and random dice rolls to create strong and memorable passwords.
To use this tool, you need to have Python 3 installed on your system.
- To install the tool from source, clone the repository.
git clone https://github.com/SoSaymon/diceware-passphrase-generator.git
- You can also download the repository as a ZIP file and extract it.
- Download the latest release from the releases page.
- Extract the ZIP file.
- Install the tool using pip.
pip install diceware-passphrase-generator
- Pull the Docker image.
docker pull sosaymon/diceware-passphrase-generator
- Run the Docker container.
docker run -it sosaymon/diceware-passphrase-generator
Run the diceware.py
script with the desired options to generate a passphrase.
python diceware.py [-h] [-w NUMBER OF WORDS] [--wordlist=wordlist.txt]
-h, --help
: Show the help message and exit.-w NUMBER OF WORDS, --words=NUMBER OF WORDS
: Specify the number of words in the passphrase.--wordlist=wordlist.txt
: Specify the wordlist file to use for generating the passphrase. If not provided, the default wordlist (wordlist.txt
) will be used.
If you don't specify the options when running the script, an interactive prompt will ask you for the number of words and the wordlist.
The tool uses a wordlist file containing a set of words. If you want to use a custom wordlist, make sure it is a text file where each word is on a separate line. The default wordlist (wordlist.txt
) is used if no custom wordlist is specified.
Here's an example of how to use the tool:
python diceware.py -w 6
This command will generate a passphrase consisting of 6 random words from the default wordlist.
Please note that the security of your generated passphrase depends on the quality and randomness of the wordlist used. Use a trusted wordlist and ensure that it has enough entropy to provide adequate security.
Contributions to the Diceware Passphrase Generator are welcome! If you'd like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make the necessary changes and commit them.
- Push your changes to your fork.
- Submit a pull request.
Please ensure that your code follows the existing style and conventions used in the project. Also, remember to write tests for any new functionality you add.
If you have any questions or suggestions regarding the BMI Calculator, please feel free to reach out:
- Author: SoSaymon
- Email: [email protected]
This project is licensed under the MIT License. See the LICENSE file for details.