Skip to content

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

License

Notifications You must be signed in to change notification settings

SUPAIDEAS/passifypdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

passifypdf

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

How to use ?

Clone

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

or

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

Pull Dependencies (install before usage)

pip install -r requirements.txt

Usage

Run the "main" from IDE or from CLI:

if __name__ == "__main__":
    ...

Usage via CLI:

python encryptpdf.py

Sample Run:

change dir to "passifypdf/passifypdf", 

Then run, 
python encryptpdf.py

-------------------------Sample output----------------------
$python encryptpdf.py
Congratulations!
PDF file encrypted successfully and saved as 'Sample_PDF_protected.pdf'
$

Before & After:

Pasted Graphic 100

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 an opportunistic attacker. But you should not rely on this for mission-critical data.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages