> > > On Mon, 3 Dec 2007 12:46:29 +0000 Julian Gilbey wrote: > > > > pdftk y9s10pba.pdf input_pw ***** output y9s10pba-nopw.pdf > > > > > > > > gave the error message: > > > > > > > > Error: Failed to open PDF file: > > > > y9s10pba.pdf > > > > OWNER PASSWORD REQUIRED, but not given (or incorrect) > > > > Errors encountered. No output created. > > > > Done. Input errors, so no output created. > > > [...]
I have found a way of reproducing the error - I presume reliably. Take an unencrypted PDF file. Encrypt it using pdftk version 1.41 with a USER password only: pdftk file.pdf output file-encrypt.pdf user_pw mypass Now try to decrypt it using pdftk version 1.41 or even version 1.44: pdftk file-encrypt.pdf input_pw mypass output file-dump.pdf and you get the error: Error: Failed to open PDF file: file-encrypt.pdf OWNER PASSWORD REQUIRED, but not given (or incorrect) Even if you use the do_ask option, so that you are asked: The password you supplied for the input PDF: file-encrypt.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: file-encrypt.pdf. It can be empty, or have a maximum of 32 characters: entering the user password still does not work. Files encrypted using pdftk 1.44 do not have this issue. Julian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org