Minimalistic Passphrase Generation script with GUI
Project description
CybarPass
Minimalistic Passphrase Generation script with GUI
Dependencies
- Python >= 3.9
tkinter
module
PS: Also requires a word list file where each word is on a new line. You can supply your own, or, on MacOS and Linux, use /usr/share/dict/words
.
Installation
- Open terminal and run
python3 -m pip install cybarpass
- Set a shell alias:
alias cybarpass="python3 -m cybarpass"
- Run according to the instructions below
Usage
- CLI mode: run
cybarpass
with optional parameter-n
- GUI mode: run
cybarpass -g
Help Screen
output of
cybarpass -h
usage: cybarpass [-h] [-n NUM] [-g] [WORD_LIST]
Generate a secure passphrase
positional arguments:
WORD_LIST Path to dictionary file
options:
-h, --help show this help message and exit
-n NUM, --len NUM Minimum length of passphrase
-g, --gui Run the program in GUI mode
NOTE: -n | --len has no effect in GUI mode
Example Runs
$ cybarpass -h
$ cybarpass
$ cybarpass -g
$ cybarpass -g /usr/share/dict/words
$ cybarpass /usr/share/dict/words
$ cybarpass /usr/share/dict/words -n 512
Resources
- Developing a Full Tkinter Object-Oriented Application on pythontutorial.net
- Tkinter Grid on pythontutorial.net
- Tkinter Open File Dialog on pythontutorial.net
- Tkinter – Read only Entry Widget on GeeksforGeeks
- tkinter — Python interface to Tcl/Tk on docs.python.org
- Packaging Python Projects on packaging.python.org
- The .pypirc file on packaging.python.org
- How to Create and Upload Your First Python Package to PyPI on freecodecamp.org
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
cybarpass-2.6.tar.gz
(773.2 kB
view details)
Built Distribution
cybarpass-2.6-py3-none-any.whl
(772.3 kB
view details)
File details
Details for the file cybarpass-2.6.tar.gz
.
File metadata
- Download URL: cybarpass-2.6.tar.gz
- Upload date:
- Size: 773.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33b1eedac1b6ecd85c4370a87e43437c7f0ef8b432cca4120043b9364d69fbb2 |
|
MD5 | 8e9391ebc697e88a6b5b9c2244ed083a |
|
BLAKE2b-256 | 0fd848a59875d1603c3e24a84d6d697db38b4053088a7189d84190b88e545074 |
File details
Details for the file cybarpass-2.6-py3-none-any.whl
.
File metadata
- Download URL: cybarpass-2.6-py3-none-any.whl
- Upload date:
- Size: 772.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfce6a1cb218807b4c2e6a2abcbd8465c83bd39e50bc29d77de19fb554176a7a |
|
MD5 | 2c31b2d5567706a9bd5511ae0d0e7d51 |
|
BLAKE2b-256 | 4c30f5bf885531f7291b6b0cc253e2cc1f83ff045aeb67188740906478cfb1cf |