Description: PDF with password protection, with the setting for free opening (e.g. password not required for opening - see screenshot from Adobe) can't be opened on Mac. LO asks for the password and does not allow to continue. The Windows version opens the PDF without asking for password. Tried these version (please note the slightly different versions of LO on both OS, it's not a mistake): Windows 7 64bit, LibreOffice Version: 5.3.4.2 Mac - 10.13.1 (17B48) High Sierra, LibreOffice Version: 5.4.3.2 Steps to Reproduce: 1. Open the attached PDF in LibreOffice Actual Results: On Mac the LO asks for password and does not allow to continue. This isn't happening on Windows version. Expected Results: The password setting in the attached file does not protect opening of the PDF file. The application must not ask for password while opening such a file. Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Created attachment 137687 [details] Password protected PDF. The PDF is not protecting the file opening itself.
Created attachment 137688 [details] Acrobat reader screenshot for the attached PDF. The password is not protecting the opening of the PDF file.
@Jan : no repro with Version: 6.0.0.0.alpha1+ Build ID: 57c5f980835f834f6ea96c6f5ca841b5372aa61d CPU threads: 4; OS: Mac OS X 10.13.1; UI render: default; Locale: fr-FR (fr_FR.UTF-8); Calc: group I loaded up your PDF into Draw and was not asked for any password. The document opened just fine.
No repro either with: Version: 5.4.2.2 Build ID: 22b09f6418e8c2d508a9eaf86b2399209b0990f4 Threads CPU : 4; OS : Mac OS X 10.13.1; UI Render : par défaut; Locale : fr-FR (fr_FR.UTF-8); Calc: group
Also no repro with Version: 5.4.3.2 Build ID: 92a7159f7e4af62137622921e809f8546db437e5 CPU threads: 4; OS: Mac OS X 10.13.1; UI render: default; Locale: fr-FR (fr_FR.UTF-8); Calc: group
@Jan : I drag and dropped your PDF file on the StartCenter. By default, this loads the PDF into Draw. Are you doing something different ?
Created attachment 137718 [details] PDF with password protection This PDF definitely asks password on Mac
Created attachment 137719 [details] Screenshot of password prompt
Created attachment 137720 [details] Screenshot of followup error message
I'v added three files. The password prompt appears when I drag-drop the PDF to Start center and also when I right click PDF and "Open with" LibreOffice.app . The code above password field is always different.
Comment on attachment 137687 [details] Password protected PDF. The PDF is not protecting the file opening itself. This is the wrong attachment. Please ignore it.
Comment on attachment 137688 [details] Acrobat reader screenshot for the attached PDF. The password is not protecting the opening of the PDF file. This is the wrong attachment, please ignore it.
@Alex - sorry, my mistake, put wrong attachment during bug submission. The correct attachment (PDF) and screenshot have been provided by Rastislav.
More over, I can confirm, that the Windows version of LO (Windows 7 64bit, LibreOffice Version: 5.3.4.2) is asking for password too. In my opinion, it shouldn't.
(In reply to Rastislav Rehák from comment #7) > Created attachment 137718 [details] > PDF with password protection > > This PDF definitely asks password on Mac Not platform-specific. Asks on Linux and Win as well. Adobe Acrobat and Okular open it fine. Version: 6.1.0.0.alpha0+ (x64) Build ID: 0bb0299b29960c3a27427eba5d5fc34e5e913a8b CPU threads: 4; OS: Windows 10.0; UI render: default; TinderBox: Win-x86_64@42, Branch:master, Time: 2017-12-09_00:15:04 Locale: fi-FI (fi_FI); Calc: group threaded Arch Linux 64-bit Version: 6.1.0.0.alpha0+ Build ID: 1390c91c7584a89298906849cdabae131f8a6191 CPU threads: 8; OS: Linux 4.14; UI render: default; VCL: kde4; Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded Built on December 14th 2017 Arch Linux 64-bit Version 3.6.7.2 (Build ID: e183d5b)
Hmm, after reading bug 103807, I don't think it makes sense to implement what this report calls for. The point would be having it read-only, but in bug 103807 it was decided there is no point in trying to restrict edits after interpreting/converting the PDF contents to our own format. Jan and Rastislav: do you understand what I mean?
With 6.0.0beta2 on Windows the new pdfium based ipdf insert filter handles correctly and inserts the first page of the document. Just the pdfio filter import to draw filter hangs prompting for a password. Version: 6.0.0.0.beta2 (x64) Build ID: 13edaaa12f25de343fce136064e27da66c1c4fa4 CPU threads: 4; OS: Windows 10.0; UI render: default; Locale: en-US (en_US); Calc: group threaded
Issue here remains, we seem to be mishandling the /P document security. As for bug 103807 if we choose to not implement the arbitrary privacy settings of later PDF specs--we should not limit ability to read a PDF if password is not otherwise required to read it. So even if we retain our handling per 103807, something in our handling of password protected PDF does need a tweak.
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Dear jan.prochaska, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
(In reply to QA Administrators from comment #20) > Dear jan.prochaska, > > To make sure we're focusing on the bugs that affect our users today, > LibreOffice QA is asking bug reporters and confirmers to retest open, > confirmed bugs which have not been touched for over a year. > > There have been thousands of bug fixes and commits since anyone checked on > this bug report. During that time, it's possible that the bug has been > fixed, or the details of the problem have changed. We'd really appreciate > your help in getting confirmation that the bug is still present. > > If you have time, please do the following: > > Test to see if the bug is still present with the latest version of > LibreOffice from https://www.libreoffice.org/download/ > > If the bug is present, please leave a comment that includes the information > from Help - About LibreOffice. > > If the bug is NOT present, please set the bug's Status field to > RESOLVED-WORKSFORME and leave a comment that includes the information from > Help - About LibreOffice. > > Please DO NOT > > Update the version field > Reply via email (please reply directly on the bug tracker) > Set the bug's Status field to RESOLVED - FIXED (this status has a particular > meaning that is not > appropriate in this case) > > > If you want to do more to help you can test to see if your issue is a > REGRESSION. To do so: > 1. Download and install oldest version of LibreOffice (usually 3.3 unless > your bug pertains to a feature added after 3.3) from > https://downloadarchive.documentfoundation.org/libreoffice/old/ > > 2. Test your bug > 3. Leave a comment with your results. > 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; > 4b. If the bug was not present in 3.3 - add 'regression' to keyword > > > Feel free to come ask questions or to say hello in our QA chat: > https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa > > Thank you for helping us make LibreOffice even better for everyone! > > Warm Regards, > QA Team > > MassPing-UntouchedBug Retested the Mac version still asks for password when opening. LibreOffice version 7.0.2.2 MacOS version 10.15.7 Kind regards, Jan
Bug 149621 was confirmed although a duplicate of this one. But since that one has a code pointer, I'll close this one as a duplicate. *** This bug has been marked as a duplicate of bug 149621 ***