Issue 122200 - Impossible to open password protected file with AOO 4 (dev)
Summary: Impossible to open password protected file with AOO 4 (dev)
Status: CLOSED DUPLICATE of issue 120385
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 4.0.0-dev
Hardware: All All
: P3 Blocker (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-05-01 17:24 UTC by Hagar Delest
Modified: 2013-05-03 16:27 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Password protected file created with AOO dev 4 (7.39 KB, application/vnd.oasis.opendocument.text)
2013-05-01 17:24 UTC, Hagar Delest
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Hagar Delest 2013-05-01 17:24:04 UTC
Created attachment 80619 [details]
Password protected file created with AOO dev 4

AOO400m1(Build:9700)
2013-04-15 13:21:12 (Mon, 15 Apr 2013) - Linux x86_64
On Ubuntu Raring (13.04) 64bit

Impossible to open old file that had been saved with password protection. No problem with LibreOffice Version 4.0.2.2 (Build ID: 400m0(Build:2)).

Tried to create a brand new file password protected in AOO 4, same issue. See attachment. Password for attachment = password
Comment 1 Oliver-Rainer Wittmann 2013-05-03 12:55:11 UTC
I can open the attached file in buildbot build from 2013-04-29 and in recent snapshot build under Windows 7
Comment 2 Oliver-Rainer Wittmann 2013-05-03 12:57:45 UTC
I create password-protected file with AOO 3.4.1 on Windows 7 and can open it in recent snapshot build under Windows 7
Comment 3 Ariel Constenla-Haile 2013-05-03 13:08:39 UTC
Confirmed on Linux x86_64 with same build as Hagar.

IIRC there was a release blocker about password protected documents, on 64 bit systems (due to the use of C++ primitive data types, instead of SAL typedefs), wasn't this fix applied also on trunk?
Comment 4 Oliver-Rainer Wittmann 2013-05-03 13:22:18 UTC
@Ariel:
Do you mean a release blocker for AOO 3.4 or AOO 3.4.1?
May be the integration into trunk is missing, may be it is another defect.
Comment 5 Oliver-Rainer Wittmann 2013-05-03 13:27:54 UTC
@Ariel:
Was bug 120385 the one you have in mind?
If yes, the last change on main/package/source/manifest/ManifestImport.cxx did not make it into trunk.
Comment 6 Ariel Constenla-Haile 2013-05-03 13:31:32 UTC
(In reply to comment #4)
> @Ariel:
> Do you mean a release blocker for AOO 3.4 or AOO 3.4.1?
> May be the integration into trunk is missing, may be it is another defect.

IIRC it was a release blocker for 3.4.1
Found it: bug 120385
Comment 7 Oliver-Rainer Wittmann 2013-05-03 13:37:12 UTC
(In reply to comment #6)
> (In reply to comment #4)
> > @Ariel:
> > Do you mean a release blocker for AOO 3.4 or AOO 3.4.1?
> > May be the integration into trunk is missing, may be it is another defect.
> 
> IIRC it was a release blocker for 3.4.1
> Found it: bug 120385

@Ariel:
We found it both :-)
Can you give change of revision 1369843 a try in your current trunk environment?
This change did not make it into trunk as far as I can see.
Comment 8 Ariel Constenla-Haile 2013-05-03 13:40:53 UTC
(In reply to comment #7)
> @Ariel:
> We found it both :-)
> Can you give change of revision 1369843 a try in your current trunk
> environment?
> This change did not make it into trunk as far as I can see.

you are right, it wasn't applied:

long nCypherId = 0; 

and

long nDigestId = 0;

are still in http://svn.apache.org/viewvc/openoffice/trunk/main/package/source/manifest/ManifestImport.cxx?revision=1413471&view=markup
Comment 9 Ariel Constenla-Haile 2013-05-03 16:27:38 UTC
Verified on my build.
Resolving as duplicate.

*** This issue has been marked as a duplicate of issue 120385 ***