Is there anyone examining this issue? I'm experiencing difficulty encrypting Writer 220.127.116.11 files with special characters. Was under the impression I was losing my mind, but I was able to replicate the issue with a new document.
Is there an issue with the comparison boxes in Writer? I could not break it, but if there is a mismatch that passed, it may explain the failure. That's all I have -- underscore, a number, and an ampersand. (English, US, UTF-8)
Steps to Reproduce:
1. Open Writer with new file.
2. Click to save and check, "Save with Password."
3. When prompted, use "Sp3ci&l_Chars" without quotes in each box.
4. Close document.
5. Open document.
6. When prompted, re-enter "Sp3ci&l_Chars" without quotes in password.
7. Decryption fails.
Could not decrypt Writer document.
File decrypted, normally.
User Profile Reset: No
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Created attachment 134696 [details]
Testfile with Password (IGNORE)
Password = Sp3ci&l_Chars
This was a .docx attempt - insert Step 2a. to set document type to, "Microsoft Word 2007-2013 XML (.docx)" prior to saving.
Unfortunately, I was not able to reproduce the original error. However, in my testing, I discovered that my issue seems to be related to the length of the password? The private password was 16 characters. When truncated to 15, it decrypted the document, correctly.
So, new test case. I've uploaded a file with the following password: '12345678901234567890' (length = 20) -- when attempting to decrypt, the full password does not work. However, using the truncated, fifteen character version ('123456789012345') the document opens.
Created attachment 134697 [details]
Testfile with Long Password (docx)
Encrypted with Password = 12345678901234567890 (Does not work)
Password to Decrypt = 123456789012345 (<16 characters)
Comment on attachment 134696 [details]
Testfile with Password (IGNORE)
File decrypts normally with special characters. Ignore.
Thank you for reporting the bug.
it seems you're using an old version of LibreOffice.
Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
LibreOffice/LibreWriter Upgrade Completed. Now:
Build ID: 1:5.3.4-0ubuntu0.14.04.1~lo0
CPU Threads: 4; OS Version: Linux 3.19; UI Render: default; VCL: gtk2; Layout
Locale: en-US (en_US.UTF-8); Calc: group
Password length is limited to 15 characters with dialog box/error message. Cannot create password for .docx files that is longer than this length. Instead of fixing the issue, it seems the input was limited to accommodate.
No limitation exists in MS Word 2016. Created test document with password of 20 character length. LibreWriter was able to open without a problem.
Is there an issue with creating a strong password for .docx files? Does the encryption match that used by MS Word, and if so, why is the length of the password limited?
*** This bug has been marked as a duplicate of bug 97086 ***