Decrypting password protected PDF files.

Hi,

I’m trying to use “pdftk” to decrypt pdfs on the command line, like this:


cer@Telcontar:~>  pdftk INPUT.pdf  output unsecured.pdf do_ask
The password you supplied for the input PDF:
INPUT.pdf
did not work.  This PDF is encrypted, and you must supply the
owner password to open it.  If it has no owner password, then
enter the user password, instead.  To quit, enter a blank password
at the next prompt.
Please enter the open password to use on the input PDF:
INPUT.pdf.
It can be empty, or have a maximum of 32 characters:
PASSWORD
The password you supplied for the input PDF:
INPUT.pdf
did not work.  This PDF is encrypted, and you must supply the
owner password to open it.  If it has no owner password, then
enter the user password, instead.  To quit, enter a blank password
at the next prompt.
Please enter the open password to use on the input PDF:
INPUT.pdf.
It can be empty, or have a maximum of 32 characters:
^C
cer@Telcontar:~>

However, the same password, /pasted/ into evince, works. My password has
non alphabetic chars.

Is pdftk supposed to work, or is it buggy? Is my command line syntax wrong?

I’m using openSUSE 13.1, CLI, and “pdftk 1.45”.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

For normal users that are unable to apply any manual way to unlock PDF file may use third party PDF password remover tool. This type of tool is very easy to understand and one can easily make their locked PDF file.