evince cannot open pdf with AESV3 256 encryption

Bug #1293282 reported by Christopher Hill
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Evince
Expired
Medium
evince (Ubuntu)
Triaged
Low
Unassigned

Bug Description

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

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in evince (Ubuntu):
importance: Undecided → Low
Revision history for this message
Christopher Hill (ch6574) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks

Changed in evince (Ubuntu):
status: New → Triaged
Changed in evince:
importance: Unknown → Medium
status: Unknown → New
Changed in evince:
status: New → Confirmed
Changed in evince:
status: Confirmed → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.