Skip to content

Remove password-protection from a PDF-document permanently.

License

Notifications You must be signed in to change notification settings

zvyn/pdf-decrypt

Repository files navigation

PDF Decrypt

Removes password-protection from a PDF-document permanently.

Installation

On Arch Linux simply do:

cd $(mktemp -d)
wget https://github.com/zvynar/pdf-decrypt/raw/master/PKGBUILD
makepkg
sudo pacman -U *.pkg.tar.xz

or

yaourt -S pdf-decrypt

Dependencies:

  • qpdf, a PDF-transformation-program (pdf-decrypt is actually just a small wrapper of it).
  • bash (what means: I use bash-features like extended test or functions)

The bash-file works out of the box, no installation needed. If you want to have it integrated in your desktop-environment, you can use the desktop-file and icons. Remember to change the path in the .desktop-file if you do not copy the files as follows:

  • pdf-decrypt.bash -> /usr/bin/pdf-decrypt
  • pdf-decrypt.desktop -> /usr/share/applications/pdf-decrypt.desktop
  • pdf-decrypt.png -> /usr/share/pixmaps/pdf-decrypt.png

Usage

pdf-decrypt encrypted.pdf

The program will ask for a password and replace the encrypted PDF-file with an unencrypted version preserving the content (including notes and comments inside the encrypted version).

About

Remove password-protection from a PDF-document permanently.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages