Page 1 of 1
[SOLVED] Password Protection "Incorrect" w/ correct password
Posted: Mon Jan 20, 2020 11:42 pm
by Daviswoody
I saved a Writer file as a .docx with a password. When I enter the password to open the file, it tells me that "The password is incorrect. The file cannot be opened."
I replicated the issue with a new file, to confirm that I was in fact using the correct password.
Any ideas?
Re: Password Protection - "Incorrect" even when correct pass
Posted: Tue Jan 21, 2020 1:28 am
by RusselB
Welcome to the Forums.
A search for your problem brought back
this topic, which, in turn, refers to
this topic
You can read those topics, but to summarize, the solution appears to be to open your file using LibreOffice.
We do not recommend using the .docx format, and, in fact, OpenOffice doesn't have the ability to save in that format. LibreOffice does.
Your forum signature should be updated, as there is no OpenOffice 6.2.1.2 version (or at least, not yet).
Re: Password Protection - "Incorrect" even when correct pass
Posted: Tue Jan 21, 2020 5:09 am
by Daviswoody
Solved, 15 character password limit.. It cut off the end of my password.
Re: [SOLVED] Password Protection "Incorrect" w/ correct pass
Posted: Tue Jan 21, 2020 8:51 am
by Villeroy
I confirm that LibreOffice cuts off the final "f" from password 0123456789abcdef when saving password encrypted docx. It does not do so when saving the same file in Open Document Format with password encryption.
LibreOffice's save-as dialog offers pgp encryption for xlsx. When you give a try, you get a dialog to select the key and the warning about foreign file format, the file is saved but remains unencrypted. Pgp encryption works fine with Open Document, of course.
Re: [SOLVED] Password Protection "Incorrect" w/ correct pass
Posted: Sun Feb 02, 2020 2:42 pm
by Villeroy
LO 6.4 fixed the issue with max 15 char passwords in xlsx
https://wiki.documentfoundation.org/ReleaseNotes/6.4