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
Hashes for noplaintext-0.4.1-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 79fc1dc29a7e57a4dedf9ce63cfebd93ed5a38b2281de0ca2c95c31088a1127a |
|
| MD5 | 2d1698a32d2b6c619cf79b324b2430fa |
|
| BLAKE2b-256 | 6d35a3b5b3ad045bd9a5801bb7fc1525d85e3939738e4abe7637692310484a0d |