Problem description: The file could not be opened in LireOffice Steps to reproduce: 1. Open libreoffice writer .... 2. select a docx file.... 3. a message is displayed : Erreur de lecture La méthode de chiffrement de ce document n'est pas prise en charge Il s'agit de tous les docx protégés qui me sont transmis par mes clients ! Bilan il faut disposer d'un PC pour ouvrir les docs, supprimer la protection en fournissant le mot de passe, réenregistrer ... En fait impossible d'utiliser LibreOffice dans ces cas (et le PC sous linux) PC sous Linux Mageia3 Merci. Operating System: other Version: 4.1.5.3 release
*** Bug 75956 has been marked as a duplicate of this bug. ***
Alain: could you please attach an example file so we can try to reproduce the problem? (please think about removing any confidential/private part since every attachments are public). (PS : please use English only to describe the problem since bugzilla is a tracker in English)
Translation : 3. a message is displayed : Reading error: Encryption method of this document is not supported. It is about all the protected docx that are provided by my customers! it requires a PC to open the docs, remove protection by providing the password, register again... It is impossible to use LibreOffice in these cases (and the PC under Linux). Set as needinfo until we have the document to reproduce. Sophie
Created attachment 95503 [details] an example of file Example of file
Hi Alain, could you provide the password to open the file, thanks. Sophie
Hi ! The password is mentionned in comment ! So it is as follow: projetalainbugzilla BR Alain. Le 10/03/2014 14:27, bugzilla-daemon@freedesktop.org a écrit : > > *Comment # 5 <https://bugs.freedesktop.org/show_bug.cgi?id=75955#c5> > on bug 75955 <https://bugs.freedesktop.org/show_bug.cgi?id=75955> from > sophie <mailto:gautier.sophie@gmail.com> * > Hi Alain, could you provide the password to open the file, thanks. Sophie > ------------------------------------------------------------------------ > You are receiving this mail because: > > * You are on the CC list for the bug. > * You reported the bug. >
So I cannot reproduce the error message. I got the password dialog, enter 'projetalainbugzilla' and it says that the password is incorrect. Set back as Unconfirmed - Sophie
Sorry, I forgot to mention that my previous comment was with version 4.2.2.1 under Ubuntu. Testing now with 4.1.5.3 under Debian, I got the message: Version incompatibility - Incorrect file version - Sophie
Created attachment 95524 [details] Message appearing with FR lang pack The message is not the same whether the UI is French (error says that the encryption method is not supported. Only encryption password supported by Microsoft Office 97/2000 is supported) in English (version incompatibility, incorrect file version).
I can't open test file with 4.1.5.3 italian GUI under Win7x64. I receive this error message (translated from italian to english): "version incompatibility, incorrect file version". I set status to NEW.
Don't bother to use LO 4.1 for password protected ooxml files as it supports only those created with MSO 2007 but not those with MSO 2010/2013 (and also probably 2007 with SP, but I didn't check this). Support for those was added (by me) in LO 4.2. As for this file: it opens in Word 2013 and doesn't in LO 4.2 but it should so it is a bug and I will take a look at this.
I identified the problem. Decryption doesn't work if password length is >= 18 characters.
Tomaž Vajngerl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=66ebce7bb49432ab02b5c74ed4e787282b1ba474 fdo#75955 use SHA1 from openssl/nss instead of rtl_digest_sha1 The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Tomaž Vajngerl committed a patch related to this issue. It has been pushed to "libreoffice-4-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=7cf5d562e6e86b0f571edc95a150b8dce8f3ddef&h=libreoffice-4-2 fdo#75955 use SHA1 from openssl/nss instead of rtl_digest_sha1 It will be available in LibreOffice 4.2.4. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Looks fixed to me, tested using Windows 8.1 with LibreOffice Version: 4.3.0.0.alpha1+ Build ID: 48eccfb812284f43ba24c3be3903537ce954944d TinderBox: Win-x86@39, Branch:master, Time: 2014-05-16_00:35:19 I can successfully open the attached document. Marking as RESOLVED FIXED. Thanks Tomaz! Kind regards, Joren