After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 512940 - Can't open some encrypted PDFs
Can't open some encrypted PDFs
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: PDF
2.20.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-01-29 23:21 UTC by Sven Arvidsson
Modified: 2008-10-28 14:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
PDF #1 (obtained from jstor) (82.00 KB, application/pdf)
2008-10-18 19:00 UTC, will Skora
Details
a second PDF from jstor, that reproduces same problem (571.20 KB, application/pdf)
2008-10-18 19:06 UTC, will Skora
Details

Description Sven Arvidsson 2008-01-29 23:21:22 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.
Comment 1 Carlos Garcia Campos 2008-01-31 11:36:08 UTC
Could you attach here an encrypted pdf file to try with, please?
Comment 2 Anders Boström 2008-01-31 11:56:55 UTC
(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.
Comment 3 will Skora 2008-10-18 19:00:56 UTC
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 4 will Skora 2008-10-18 19:04:15 UTC
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.
Comment 5 will Skora 2008-10-18 19:06:21 UTC
Created attachment 120840 [details]
a second PDF from jstor, that reproduces same problem
Comment 6 Carlos Garcia Campos 2008-10-19 09:27:37 UTC
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. 
Comment 7 Anders Boström 2008-10-28 12:25:36 UTC
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.
Comment 8 Carlos Garcia Campos 2008-10-28 14:47:14 UTC
Closing then. Thanks.