| Summary: | Cannot open password protected pdf files in Libreoffice | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Jenny <jmillar803> |
| Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | minor | CC: | robert, zarifahnaf |
| Priority: | medium | Keywords: | filter:pdf |
| Version: | 7.5.2.2 release | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 99746, 108914 | ||
| Attachments: | Password protected pdf file | ||
|
Description
Jenny
2023-04-27 08:50:14 UTC
Created attachment 186955 [details]
Password protected pdf file
Could confirm the buggy behavior with LO 7.5.2.2 on OpenSUSE 15.4 64bit rpm Linux. Note: It is a little bit tricky to download a password protected *.pdf. You have to use right mouse click and then menue → download. Just for the record, the pdf file you attached uses the algorithm version 4, LO knows only how to deal with algo 1 and 2 so for the moment, your only choice is indeed to use something else than LO to open your pdf file. Code pointer (for devs): https://opengrok.libreoffice.org/xref/core/sdext/source/pdfimport/pdfparse/pdfentries.cxx?r=f24d38de#1210 pdf specs: https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf " (Optional) A code specifying the algorithm to be used in encrypting and decrypting the document: 0 An algorithm that is undocumented. This value shall not be used. 1 "Algorithm 1: Encryption of data using the RC4 or AES algorithms" in 7.6.2, "General Encryption Algorithm," with an encryption key length of 40 bits; see below. 2 (PDF 1.4) "Algorithm 1: Encryption of data using the RC4 or AES algorithms" in 7.6.2, "General Encryption Algorithm," but permitting encryption key lengths greater than 40 bits. 3 (PDF 1.4) An unpublished algorithm that permits encryption key lengths ranging from 40 to 128 bits. This value shall not appear in a conforming PDF file. 4 (PDF 1.5) The security handler defines the use of encryption and decryption in the document, using the rules specified by the CF, StmF, and StrF entries. The default value if this entry is omitted shall be 0, but when present should be a value of 1 or greater. " *** Bug 158088 has been marked as a duplicate of this bug. *** |