Bug 45929 - : Access to password prtected document in Librecalc prevented.
Summary: : Access to password prtected document in Librecalc prevented.
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.4.5 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-11 06:54 UTC by Stefan Gies
Modified: 2013-05-30 12:46 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Saving File denied (2.12 MB, image/png)
2012-02-20 12:11 UTC, Stefan Gies
Details
Version of LibreOffice (2.15 MB, image/png)
2012-02-20 12:14 UTC, Stefan Gies
Details
File created with LibreOffice 3.3.2 OOO330m19 (Build:202) tag libreoffice-3.3.2.2 (6.64 KB, application/vnd.oasis.opendocument.spreadsheet)
2012-02-20 12:40 UTC, Stefan Gies
Details
Error occured using password protected file (1.67 MB, image/png)
2012-02-20 12:42 UTC, Stefan Gies
Details
Importing LibreOffice 3.5 password protected file in OpenOffice 3.3.0 (305.15 KB, image/png)
2012-02-23 15:20 UTC, Stefan Gies
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gies 2012-02-11 06:54:18 UTC
Problem description: 
I use a LibreCalc-File to store private data. This file is password protected. The file was created with a previous version of LibreCalc. If I try to open this file with LibreCalc 3.4.5 OOO340m1 (Build:502) the error occured "password wrong". If I open the same file with a previous version of LibreCalc the file will be opened using the password.

Current behavior:
Password access prevented

Expected behavior:
Opening file with entering password and accessing the file

Platform (if different from the browser): 

Ubuntu 11.10 32bit              
Browser: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120208 Firefox/11.0 SeaMonkey/2.8
Comment 1 Markus Mohrhard 2012-02-13 15:16:32 UTC
How many characters has your password? Can you reproduce this problem by creating a document with 3.3 and fail to open it with 3.4.5?
Comment 2 Stefan Gies 2012-02-13 23:02:28 UTC
(In reply to comment #1)
> How many characters has your password? Can you reproduce this problem by creating a document with 3.3 and fail to open it with 3.4.5?

My password has 9 characters. The problem is repoducable. If I try to create a password protected file in 3.4.5 I cannot save the created file. I work on 3.3
Comment 3 Stefan Gies 2012-02-13 23:06:28 UTC
The same problem is on Ubuntu 11.10 64bit with Libreoffice 3.4.5
Comment 4 Stefan Gies 2012-02-13 23:38:06 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > How many characters has your password? Can you reproduce this problem by creating a document with 3.3 and fail to open it with 3.4.5?
> 
> My password has 9 characters. The problem is repoducable. If I try to create a password protected file in 3.4.5 I cannot save the created file. I work on 3.3

Correction:
My password has 9 characters. The problem is repoducable. If I try to create a password protected file in 3.4.5 I cannot save the created file. It works on Libreoffice 3.3.

I try to create a file in the latest Fuduntu with Libreoffice 3.4.5 OOO340m1 Build 502. The will be created and saved.
Comment 5 Stefan Gies 2012-02-14 05:33:05 UTC
Today I installed LibreOffice 3.5.0rc3 Build-ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735. This Version do not contain the error. Creating, saving and opening a password protected is possible. This test was made with Ubuntu 11.10 64bit.
Comment 6 Rene Engelhard 2012-02-15 02:43:08 UTC
duplicate of Bug 45171?
Comment 7 Markus Mohrhard 2012-02-20 06:17:42 UTC
Can someone of you provide me a testdocument that fails to open in 3.4.5 with password test and only a 2 in A1 under MPL/LGPLv3+?

I can't generate one myself but I would like to create a test case for it and push it at least to master and if all agree also to 3-5 to prevent that for the next releases.
Comment 8 Stefan Gies 2012-02-20 12:11:35 UTC
Created attachment 57354 [details]
Saving File denied
Comment 9 Stefan Gies 2012-02-20 12:14:33 UTC
Created attachment 57355 [details]
Version of LibreOffice
Comment 10 Stefan Gies 2012-02-20 12:40:18 UTC
Created attachment 57360 [details]
File created with LibreOffice 3.3.2  OOO330m19 (Build:202) tag libreoffice-3.3.2.2

Test file to open with paasword. Password is 0123456789
Comment 11 Stefan Gies 2012-02-20 12:42:31 UTC
Created attachment 57363 [details]
Error occured using password protected file
Comment 12 Stefan Gies 2012-02-23 15:19:03 UTC
I try to open the password protected file in OpenOffice v3.3.0. OpenOffice do not open the file and terminated with an error.
Comment 13 Stefan Gies 2012-02-23 15:20:09 UTC
Created attachment 57558 [details]
Importing LibreOffice 3.5 password protected file in OpenOffice 3.3.0
Comment 14 sasha.libreoffice 2012-05-17 05:54:55 UTC
What progress?
Comment 15 Joel Madero 2012-10-03 17:08:42 UTC
We need a test document with a password provided to test this out. Marking as NEEDINFO. Please provide a document (blank is fine) that has a password (make it something simple like "password") that displays this behavior. Then change status back to UNCONFIRMED and we'll take a look at it.
Comment 16 QA Administrators 2013-05-29 23:05:05 UTC
Dear Bug Submitter,

This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INVALID due to lack of needed information.

For more information about our NEEDINFO policy please read the wiki located here: 
https://wiki.documentfoundation.org/QA/FDO/NEEDINFO

If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed.


Thank you for helping us make LibreOffice even better for everyone!


Warm Regards,
QA Team
Comment 17 Stefan Gies 2013-05-30 12:45:05 UTC
With the latest updates was the problem solved
Comment 18 sasha.libreoffice 2013-05-30 12:46:41 UTC
Thanks for additional testing
Due to last comment, changing status to WorksForMe