http://bugs.winehq.org/show_bug.cgi?id=32318
Bug #: 32318 Summary: Excel 2007 password Product: Wine Version: 1.4.1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: christian@holzl.net Classification: Unclassified
I work on 2 vitrtualbox environments: 1.- Virtualbox 4.2.4 with Xubuntu 12.10 Wine 1.4.1 Office2007 Sp3 2.- Virtualbox 4.2.4 with windows 7 Office2007 Sp3
In Excel 2007, if I save and open the file in the same environment, it works: a) I open a non protected Excel file b) set a password c) save the file d) re-open the file e) enter the password f) it works, I can open the file
Though, if I save the file in one environment, and try to open it in the other, it doesn't work: a) I open a non protected Excel file in environment 1 b) I set a password in environment 1 c) I save the file in environment 1 d) I switch to environment 2 e) I re-open the file in environment 2 f) I enter the password in environment 2 f) It does no work, I cannot open the file in environment 2
Same result if I switch environment 1 and 2
It looks like the password coding is not the same in both environments
http://bugs.winehq.org/show_bug.cgi?id=32318
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Excel 2007 password |Excel 2007 files | |password-protected in Wine | |cannot be opened in | |Windows, and vice versa Ever Confirmed|0 |1
--- Comment #1 from Rosanne DiMesio dimesio@earthlink.net 2012-11-28 10:56:46 CST --- Confirming. My tests were on 1.5.18 on openSUSE 11.4 and Windows XP running in VMPlayer.
http://bugs.winehq.org/show_bug.cgi?id=32318
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com --- Please try again in wine-git.
http://bugs.winehq.org/show_bug.cgi?id=32318
--- Comment #3 from Rosanne DiMesio dimesio@earthlink.net --- This is partially fixed in wine-1.7.22-123-g2c78d58. Excel 2007 files password-protected in Wine can now be opened in Windows, but files password-protected in Windows still can't be opened in Wine.
http://bugs.winehq.org/show_bug.cgi?id=32318
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com --- Please attach a +crypt,+advapi log while trying to open a file and another one when saving a file. If possible start winecfg before to reduce the advapi log.
http://bugs.winehq.org/show_bug.cgi?id=32318
--- Comment #5 from Rosanne DiMesio dimesio@earthlink.net --- Created attachment 49102 --> http://bugs.winehq.org/attachment.cgi?id=49102 +crypt,+advapi log opening a file that was password-protected in Windows
This log is from attempting to open a file that was originally saved and password protected in Windows. The error message from Excel is that "the encryption type used is not available." Clicking "Details" on the error message the suggestion to install the latest service pack. The latest service pack for Office 2007 is SP3, and I already have it installed in Wine.
http://bugs.winehq.org/show_bug.cgi?id=32318
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com --- What if you set wine version to windows 7? (I don't need the log).
http://bugs.winehq.org/show_bug.cgi?id=32318
--- Comment #7 from Rosanne DiMesio dimesio@earthlink.net --- Created attachment 49103 --> http://bugs.winehq.org/attachment.cgi?id=49103 +crypt,+advapi saving a password protected file in Wine
This log is from saving a file with password protection in Wine. The saved file can be opened in both Windows and Wine (not sure if the latter was clear in my original report).
http://bugs.winehq.org/show_bug.cgi?id=32318
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com --- Please attach both wine_protected.xlsx and win_protected.xlsx files using a simple one word password.
http://bugs.winehq.org/show_bug.cgi?id=32318
--- Comment #9 from Rosanne DiMesio dimesio@earthlink.net --- Created attachment 49104 --> http://bugs.winehq.org/attachment.cgi?id=49104 File protected in Wine
Password is testwine.
http://bugs.winehq.org/show_bug.cgi?id=32318
--- Comment #10 from Rosanne DiMesio dimesio@earthlink.net --- Created attachment 49105 --> http://bugs.winehq.org/attachment.cgi?id=49105 File protected in Windows
Password is also testwine.
http://bugs.winehq.org/show_bug.cgi?id=32318
--- Comment #11 from Rosanne DiMesio dimesio@earthlink.net --- (In reply to Bruno Jesus from comment #6)
What if you set wine version to windows 7? (I don't need the log).
Excel can't open any file if the Windows version is set to anything higher than XP (bug 33736).
http://bugs.winehq.org/show_bug.cgi?id=32318
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dimesio@earthlink.net
http://bugs.winehq.org/show_bug.cgi?id=32318
--- Comment #12 from Bruno Jesus 00cpxxx@gmail.com --- Thank you for the files, a superficial study makes me think this is now a duplicate of bug 32758. I'll build a hack later so you can test my theory, if correct IMO we can simplify this bug subject and make it fixed, the other bug will take care of the rest.
http://bugs.winehq.org/show_bug.cgi?id=32318
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #13 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 49107 --> http://bugs.winehq.org/attachment.cgi?id=49107 hack to force the provider to open
Please try the attached hack, attach a +crypt,+advapi with it.
http://bugs.winehq.org/show_bug.cgi?id=32318
--- Comment #14 from Rosanne DiMesio dimesio@earthlink.net --- Created attachment 49108 --> http://bugs.winehq.org/attachment.cgi?id=49108 +crypt,+advapi with hack
The log is from attempting to open a file that was password-protected in Windows (what I assume you want). The hack does not fix it; the behavior is the same.
Regarding bug 32758, Office 2007 does not require any version of .NET.
http://bugs.winehq.org/show_bug.cgi?id=32318
--- Comment #15 from Bruno Jesus 00cpxxx@gmail.com --- Thank you again, I think I found the error now.
http://bugs.winehq.org/show_bug.cgi?id=32318
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #49107|0 |1 is obsolete| |
--- Comment #16 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 49114 --> http://bugs.winehq.org/attachment.cgi?id=49114 Prototype AES must work like standard AES
Please try the attached patch.
http://bugs.winehq.org/show_bug.cgi?id=32318
--- Comment #17 from Rosanne DiMesio dimesio@earthlink.net --- (In reply to Bruno Jesus from comment #16)
Created attachment 49114 [details] Prototype AES must work like standard AES
Please try the attached patch.
The patch fixes it.
http://bugs.winehq.org/show_bug.cgi?id=32318
--- Comment #18 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Rosanne DiMesio from comment #17)
The patch fixes it.
Thank you again, patch sent http://source.winehq.org/patches/data/105736
http://bugs.winehq.org/show_bug.cgi?id=32318
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #19 from Rosanne DiMesio dimesio@earthlink.net --- Patch was committed. https://source.winehq.org/git/wine.git/commitdiff/d2793fe242ac65b4e41cc11e80...
http://bugs.winehq.org/show_bug.cgi?id=32318
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d2793fe242ac65b4e41cc11e801 | |2e6e6379831f4 Component|-unknown |rsaenh
https://bugs.winehq.org/show_bug.cgi?id=32318
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.24.