Bug 33538 - Unable to open any password-protected PPT or PPS (PPTX and PPSX work)
Summary: Unable to open any password-protected PPT or PPS (PPTX and PPSX work)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL: https://bugs.launchpad.net/df-libreof...
Whiteboard:
Keywords:
: 35327 72552 87233 92118 150935 (view as bug list)
Depends on:
Blocks: Password-Protected File-Opening
  Show dependency treegraph
 
Reported: 2011-01-26 09:55 UTC by Nicolas LECORNU
Modified: 2023-05-06 13:34 UTC (History)
16 users (show)

See Also:
Crash report or crash signature:


Attachments
message unable to read slide presentations with password (191.03 KB, image/bmp)
2011-01-26 09:55 UTC, Nicolas LECORNU
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas LECORNU 2011-01-26 09:55:41 UTC
Created attachment 42540 [details]
	 	 message unable to read slide presentations with password

Hello and congratulations for this first release of LibreOffice:

I have a problem recurring with LibreOffice as on OpenOffice.org which is unable to read Microsoft Powerpoint slideshows with password.
When I want to read one, Impress puts me a message on a shot which I publish. An outcome is open on openoffice.org but nothing seems to be done:

http://QA.OpenOffice.org/issues/show_bug.cgi?id=46307
Comment 1 Noel Power 2011-01-27 01:49:45 UTC
would be a nice feature edge, is it a candidate for an easy ( well harder ) hack, presumably the protection is documented now etc. -> thorsten who hopefully knows more
Comment 3 Thorsten Behrens (allotropia) 2011-10-17 05:39:52 UTC
Coming back to this - Rodo, on your radar? Kohei, any pointers - we do that for xlsx already, do we?
Comment 4 Jean-Baptiste Faure 2012-01-28 11:11:46 UTC
*** Bug 35327 has been marked as a duplicate of this bug. ***
Comment 5 Thorsten Behrens (allotropia) 2012-05-07 13:39:04 UTC
(In reply to comment #3)
> Coming back to this - Rodo, on your radar? Kohei, any pointers - we do that for
> xlsx already, do we?
>
Anybody any pointers to MS rc4 encryption details? At least I see code in sw/source/filter/ww8/ww8par.cxx that at least claims to do something like that?
Comment 6 Kohei Yoshida 2012-05-07 13:51:50 UTC
(In reply to comment #3)
> Coming back to this - Rodo, on your radar? Kohei, any pointers - we do that for
> xlsx already, do we?

We only do AES 128 for xlsx, which Excel 2007 uses by default.  It generally works, but occasionally fails (there are several bug reports for this).

AFAIK we support RC4 only for the binary i.e. xls.

MSCodec_Std97 in filter does the RC4 encryption, both for encryption and decryption.  We use that for the binary xls encryption support.  I'm not sure about Writer's support for encrypted doc, but it probably uses this class too.
Comment 7 Chris Peñalver 2012-05-08 04:15:10 UTC
Changing slideshows -> slideshow. Let us please keep this bug targeted to the file already discussed. :D
Comment 8 Thorsten Behrens (allotropia) 2013-09-12 16:14:40 UTC
Apologies for not having gotten around fixing this bug yet; unfortunately in future I'll have even less time at my disposal for this, so I'm freeing up ownership for other volunteers to take over.
Comment 9 Julien Nabet 2013-12-10 21:57:07 UTC
*** Bug 72552 has been marked as a duplicate of this bug. ***
Comment 10 Julien Nabet 2013-12-10 22:14:42 UTC
Just for information, here is a link about RC4 CryptoAPI Encrypted Summary Stream used for
http://msdn.microsoft.com/en-us/library/dd943321%28v=office.12%29.aspx
(link given by this: http://msdn.microsoft.com/en-us/library/dd909022%28v=office.12%29.aspx and so for Powerpoint files)
Comment 11 Julien Nabet 2013-12-11 21:47:59 UTC
May http://opengrok.libreoffice.org/xref/core/sw/source/filter/ww8/ww8par.cxx#5563 be an example to follow?
Comment 12 Urmas 2014-12-11 20:30:29 UTC
*** Bug 87233 has been marked as a duplicate of this bug. ***
Comment 13 Alain GUIRAUTON 2014-12-12 00:16:23 UTC Comment hidden (no-value)
Comment 14 Alain GUIRAUTON 2014-12-12 00:24:08 UTC Comment hidden (no-value)
Comment 15 Alain GUIRAUTON 2014-12-13 00:42:40 UTC Comment hidden (no-value)
Comment 16 Björn Michaelsen 2014-12-18 10:16:12 UTC Comment hidden (obsolete)
Comment 17 Alain GUIRAUTON 2015-03-09 14:24:20 UTC
Hello,
This is a big problem when you recieve documents from customers who are not familiar with PGP transfert.
The same problem was solved for docx documents (in this case the problem seems due to a long password (too long ? ) more than 8 characters.

Thank you for you job.
Congratulations,
Alain.
Comment 18 Julien Nabet 2015-06-16 18:25:41 UTC
*** Bug 92118 has been marked as a duplicate of this bug. ***
Comment 19 Timur 2017-05-19 08:49:21 UTC
https://help.libreoffice.org/Common/About_Converting_Microsoft_Office_Documents should be updated with XML. Anyway, LO can't open any password-protected PPT or PPS (regardless of password length) while PPTX and PPSX work.
Comment 20 Zeus Castro 2018-03-22 13:43:52 UTC
This would be a nice feature to have.
Comment 21 JustinEl 2018-11-29 08:03:51 UTC Comment hidden (obsolete)
Comment 22 Xisco Faulí 2019-11-29 13:29:06 UTC
Changing priority back to 'medium' since the number of duplicates is lower than 5
Comment 23 Timur 2022-09-14 15:17:24 UTC
*** Bug 150935 has been marked as a duplicate of this bug. ***