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 726598 - evince cannot open pdf with AESV3 256 encryption
evince cannot open pdf with AESV3 256 encryption
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: general
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-18 01:56 UTC by Chris
Modified: 2018-05-22 15:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chris 2014-03-18 01:56:47 UTC
When opening a file with AESV3 256 encryption evince repeatedly prompts for a password interactively and fails to render the document.

To recreate:

1. Encrypt a PDF with qpdf:

$ qpdf --version
qpdf version 4.2.0
Copyright (c) 2005-2013 Jay Berkenbilt
This software may be distributed under the terms of version 2 of the
Artistic License which may be found in the source distribution. It is
provided "as is" without express or implied warranty.
$ qpdf --encrypt "wibble" "wobble" 256 -- plain.pdf encrypted.pdf
$ egrep -a AES encrypted.pdf
<< /CF << /StdCF << /AuthEvent /DocOpen /CFM /AESV3 /Length 32 >> >> /Filter /Standard /Length 256 ...

2. Check it opens with Adobe Acrobat

3. Attempt to open with evince:

$ evince --version
GNOME Document Viewer 3.10.0
$ evince encrypted.pdf

(evince:17902): EvinceDocument-CRITICAL **: ev_document_get_n_pages: assertion 'EV_IS_DOCUMENT (document)' failed
Syntax Error: Invalid encryption key length
Command Line Error: Incorrect password
Syntax Error: Invalid encryption key length
Command Line Error: Incorrect password

(evince:17902): Gtk-CRITICAL **: gtk_widget_get_toplevel: assertion 'GTK_IS_WIDGET (widget)' failed
Comment 1 GNOME Infrastructure Team 2018-05-22 15:32:39 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/446.