Bug 114840 - Draw can't open 128-bit or 256-bit AES encrypted PDF
Summary: Draw can't open 128-bit or 256-bit AES encrypted PDF
Status: RESOLVED DUPLICATE of bug 55425
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-04 22:11 UTC by Aron Budea
Modified: 2022-07-06 11:54 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample PDF (80.87 KB, application/pdf)
2018-01-04 22:11 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2018-01-04 22:11:42 UTC
Created attachment 138890 [details]
Sample PDF

The attached PDF was created with Word 2013 by exporting a simple document to PDF.
During export, the option "Encrypt the document with a password" was selected.
Password: 123456

Draw gives the following error upon opening: "Version Incompatibility. Incorrect file version."

Acrobat Reader DC says the file can be opened by "Acrobat 7.0 and later", and encryption level is 128-bit AES.

Observed using LO 6.0.0.1 / Windows 7. LO 3.3.0 asks for password, but claims it's incorrect.
Comment 1 Thomas Lendo 2018-01-05 08:28:02 UTC
I confirm the error message and that the PDF can't be opened.

Version: 6.0.0.1 (x64)
Build-ID: d2bec56d7865f05a1003dc88449f2b0fdd85309a
CPU-Threads: 8; BS: Windows 10.0; UI-Render: Standard

Version: 5.1.6.2 (x64)
Build-ID: 07ac168c60a517dba0f0d7bc7540f5afa45f0909
CPU-Threads: 8; BS-Version: Windows 6.19; UI-Render: Standard

LO 3.3.0 asks for password but can't open it as Aron said.

Word 2013 can reopen it with the password.
Comment 2 QA Administrators 2019-01-06 04:20:08 UTC Comment hidden (obsolete)
Comment 3 Timur 2019-01-08 10:18:42 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2021-01-08 04:18:30 UTC Comment hidden (obsolete)
Comment 5 Timur 2021-05-17 07:12:59 UTC
*** Bug 142312 has been marked as a duplicate of this bug. ***
Comment 6 Aron Budea 2021-05-17 07:20:43 UTC Comment hidden (obsolete)
Comment 7 Timur 2021-05-17 07:42:05 UTC
Repro 7.2+.
From duplicate bug: Draw can open files with RC4 encryption (from 6.1 and 6ec29250c259b80c551f10cfe0c5d416283c0230), but not with AES-256. 
Other viewers such as Adobe Reader, Edge, Chrome / Chromium, Firefox, Evince, Okular, and GIMP accept AES-256 encryption.
Comment 8 Kevin Suo 2021-11-22 11:22:18 UTC
Set back to new as the patch was abandoned due to license issue.
Comment 9 Timur 2022-07-06 10:44:18 UTC
I don't know why bug 55425 is only See Also when it should be about the same problem, seen with sample there. 
Aron, please explain if not.

*** This bug has been marked as a duplicate of bug 55425 ***
Comment 10 Aron Budea 2022-07-06 11:54:24 UTC
I don't know, either, you added it to See Also. ;)
I haven't looked into the details of the PDF, and trust your analysis.