Created attachment 134283 [details] Password protected DOC The attached document was created with Word 2013, and is protected with a password. Password is: 1234 Open document in Writer using the password, then save it. Reopen document either in Writer or in Word. => Document is not protected with password anymore, and can be opened without one. Observed using LO 5.4beta2 & 5.3.0.3 / Windows 7. In 5.2.0.4 this kind of password protection is not yet supported for DOC files.
This is the commit that implemented import support: https://cgit.freedesktop.org/libreoffice/core/commit/?id=4f07175cd03bf0fa42992a06d51aed5b421adcf2 author Caolán McNamara <caolanm@redhat.com> 2016-10-22 20:08:07 (GMT) committer Caolán McNamara <caolanm@redhat.com> 2016-10-22 20:09:59 (GMT) implement CryptoAPI RC4+SHA1 encryption scheme for doc import
The behaviour is somehow inconsistent. If the file is saved with another name or in another folder, it's password protected after roundtrip. However, if it's saved using the same file, the protection is lost after roundtrip. Version: 6.0.0.0.alpha0+ Build ID: 08f6f9dded1b142b858c455da03319abac691655 CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk2; Locale: ca-ES (ca_ES.UTF-8); Calc: group
Could be a different bug but, when you try to open a password protected doc file generated by MS Office, LibreOffice opens it in read only mode without asking for the password. Tested on: Version: 6.0.0.0.alpha0+ Build ID: e0aed1459513be5e08fab9de06848df5dc9d0b5f CPU threads: 4; OS: Windows 6.1; UI render: default; TinderBox: Win-x86@39, Branch:master, Time: 2017-09-20_06:45:25 Locale: it-IT (it_IT); Calc: group
** 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
Fixed in LO 5.4.5 by Caolán McNamara 2018-01-26 16:44:43 +0100 commit 2372003d94d3c58d90f6af524e916a2aa761cee2 Resolves: tdf#114221 generate both std97 and cryptoapi keys from password.. *** This bug has been marked as a duplicate of bug 114221 ***