Overview
Encryptopi is an advanced Python script for encrypting and decrypting files and folders using both Fernet and AES encryption algorithms. It is designed to provide secure file handling with features such as key management, metadata handling, and file integrity checking.
KEY FEATURES
- Use either Fernet or AES for encryption/decryption
- Generate Fernet and AES encryption keys
- Encrypt and decrypt all files in a specified directory
- Backup and restore encryption keys
- Attach and view metadata for encryption keys
- Verify file integrity with hashes
- Manage multiple encryption keys
- View existing encryption keys
- Delete existing encryption keys
- Move files and folders between designated directories for operations
- Compress files (optional)
- Provide help and usage instructions
INSTALLATION & USAGE
Git clone installation:
- 'git clone https://github.com/TheJuicePapi/encryptopi.git'
- 'cd encryptopi'
- 'sudo chmod +x install.sh encryptopi.py'
- 'sudo ./install.sh'
- Exit and open a new terminal to use 'encryptopi' shortcut
-
The script will create input,output,decrypted_output, keys folders for you when launched for the first time The key backup folder will be created when a backup is made for the first time.
Everything you put into the 'input' folder including ZIP folders and the contents of regular folders will be encrypted when the option is selected. The encrypted contents will then be auto copied over to the output folder. From there using 'decrypt' option will copy the decrypted versions to the 'decrypted_output' folder.
-
The 'decrypted_output folder is the input folder for the 'Check File Integrity' option.
DEPENDANCIES
(The install.sh script should auto isntall these dependancies for you)
cryptography: For Fernet and AES encryption/decryption.
colorama: For colored terminal output.
tqdm: For progress bars.
json, os, sys, base64, hashlib, getpass, zipfile: Standard Python libraries.
This scipt has been tested on my RPI 4b running a kali linux arm. Enjoy and use responsibly