Creates a random passphrase using books from Project Gutenberg.
Another passphrase generator based on XKCD #936. This command line generator, written in Python 3, creates a random passphrase primarily using the Python secrets module and specific books from Project Gutenberg, and further generates information on an estimated time to crack the passphrase using zxcvbn-python.
Default books used include:
- Alice's Adventures in Wonderland by Lewis Carroll
- Frankenstein; Or, The Modern Prometheus by Mary Wollstonecraft Shelley
- Winnie-the-Pooh by A. A. Milne
- A Manual or an Easy Method of Managing Bees by John M. Weeks
Use due diligence with any password generator you use.
- The standalone executable has been tested on Microsoft Windows 10.
- The source code has been tested on Microsoft Windows 10 running Python 3.10.6.
- Dependencies required to run the source code consist of zxcvbn-python 4.4.28.
- The standalone executable is compressed in a zip folder. Once you unzip the folder, you may run the program by running
passphrase_generator.exe
. Additionally, you may replace the four default books used, which are located in thebooks
folder. The book file names must not be changed.
To run the program, open the file passphrase_generator.exe
. When the program has opened you will see information about the program, a passphrase, and the estimated time to crack the passphrase. You will also be presented with a yes or no question where you type y
or n
if you would like another passphrase generated.
See the CHANGELOG.md file for the latest changelog.
- This project is licensed under the MIT License. See the LICENSE.md file for further details.
Contributions are welcomed and appreciated! Please use GitHub Docs for guides on how to use Git, GitHub, and how to contribute. The only two requirements before submitting your code is the pytest tests.py
file passes its tests, and your code is run through Black.