Bug 67070 - Password protected file does not open/save
Summary: Password protected file does not open/save
Status: RESOLVED DUPLICATE of bug 65383
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.1.0.3 rc
Hardware: x86-64 (AMD64) Linux (All)
: highest critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-19 09:13 UTC by Bojan
Modified: 2013-08-06 02:58 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
password protected file (68.82 KB, application/vnd.oasis.opendocument.spreadsheet)
2013-07-22 05:58 UTC, Bojan
Details
Password protected spreadsheet (passwd: 12345) (10.03 KB, application/vnd.oasis.opendocument.spreadsheet)
2013-07-27 20:23 UTC, Valter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bojan 2013-07-19 09:13:35 UTC
On openSUSE 12.3, 64-bit Linux

LO 4.1 beta and up to the recent RC3 does not open password protected file nor does it saves a new file with password protection. 

Trying to open a password protected file ends with the following error:

The password is incorrect. The file cannot be opened


Trying to save a writer or calc file with password protection results in the following error:

Error saving the document Untitled1:
General Error.
General input/output error.
Comment 1 retired 2013-07-21 12:20:12 UTC
Bojan could you please provide an example file to test against and name the PW in the file description.

After providing that, please re-set this bug to UNCONFIRMED.
Comment 2 Bojan 2013-07-22 05:58:29 UTC
Created attachment 82802 [details]
password protected file
Comment 3 Bojan 2013-07-22 06:04:24 UTC
Sorry my ignorance, but I can not find the way to reset the bug to
unconfirmed..

On 21 July 2013 14:20, <bugzilla-daemon@freedesktop.org> wrote:

>  James <spam35@gmx.net> changed bug 67070<https://bugs.freedesktop.org/show_bug.cgi?id=67070>
>  What Removed Added  Status UNCONFIRMED NEEDINFO  Ever confirmed   1
>
>  *Comment # 1 <https://bugs.freedesktop.org/show_bug.cgi?id=67070#c1> on bug
> 67070 <https://bugs.freedesktop.org/show_bug.cgi?id=67070> from James<spam35@gmx.net>
> *
>
> Bojan could you please provide an example file to test against and name the PW
> in the file description.
>
> After providing that, please re-set this bug to UNCONFIRMED.
>
>  ------------------------------
> You are receiving this mail because:
>
>    - You are on the CC list for the bug.
>    - You reported the bug.
>
>
Comment 4 Valter 2013-07-27 19:40:07 UTC
Hi guys. I had the same problem opening a password protected file that was saved using version 4.0.2.
My installation:

LibreOffice_4.1.0.4_Linux_x86-64_deb
Ubuntu 13.04 x64

This is my fist post here, so forgive me if I'm doing something wrong. 
The file has personal data, so I cannot attach it. If needed, I can try to reproduce using another file.
Please let me know if I can help to fix this. I'm a Developer, but I haven't  worked with LibreOffice code.
Thanks.
Comment 5 Valter 2013-07-27 20:23:05 UTC
Created attachment 83103 [details]
Password protected spreadsheet (passwd: 12345)

Password protected spreadsheet (passwd: 12345)
Comment 6 Valter 2013-07-27 20:27:17 UTC
I've attached a password protected spreadsheet.
Password = 12345

The file was created in version 4.0.2.2 and can be opened with success in that version.
It can't be opened in 4.1.0.4  (incorrect password)
Comment 7 bordfeldt 2013-07-28 17:05:12 UTC
I had the same problem in Ubuntu 12.04 64 bit.
Password-protected writer-documents created with LO 4.0.2 can't be openend in LO 4.1.04, saying wrong password.
My workaround:

"sudo ln -s /usr/lib/libsqlite.so.0 /opt/libreoffice4.1/program/libsqlite3.so"

No it works. But it works only, if I open the document with LO. If I open the document directly from a filemananger, LO says still "wrong password".
Comment 8 Todd 2013-08-06 00:03:06 UTC
Scientific Linux 6.4, 64 bit

This bug almost gave me heart failure.

When I upgraded from
    Old: LibreOffice_4.0.4_Linux_x86-64_rpm.tar.gz

    New: LibreOffice_4.1.0_Linux_x86-64_rpm.tar.gz
         Version: 4.1.0.4
         Build ID: 89ea49ddacd9aa532507cbf852f2bb22b1ace28

I was no longer able to open my encrypted documents (or save them with a password either).  The following error was reported:

   The password is incorrect. The file cannot be opened

The following work around corrected the problem:

   # ln -s /usr/lib64/libsqlite3.so.0 /opt/libreoffice4.1/program/libsqlite3.so

The "#" means "root" user.  The work around corrected the save as with password error too, which was an I/O Error.

Please fix this immediately, before you give some folks real heart attacks.

Many thanks,
-T
Comment 9 retired 2013-08-06 02:57:43 UTC

*** This bug has been marked as a duplicate of bug 65383 ***
Comment 10 retired 2013-08-06 02:58:33 UTC
This is actually a dupe of https://bugs.freedesktop.org/show_bug.cgi?id=65383 .

Make sure to subscribe the other bug if you want to be notified of changes.