GNOME Bugzilla – Bug 512940
Can't open some encrypted PDFs
Last modified: 2008-10-28 14:47:14 UTC
[ From http://bugs.debian.org/462385 by Anders Boström ] "Encrypted pdf's don't work. I've tested with pdf's from Marvell and Broadcom, neither work at all. I only get a requester stating "Failed to load document from data (error 1)'" At the seame time, this is written to stderr: Error: Couldn't open file '/tmp/evince-19042/document-0-88E1141_5.pdf' Error: Couldn't open file '/tmp/evince-19042/document-0-88E1141_5.pdf' The documents work fine with xpdf and acroread. According to http://live.gnome.org/Evince/Features: "Evince can open PDF documents that have been encrypted". The documents from Marvell I've tested with is pdf version 1.5 created with acrobat destiller 6.0.1 (Windows) using 40-bit RC4. The documents from Broadcom I've tested with is pdf version 1.3 created with activepdf using 128-bit RC4. I can't attach any of the documents due to NDA restrictions. I'd like to have a public accessable encrypted pdf to test with, but haven't found one." As pointed out in the original bug report, this isn't a general problem with encrypted documents, as those from OpenOffice work fine in Evince.
Could you attach here an encrypted pdf file to try with, please?
(In reply to comment #1) > Could you attach here an encrypted pdf file to try with, please? I'm sorry, but as I wrote in the description, I'm under NDA and can't provide the documents from Marvell and Broadcom. Also, I haven't got access to acrobat destiller or activepdf to test and generate my own encrypted PDF's.
Created attachment 120838 [details] PDF #1 (obtained from jstor) receive a message: Failed to load document from data (error 3)" when attempting to open this.
Comment on attachment 120838 [details] PDF #1 (obtained from jstor) I cannot open PDFs obtained from jstor, using evince 2.22.2, ubuntu 8.04 (will provide more information if requested); and I believe it maybe because of encryption. I have had no other problems viewing pdfs in evince. I have also been able to reproduce it by other pdfs from jstor.
Created attachment 120840 [details] a second PDF from jstor, that reproduces same problem
Those documents are not valid PDF files. Neiher evince nor xpdf nor even acroread can open it and all of them show an error saying the document is damaged.
I've tested with evince 2.22.2-2, and I can't repeat the problem any more. Now all encrypted documents I've tested with, including the ones failing with 2.20, works fine.
Closing then. Thanks.