Skip to main content

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

  1. Clone the repository:

    git clone https://github.com/Sluke950/noplaintext.git
    
  2. Navigate to the project directory:

    cd noplaintext
    
  3. Install dependencies:

    pip install -r requirements.txt
    
  4. Run the GUI application:

    python src/noplaintext/gui_app/gui_app.py
    

Dependencies

  • tkinter (included with Python)
  • cryptography
  • logging

Usage

  1. Generate Key: Click the "Generate Key" button to create a new encryption key and save it to a file.
  2. Load Key: Click the "Load Key" button to load an existing key from a file.
  3. Encrypt Message: Enter a message and click "Encrypt" to encrypt it using the loaded key.
  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

noplaintext-0.4.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

noplaintext-0.4.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

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

Hashes for noplaintext-0.4.1.tar.gz
Algorithm Hash digest
SHA256 1557c5e2fcb92209df4f7f2310a8774450edb3f2c37cd6bbadb8bb90e0261217
MD5 97f806dc36e4a1d43a465668166c02f2
BLAKE2b-256 fef887191518abb4935a18e563a30cae8609cd4653a7b92b15af81ea41f4d4f4

See more details on using hashes here.

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

Hashes for noplaintext-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 79fc1dc29a7e57a4dedf9ce63cfebd93ed5a38b2281de0ca2c95c31088a1127a
MD5 2d1698a32d2b6c619cf79b324b2430fa
BLAKE2b-256 6d35a3b5b3ad045bd9a5801bb7fc1525d85e3939738e4abe7637692310484a0d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page