Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.35 KB

File metadata and controls

56 lines (42 loc) · 1.35 KB

passifypdf

Use passifypdf to protect your PDF files with a password of your choice. Same as encrypt or lock your PDF via a password.

Before & After:

Pasted Graphic 100

How to use ?

Clone

git clone https://github.com/SUPAIDEAS/passifypdf.git

Install Dependencies

Uses Poetry for dependency management.

cd passifypdf
pip install poetry
poetry install

Usage

Run the CLI tool using poetry run:

poetry run passifypdf --help

Or activate the shell:

poetry shell
passifypdf --help

Sample Run:

passifypdf -i input.pdf -o protected.pdf -p mySecretPassword

# -------------------------Sample output----------------------
# Congratulations!
# PDF file encrypted successfully and saved as 'protected.pdf'

Known Issues

If you have nay special chars(example: an emoji like Star 🌟) in the PDF file, it gives a minor complain during execution. But it still does the job, so you can ingore that "char or object error" which you see in the output.

Note:

In general you can use passifypdf to protect your PDF files against chance attackers. But you should not rely on this for mission-critical data or situation.

Build & Run Locally

Visit BUILD.md