This application allows you to add AES-256 encryption to your PDF files for enhanced security.
Ensure the following dependencies are installed:
- Python 3: Required to run the script.
- Dependencies:
python3-tk
: For GUI-based functionalities (if applicable).qpdf
: For PDF processing.
Run the following command to install the required packages:
sudo apt install python3-tk qpdf
Use the package manager for your Linux distribution to install the required dependencies. Examples:
- Fedora:
sudo dnf install python3-tkinter qpdf
- Arch Linux:
sudo pacman -S python-tk qpdf
Install the dependencies using Homebrew:
brew install python-tk qpdf
- Download and install qpdf from its official releases page.
- Add the
qpdf
binary directory to your system'sPATH
environment variable:- Right-click on "This PC" or "My Computer" > Properties > Advanced system settings > Environment Variables.
- Locate the
Path
variable, click Edit, and add the directory whereqpdf.exe
is located.
- Install the Python dependency using
pip
:pip install tk
After installing the dependencies, execute the script using the following command:
python3 pdf_password_adder.py
Once the script runs successfully, a new AES-256 encrypted PDF file will be generated, original file will be unaffected.