
Hi everyone I've long had a problem with being unable to open some PDFs that could be either viewed on Windows or on Google Drive. For some reason, some PDFs appear to be encrypted (but not requiring a password??). Today, I found an approach that allows me to access these files also on my Linux machine using pdftk. pdftk allows you to decrypt PDFs by supplying a password (https://www.ubuntumint.com/remove-password-from-pdf-on-linux/): pdftk <protected>.pdf input_pw <password> output <new>.pdf However, the following seemed to work on these weird PDF files, without having to supply a password: pdftk <protected>.pdf output <new>.pdf And now my PDF viewers (okular, xreader, etc) no longer complain that they can't open the file. :-) Cheers, Peter -- Peter Reutemann Dept. of Computer Science University of Waikato, Hamilton, NZ Mobile +64 22 190 2375 https://www.cs.waikato.ac.nz/~fracpete/ http://www.data-mining.co.nz/

On Fri, 22 Mar 2024 10:18:38 +1300, Peter Reutemann wrote:
I've long had a problem with being unable to open some PDFs that could be either viewed on Windows or on Google Drive. For some reason, some PDFs appear to be encrypted (but not requiring a password??).
Any chance you can pass me a non-confidential example or two? Just curious to see what I can discover with various PDF-analysis tools.

I've long had a problem with being unable to open some PDFs that could be either viewed on Windows or on Google Drive. For some reason, some PDFs appear to be encrypted (but not requiring a password??).
Any chance you can pass me a non-confidential example or two? Just curious to see what I can discover with various PDF-analysis tools.
Unfortunately, they are all confidential. But I'll keep you in mind next time I come across one of those. Cheers, Peter -- Peter Reutemann Dept. of Computer Science University of Waikato, Hamilton, NZ Mobile +64 22 190 2375 https://www.cs.waikato.ac.nz/~fracpete/ http://www.data-mining.co.nz/
participants (2)
-
Lawrence D'Oliveiro
-
Peter Reutemann