http://bugs.winehq.org/show_bug.cgi?id=11509
Summary: Wordviewer 2003 is unable to open documents encrypted with AES Product: Wine Version: CVS/GIT Platform: Other URL: http://www.microsoft.com/downloads/details.aspx?FamilyId =95E24C87-8732-48D5-8689-AB826E7B8FDF OS/Version: other Status: NEW Keywords: download Severity: normal Priority: P2 Component: crypt32 AssignedTo: wine-bugs@winehq.org ReportedBy: infyquest@gmail.com
Created an attachment (id=10675) --> (http://bugs.winehq.org/attachment.cgi?id=10675) document encrypted with aes
WordViewer 2003 is unable to open the documents encrypted with AES Cryptoprovider. It mostly because its compiled with the incorrect PSDK Headers/Libs. In XP the provider name is appended with (Prototype)
Attaching a sample word 2003 document. Its password is testaes
http://bugs.winehq.org/show_bug.cgi?id=11509
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |juan_lang@yahoo.com
http://bugs.winehq.org/show_bug.cgi?id=11509
--- Comment #1 from Vijay Kamuju infyquest@gmail.com 2008-02-08 14:06:01 --- made a simple patch to fix this http://www.winehq.org/pipermail/wine-patches/2008-February/049813.html
http://bugs.winehq.org/show_bug.cgi?id=11509
--- Comment #2 from Vijay Kamuju infyquest@gmail.com 2008-02-08 16:24:17 --- Made new patch that works. This involves fixing rsaenh rather than advapi We add the XP Provider String to the registry and modify the rsaenh to use it.
The patch is at http://www.winehq.org/pipermail/wine-patches/2008-February/049817.html
I ask people to do tests on 2K3 and report results
http://bugs.winehq.org/show_bug.cgi?id=11509
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.0.0
--- Comment #3 from Vijay Kamuju infyquest@gmail.com 2008-04-01 12:43:48 --- making it a must fix for 1.0 release
http://bugs.winehq.org/show_bug.cgi?id=11509
Lionel Debroux lionel_debroux@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lionel_debroux@yahoo.fr
--- Comment #4 from Lionel Debroux lionel_debroux@yahoo.fr 2008-04-02 02:22:36 --- Well, the patch at http://www.winehq.org/pipermail/wine-patches/2008-February/049817.html doesn't solve the problem for me. On wine-0.9.58-413-ged6635a (latest git as of now), Word Viewer 2003 won't open the file you provided, even if your patch is applied. It outputs a dialog saying:
Word cannot open this file. The encryption type used is not available, contact the author of the file. More encryption types are available using the High Encryption Pack. (C:\windows\profiles\...\testaes.doc)
Should I attach the debug log ? The +relay,+crypt,+wintrust log is a bit large, even when compressed with bzip2 -9.
http://bugs.winehq.org/show_bug.cgi?id=11509
--- Comment #5 from Lionel Debroux lionel_debroux@yahoo.fr 2008-04-02 03:01:31 --- Never mind, it works with a clean .wine directory. Sorry for the noise.
http://bugs.winehq.org/show_bug.cgi?id=11509
--- Comment #6 from Lionel Debroux lionel_debroux@yahoo.fr 2008-05-05 13:04:41 --- Is there anything wrong with this patch ? As stated previously, it works for me.
http://bugs.winehq.org/show_bug.cgi?id=11509
--- Comment #7 from Vijay Kamuju infyquest@gmail.com 2008-05-07 08:16:23 --- I have sent the patch twice, and its ignored. I really dont know what goes through Alexanders mind :)
http://bugs.winehq.org/show_bug.cgi?id=11509
--- Comment #8 from Juan Lang juan_lang@yahoo.com 2008-05-07 08:52:30 --- Could you resend and ask for comments?
http://bugs.winehq.org/show_bug.cgi?id=11509
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2008-05-07 09:25:27 --- Adding an extra key for compatibility is OK, but you shouldn't change the name of the existing value for that provider.
http://bugs.winehq.org/show_bug.cgi?id=11509
--- Comment #10 from Vijay Kamuju infyquest@gmail.com 2008-05-13 12:22:10 --- Thanks, Alexander for your comments. I sent a new patch that does not modify the existing values.
http://bugs.winehq.org/show_bug.cgi?id=11509
--- Comment #11 from Vijay Kamuju infyquest@gmail.com 2008-05-13 12:43:01 --- The patch link http://www.winehq.org/pipermail/wine-patches/2008-May/054858.html
http://bugs.winehq.org/show_bug.cgi?id=11509
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2008-05-13 14:24:02 --- The patch is wrong, you are still changing things that don't need changing.
http://bugs.winehq.org/show_bug.cgi?id=11509
--- Comment #13 from Vijay Kamuju infyquest@gmail.com 2008-05-13 14:28:33 --- hmmm....... interesting I thought I got this right this time. may be I am missing something, I gotta look into it deeper.
http://bugs.winehq.org/show_bug.cgi?id=11509
Michael Karcher wine@mkarcher.dialup.fu-berlin.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine@mkarcher.dialup.fu- | |berlin.de
--- Comment #14 from Michael Karcher wine@mkarcher.dialup.fu-berlin.de 2008-06-02 17:22:46 --- Alexandre is right. Please cut down your patch to the first four hunks and the last hunk. The middle part (regarding the DefaultsKeys) is not only unneeded, but wrong too. You exceed the array dimensions of szDefaultKeys, just to mention the bug I noticed when looking at it. The purpose of the default keys is, if I got it correctly, to find the name of the default crypto provider providing some type (type 24, RSA signing with AES encryption in this case). The "(Prototype)" crypto provider should not be default for anything, so let the defaults alone!
I tested it on a fresh wineprefix and it works. I am not submitting the patch myself for you to get the credit.
http://bugs.winehq.org/show_bug.cgi?id=11509
--- Comment #15 from Vijay Kamuju infyquest@gmail.com 2008-06-03 14:09:09 --- Sent a new patch. http://www.winehq.org/pipermail/wine-patches/2008-June/055535.html Havent tested whether the patch applies correctly or not? (I am at office and I moved to a new location, lot of unpacking to do and quite busy) Michael, if you could test if this patch applies correctly or not. If not please send a corrected patch as will be busy 2-3 weeks.
http://bugs.winehq.org/show_bug.cgi?id=11509
--- Comment #16 from Michael Karcher wine@mkarcher.dialup.fu-berlin.de 2008-06-03 16:30:02 --- To me, that patch looks OK. Its exactly the trimmed down version I made myself to test it. I see no further issues for the patch to go in; lets see what Alexandre says.
http://bugs.winehq.org/show_bug.cgi?id=11509
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #17 from Alexandre Julliard julliard@winehq.org 2008-06-04 06:35:56 --- Patch is committed.
http://bugs.winehq.org/show_bug.cgi?id=11509
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org 2008-06-06 10:40:05 --- Closing bugs fixed in 1.0-rc4.
http://bugs.winehq.org/show_bug.cgi?id=11509
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified