A CLI to generate passphrases.
Project description
papass
This is a work in progress
papass generates passphrases following the diceware approach as proposed by Arnold G. Reinhold.
Usage
Assuming you have a wordlist file wordlist.txt you can run the following command to
generate a random list of five words:
$ papass -c 5 -w /path/to/wordlist.txt
Phrase: anthem hamstring transport doorbell circle
Entropy: 64.62406251802891
By default this uses the system's most secure random number generator. To use physical dice add -r dice.
You can download a wordlist designed for passphrases from the EFF. You might need to remove the dice numbers, that is, change a line like this
11114 abide
into
abide
Development
Create a virtual environment and do
$ pip install -r requirements.txt .[dev]
Run unit tests via
$ pytest
Formatting and linting is done via ruff.
$ ruff format
$ ruff check --fix
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file papass-0.0.1.tar.gz.
File metadata
- Download URL: papass-0.0.1.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2360340fc5a76f74adf93d21dc2ce1b128a2c8706a0e963fbeb005135f638abb
|
|
| MD5 |
05dc7cfb0cf119e8e2990b7b0c599d58
|
|
| BLAKE2b-256 |
7e6e540031b9df17a6482e0024bb27e6a9e1851bef5dfa1efb66867de3ca77fa
|
File details
Details for the file papass-0.0.1-py3-none-any.whl.
File metadata
- Download URL: papass-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72c02baa36c2fb64c63229218ed8be795a42efb9e5c685e1018e37d357833915
|
|
| MD5 |
bf933c67299421f66529f060e3e33e97
|
|
| BLAKE2b-256 |
93bb96c9a15a5513fc1ba9e1296f15379d369c149593d5cc4570346ea0c9c881
|