Hello, My LibreOffice version is 3.3.2 OOO330m19 (Build:202) on Ubuntu 11.04 LO cannot open some Microsoft PowerPoint files (.pps) and I get this error: "Read error. Loading passwprd-protected Microsoft files is not supported". However, the .pps file is NOT a password-protected Microsoft file, but a regular one. Same file may be opened without a hitch both in Openoffice.org and Microsoft Office. Same phenomenon may be seen In LibreOffice 3.3.2, Windows version. Please see an attached test case file. Thanks a lot, Răzvan
Created attachment 48044 [details] Testacase file (Microsoft .pps in .7z archive) for bug 38370 (I)
Created attachment 48045 [details] Testacase file, part II
Created attachment 48046 [details] Testcase file, part III
Created attachment 48047 [details] Testcase file, part IV
Created attachment 48048 [details] Testacase file, part V
Created attachment 48049 [details] Testcase file, part VI (final)
Reproduced with Ubuntu 10.04.2 x86 LO 3.4 I don't try ot open file in something else.
[This is an automated message.] This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it started right out as NEW without ever being explicitly confirmed. The bug is changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases. Details on how to test the 3.5.0 beta1 can be found at: http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1 more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
[Reproducible] with reporter's sample and "LibreOffice 3.4.5 English UI [Build ID: OOO340m1 (Build:502)]" parallel Server installation on German WIN7 Home Premium (64bit). Very old problem, also does not open with "LibreOffice Portable 3.3.0 - WIN7 Home Premium (64bit) German UI [OOO330m19 (Build:6) tag libreoffice-3.3.0.4]", OOo 3.1.1. OOo 3.4Beta and OOo 3.3.3 also fail. I always get message "Read-Error. The loading of password-encrypted Microsoft PowerPoint presentations is not supported" So this one seems inherited from OOo. Works fine with MS PPT VIEWER and reporter's sample. Currently I see this one as an Enhancement request. Do we have ambition to support that? @Thorsten: Please feel free to reassign (or reset Assignee to default) if it’s not your area or if provided information is not sufficient. Please set Status to ASSIGNED if you accept this Bug.
I wonder why MS PPT VIEWER does not ask for a password. May be I'm wrong and this one is related to "OOo 112764 - OO wrongly claims that pps is encrypted"? Or "46307 - Support RC4 encryption to load password protected PPT(Powerpoint)-file"
(In reply to comment #10) > I wonder why MS PPT VIEWER does not ask for a password. May be I'm wrong and > this one is related to "OOo 112764 - OO wrongly claims that pps is encrypted"? > Or "46307 - Support RC4 encryption to load password protected > PPT(Powerpoint)-file" It appears that:- When someone password protects a PPS so that modifying can only be carried out after a password is entered. Power Point Viewer will open it in read only mode however Libre Office sees that there is a password and will not go any further even though the password is not necessary for read only.
This bug is a very important one; it should be upgraded to high/critical. If somebody sends me (which they do) a normal ppt file which all MSO users can read, then it is a serious setback for LO if it can't even open it.
*** Bug 47075 has been marked as a duplicate of this bug. ***
It's a very old bug, but LibO really should be able to open PW protected .ppt / .pps
Created attachment 74881 [details] MS .pps file in .7z archive part 1
Created attachment 74882 [details] MS .pps file in .7z archive part 2
Created attachment 74883 [details] MS .pps file in .7z archive part 3
Created attachment 74884 [details] MS .pps file in .7z archive part 4
Created attachment 74885 [details] MS .pps file in .7z archive part 5
Created attachment 74886 [details] MS .pps file in .7z archive part 6
Created attachment 74887 [details] MS .pps file in .7z archive part 7
Created attachment 74888 [details] MS .pps file in .7z archive part 8
Times are changing, Libre Office too but this bug still exist. Fedora 18 - LO 3.6.5 Windows XP - LO 3.6.5 Windows XP - LO 4.0.0.3 I attached Thursday.pps for testing purposes
RR: (In reply to comment #23) May be you can tell us the intention behind the latest attachments and comment?
I am sorry for my sarcasm but no one care about old bug. My intention was to awake people and have possibilities to opening MSO files without buying this proprietary software. Problem is as in Description of bug and, for example, comment #9 "Read error. Loading password-protected Microsoft files is not supported" Attached file isn't password protected and users of MSO can read it without any password.
Created attachment 74929 [details] MS .pps file in .7z archive part 2 (binary) Right content type.
Created attachment 74930 [details] MS .pps file in .7z archive part 3 (binary) Right content type.
Created attachment 74931 [details] MS .pps file in .7z archive part 4 (binary) Right content type.
Created attachment 74932 [details] MS .pps file in .7z archive part 5 (binary) Right content type.
Created attachment 74933 [details] MS .pps file in .7z archive part 6 (binary) Right content type.
So - commenting out if ( pStorage->IsStream( rtl::OUString("EncryptedSummary" ) ) ) in sd/source/filter/sdpptwrp.cxx, instead of the "cannot open password-encrypted doc" gets us a "Version incompatibility. Incorrect file version." error instead. So I presume, since the ole stream carries this EncryptedSummary, there _is_ some (possibly empty / redundant) encryption in this file. Someone with a bit of time at their hands to dig into the binary file format needs to have a look. I'm afraid I cannot currently commit to this.
Same issue here... file has a password to modify but not read. Looks like it has been ignored since at least 2005 (https://issues.apache.org/ooo/show_bug.cgi?id=46307), though not fully Libre's fault of course. Any chance to get some bug-fix love?
*** Bug 62611 has been marked as a duplicate of this bug. ***
Hi Can someone please help with the following : 1 - create simple one slide presentation in PowerPoint 2 - save without passWord as 38370_test_WithoutPassword.pps 3 - save again _with_ passWord as 38370_test_WithPassword.pps 4 - then remove password and save again as 38370_test_RemovedPassword.pps Pls attacht the three files (or as one in zip). I'll ask someone who did some digging in binaries before to have a look. And then only the code has to be extented ;) thanks,
Created attachment 87604 [details] Test file (1) - Without Password
Created attachment 87605 [details] Test file (2) - With Password
Created attachment 87606 [details] Test file (3) - Removed Password
(In reply to comment #34) Please see the attached files.
(In reply to comment #38) > (In reply to comment #34) > > Please see the attached files. Thanks Geraldo! Cor
Created attachment 93406 [details] zip with dump & diff Hi, Being at the UX-Hackfest, Miklos was so friendly to help me with getting up with git://anongit.freedesktop.org/libreoffice/contrib/mso-dumper Made an output of files - 38370_test_WithoutPassword.pps - 38370_test_RemovedPassword.pps and a diff of the two I'll attach the 38370_dumped_diff.zip with 38370_without 38370_removed 38370_diff_removed_without Most remarkable differences seem to me the lines 240, 288, 304 Would appreciate any specialist to step in. thanks, Cor
@froby See comment 31, 34, 40 : is this something within your reach pls? thanks! Cor
(In reply to comment #41) > @froby > > See comment 31, 34, 40 : is this something within your reach pls? > > thanks! > Cor Sure, will look into that in a day or two.
First of all LO 4.1.x seems to open file with removed password without any problem here. All differences I see between "without_password" and "removed_password" are not related to passwords/security. At second the initially attached 6 parts 7z archive CONTAINS PASSWORD PROTECTED FILE. If you try to open it in MS Office it will ask for password and w/o password will allow to open the document as read-only. So Rainer was right in the comment #9 -- it's an enhancement request.
For potential implementor: <caolan> I have no idea about this specific .pps/ppt encryption mechanism, but FWIW there is various shared bits, e.g. include/filter/msfilter/mscodec.hxx for the crippled rc4 stuff used in msoffice 97 which might be relevant
Hello, I have just experienced the same problem. I have a PPS file that doesn't have a password, and yet, LibreOffice 5.3.0 says it can't open it because it's password-protected. I've tried to open it both from the Windows explorer and from LibreOffice itself with the same results.
Created attachment 131645 [details] Cordoba hechicera nazarena y sultana (V.).pps It says it's password-protected, but it's not
*** Bug 89338 has been marked as a duplicate of this bug. ***
*** Bug 106332 has been marked as a duplicate of this bug. ***
(In reply to David García from comment #45) > [...] > I have a PPS file that doesn't have a password [...] Are you sure? Please have a look at https://bz.apache.org/ooo/show_bug.cgi?id=112764#c9. In other words, did you try to _edit_ (not only viewing it in slideshow mode) this presentation in MS-Powerpoint? Best regards. JBF
(In reply to Jean-Baptiste Faure from comment #49) > (In reply to David García from comment #45) > > [...] > > I have a PPS file that doesn't have a password [...] > > Are you sure? Please have a look at > https://bz.apache.org/ooo/show_bug.cgi?id=112764#c9. In other words, did you > try to _edit_ (not only viewing it in slideshow mode) this presentation in > MS-Powerpoint? > > Best regards. JBF Hello, I'm sorry it took me so long to reply. I've tried on LibreOffice 5.3.3.2 and I get the same error message ("The loading of password-encrypted Microsoft PowerPoint Presentations is not supported"). Since I was able to see the presentation on PowerPoint, I assumed the file didn't have a password, but I've realized that it's edit-protected. As for your question, is there a view-mode only for PowerPoint files? I basically double-click PowerPoint files in order to see the presentations. Thanks in advance for your help. Best regards.
Can at least this problem be fix so that the document could be open as read-only? I am attaching the problem file with a name as "DEJANJE SO cUTJA.pps.ppt". Thank you
Created attachment 134443 [details] password-encrypted Microsoft PowerPoint
I was able to open password protected pps file with Libre Office 5.3.3.2. worked without problem. Now installed version 5.3.7 which displays error window "Opening of password protected Power Point document is not supported". On v5.4.5.1 On 5.4.5.1 LibreOffice is not showing the error Window "Opening of password protected Power Point document is not supported", but just silently exits/crashes when opening MSO RC4 encrypted pps file. I reinstalled 5.3.3.2 but now it can't either open the password protected pss file. Added test file which used to open
Created attachment 140211 [details] Used to open with LO 5.3.3.2/5.3.4.2 Used to open with without problem with LO 5.3.3.2 or 5.3.4.2. Can't remember exactly which one.
Eike: I know it's not Calc but, noticing your work on hash parts, thought you might be interested in this one.
Comment on attachment 140211 [details] Used to open with LO 5.3.3.2/5.3.4.2 This is a text file containing the comment text, without use.
My work was for OOXML password hashing, this seems to be some internal Impress problem. If there is a password set for editing and otherwise open the file read-only, that erroneously fools Impress to believe there is encryption and also prevents it to open the file in read-only mode. It's likely only a flag somewhere with an associated password hash for edit-mode. OOXML PresentationML defines 19.2.1.19 modifyVerifier (Modification Verifier) that sounds pretty much related and likely has an equivalent in the binary file format,
I had LO open those password protected from edition pps files with Impress around mid march 2017 to the end of may 2017. It was exactly when this feature appeared in release notes for LO 5.3 around march/april/may 2017: "The contemporary Microsoft Office default Binary Document encryption "RC4 CryptoAPI Encryption" is now supported (Caolán McNamara, Red Hat, Inc.)" I did not memorize the exact version, 'cause I was not expecting the feature will get broken. Some version from that time was opening those pps file without problem in read-only mode. I was testing versions from 5.3.1.2 to 5.3.5.2 from download archive but none will open pps, just display mentioned error window. But than not all versions of LO are in download archive. All I can remember I was able to open those pps files with LO 5.3.3 or 5.3.4 and then the feature got broken with 5.3.5 or 5.3.6 because LO started to display error window about not supporting password protected Powerpoint documents. Maybe Caolán McNamara can check the code for errors?
The regression is still there with LO 6.1.4.
It still is an issue in LO 6.3.1
(In reply to David García from comment #46) > Created attachment 131645 [details] > Cordoba hechicera nazarena y sultana (V.).pps > > It says it's password-protected, but it's not At least, we got in "if" block: 91 if ( pStorage->IsStream( "EncryptedSummary" ) ) 92 mrMedium.SetError(ERRCODE_SVX_READ_FILTER_PPOINT); So this part should be implemented: https://docs.microsoft.com/en-us/openspecs/office_file_formats/ms-ppt/8faaf589-abed-4d79-a758-529ce59dfcfd
*** Bug 127574 has been marked as a duplicate of this bug. ***