Bug 56230 - Evince shows "Invalid encryption key length" as error when openening a pdf
Summary: Evince shows "Invalid encryption key length" as error when openening a pdf
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-20 16:47 UTC by Thomas Schneider
Modified: 2018-08-21 10:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Thomas Schneider 2012-10-20 16:47:32 UTC
For legal reasons I will just link to the pdf document without mentioning a password:
http://www6.rz.ruhr-uni-bochum.de:8205/ls-riesenhuber/lehrveranstaltungen/BGBII.html
Direct link.
http://www6.rz.ruhr-uni-bochum.de:8205/imperia/md/content/riesenhuber/veranstaltungen/01_sat_im_bgb.pdf

When trying to open the document with the newest evince/poppler combination I get the error message:

thomas@pluto ~ $ evince 01\ SAT\ im\ BGB.pdf 
Syntax Error: Invalid encryption key length
Command Line Error: Incorrect password

And even after entering the password I get the same message again.
Comment 1 Thomas Schneider 2012-10-20 16:55:29 UTC
Just to be precise I tested it with following combinations:
poppler 20.3 and evince 3.4
and 
poppler git 20121020 rev and evince 3.4
Comment 2 Albert Astals Cid 2012-10-21 16:44:12 UTC
If we don't have the password how do you expect us to fix the problem?
Comment 3 Thomas Schneider 2012-10-21 19:34:38 UTC
I thought you can reproduce the problem and maybe fix it by just trying to open the file as well or is it impossible to see encryption details without actually encrypting it?I'm sorry I'm not sure I can give you the password.
Comment 4 Albert Astals Cid 2012-10-21 19:52:35 UTC
An encrypted file can't be opened without the password, that's the point. Without the password we can not check if we have fixed the bug or not, so i'm closing the bug since there is no way we can fix it.

Sorry about that but we don't do impossibles.
Comment 5 Thomas Schneider 2012-10-21 21:33:06 UTC
The password is Medicus
Comment 6 Albert Astals Cid 2012-10-21 21:41:01 UTC
Wait, are you complaining of the error message only? Because the file is opened just fine here
Comment 7 Thomas Schneider 2012-10-21 21:44:03 UTC
No Im unable Tod open the document.I used the standard archlinux package and compiled previously mentioned gibt Revision by Hand.It didn't work for me
Comment 8 Albert Astals Cid 2012-10-21 22:13:02 UTC
Confusing, it works just fine here, are you on 64 or 32 bits?
Comment 9 Thomas Schneider 2012-10-21 22:14:03 UTC
I'm working on a 64bit system
Comment 10 Jose Aliste 2012-10-22 09:40:04 UTC
I can open it in Fedora 17 64 bits both using distributed versions (evince 3.4 and poppler 0.18) and using compiled versions from git master. 


I do get a different error on console though. 
Syntax Error (95): Illegal character '}'

and an invalid password message, which is there because poppler always tries to open the file with the empty password first.
Comment 11 Albert Astals Cid 2015-02-11 20:59:56 UTC
Thomas did you ever get a new poppler version? Is this fixed?
Comment 12 GitLab Migration User 2018-08-21 10:41:53 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org'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.freedesktop.org/poppler/poppler/issues/331.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.