An application for generating and managing encryption keys and encrypting/decrypting messages.
Project description
noplaintext
Overview
noplaintext is a module that is intended to eliminate hard-coded credentials in scripts by encrypting them using a external key file. This means that only the encrypted credentials are visible and can only be decrypted with a key file that can be stored in a directory not accessible from a github repository, network drive, or wherever else the source code made be. There is a graphical application to generate a key file and encrypt credentials.
Project Structure
/project-root
/src
/crypto_utils
__init__.py
crypto_utils.py
README.md
/gui_app
__init__.py
gui_app.py
README.md
README.md
pyproject.toml
requirements.txt
/src/crypto_utils: Contains the cryptographic utility functions for key generation, loading, encryption, and decryption./src/gui_app: Contains the GUI application that interacts with the user to perform cryptographic operations./tests: Contains tests for the cryptographic utilities.
Installation
-
Clone the repository:
git clone https://github.com/Sluke950/noplaintext.git
-
Navigate to the project directory:
cd noplaintext
-
Install dependencies:
pip install -r requirements.txt
-
Run the GUI application:
python src/noplaintext/gui_app/gui_app.py
Dependencies
tkinter(included with Python)cryptographylogging
Usage
- Generate Key: Click the "Generate Key" button to create a new encryption key and save it to a file.
- Load Key: Click the "Load Key" button to load an existing key from a file.
- Encrypt Message: Enter a message and click "Encrypt" to encrypt it using the loaded key.
- Decrypt Message: Enter an encrypted message and click "Decrypt" to decrypt it using the loaded key.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
If you want to contribute to this project, please fork the repository, make your changes, and submit a pull request. All contributions are welcome!
Project details
Release history Release notifications | RSS feed
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 noplaintext-0.4.1.tar.gz.
File metadata
- Download URL: noplaintext-0.4.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1557c5e2fcb92209df4f7f2310a8774450edb3f2c37cd6bbadb8bb90e0261217
|
|
| MD5 |
97f806dc36e4a1d43a465668166c02f2
|
|
| BLAKE2b-256 |
fef887191518abb4935a18e563a30cae8609cd4653a7b92b15af81ea41f4d4f4
|
File details
Details for the file noplaintext-0.4.1-py3-none-any.whl.
File metadata
- Download URL: noplaintext-0.4.1-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79fc1dc29a7e57a4dedf9ce63cfebd93ed5a38b2281de0ca2c95c31088a1127a
|
|
| MD5 |
2d1698a32d2b6c619cf79b324b2430fa
|
|
| BLAKE2b-256 |
6d35a3b5b3ad045bd9a5801bb7fc1525d85e3939738e4abe7637692310484a0d
|