Created attachment 74266 [details]
Cannot open password protected docx files
When opened it does not promtp for password, but instead opens a file with weird characters
i have reposted this bug
Operating System: Windows 7
Version: 22.214.171.124 release
*** Bug 60334 has been marked as a duplicate of this bug. ***
I can confirm this behavior using attached document. Therefore I mark it as NEW.
@Bug reporter: is this behavior always reproducible (I mean, with every protected docx document). With what application did you create this file (LibreOffice, OpenOffice, Word, ...) and which version of that application?
Following  I mark this as 'Major High'.
(In reply to comment #2)
(i appologize for the duplicate post, i had issues with the log in manager so I was forced to make another post)
This behavior IS reproducible, and has been encountered in every password protected docx i tried to open with libre office writer.
I have used microsoft office word 2010 to create the password protected docx.
This issue is unresolved also in the latest version of libre office available (126.96.36.199)
> I can confirm this behavior using attached document. Therefore I mark it as
> @Bug reporter: is this behavior always reproducible (I mean, with every
> protected docx document). With what application did you create this file
> (LibreOffice, OpenOffice, Word, ...) and which version of that application?
> Following  I mark this as 'Major High'.
> Kind regards,
(In reply to comment #3)
> (In reply to comment #2)
> (i appologize for the duplicate post, i had issues with the log in manager
> so I was forced to make another post)
Don't mind for that, I only need to ask that to prevent it next time :-).
> This issue is unresolved also in the latest version of libre office
> available (188.8.131.52)
Thanks for your extra information.
I can reproduce using Linux Mint 14 x64 using latest master LibreOffice Version 184.108.40.206.alpha0+ (Build ID: 1a3c90a292c7fc9060604151de9dc51eecf5b6a).
This bug also applies to opening password protected spreadsheets with Calc
"agile" encryption foo which is a different format that the one we've implemented
This is a dupe. Caolán: can you look into this? Imo high/major is correct and this is valid for all OS.
*** This bug has been marked as a duplicate of bug 51194 ***
*** This bug has been marked as a duplicate of bug 35422 ***
Seems like patches submitted by Tomaž Vajngerl's (firstname.lastname@example.org) have solved this !
Here is the list of commits I found that relate to this.
Great job, Tomaž
fdo#59524 Encryption for MS Office 2007 Spreadsheet documents
fdo#59524 Also write sheet length so MS Office will open it.
fdo#59524 Enable encryption for docx, pptx and standard OOXML formats
Move OOXML decryption to DocumentCrypt.
fdo#35422 Support to open encrypted Office 2010 and 2013 formats
Encryption: and add exceptions to methods that need it
Save should encrypt OOXML document if it was loaded encrypted.