http://bugs.winehq.org/show_bug.cgi?id=9536
Summary: Stylus Studio 2007 doesn't accept license key Product: Wine Version: CVS/GIT Platform: Other OS/Version: other Status: NEW Keywords: download Severity: enhancement Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Created an attachment (id=7905) --> (http://bugs.winehq.org/attachment.cgi?id=7905) +crypt,+text,+relay log of trying to enter the trial key
http://www.stylusstudio.com/ssdn/default.asp?boardid=1&action=9&read... mentioned that users wanted to run Stylus Studio but couldn't because of crypt problems.
I verified this using current git and the latest version of Stylus trial.
The app installed fine, but as described in that post, it did not accept the emailed trial key, and bombed out instead of letting you try the app. I'll attach the best part of WINEDEBUG=+relay,+crypt,+text wine .wine/drive_c/Program\ Files/Stylus\ Studio\ 2007\ XML\ Enterprise\ Suite\ Release\ 2/bin/Struzzo.exe
http://bugs.winehq.org/show_bug.cgi?id=9536
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2007-08-31 15:57:54 --- This appears to be the problem: 000c:Call advapi32.CryptSetKeyParam(001b9250,00000013,0033e9c4,00000000) ret=6800bd13 trace:crypt:CryptSetKeyParam (0x1b9250, 19, 0x33e9c4, 00000000) 000c:Call rsaenh.CPSetKeyParam(00000001,00000003,00000013,0033e9c4,00000000) ret=7e2cf240 trace:crypt:RSAENH_CPSetKeyParam (hProv=00000001, hKey=00000003, dwParam=00000013, pbData=0x33e9c4, dwFlags=00000000) 000c:Ret rsaenh.CPSetKeyParam() retval=00000000 ret=7e2cf240 000c:Ret advapi32.CryptSetKeyParam() retval=00000000 ret=6800bd13
CryptSetKeyParam is being called with KP_EFFECTIVE_KEYLEN, and it's returning FALSE, as rsaenh doesn't support that.
http://bugs.winehq.org/show_bug.cgi?id=9536
--- Comment #2 from Juan Lang juan_lang@yahoo.com 2007-08-31 19:07:06 --- Created an attachment (id=7910) --> (http://bugs.winehq.org/attachment.cgi?id=7910) Effective key length patch
This addresses the rsaenh issue, but the app still complains. I have a test case that shows that the output of the RC2 cipher after encryption matches MS's, so I'm not sure what the problem is now.
http://bugs.winehq.org/show_bug.cgi?id=9536
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |juan_lang@yahoo.com URL| |http://www.stylusstudio.com/ | |xml_download.html
http://bugs.winehq.org/show_bug.cgi?id=9536
--- Comment #3 from Juan Lang juan_lang@yahoo.com 2007-09-07 13:29:38 --- Created an attachment (id=7986) --> (http://bugs.winehq.org/attachment.cgi?id=7986) Test program
The bug is in RSAENH_CPDecrypt. The output length is totally wrong, as is the output. On Windows, running this program produces: len is 7 (0000007)
On Wine, the program produces: len is 4294967214 (ffffffae)
http://bugs.winehq.org/show_bug.cgi?id=9536
--- Comment #4 from Juan Lang juan_lang@yahoo.com 2007-09-07 13:31:59 --- I should say, this is the output after applying my effective key length patch.
http://bugs.winehq.org/show_bug.cgi?id=9536
--- Comment #5 from Juan Lang juan_lang@yahoo.com 2007-09-10 17:10:04 --- Patches sent: http://www.winehq.org/pipermail/wine-patches/2007-September/043650.html http://www.winehq.org/pipermail/wine-patches/2007-September/043651.html http://www.winehq.org/pipermail/wine-patches/2007-September/043652.html
Unfortunately it crashes immediately after getting past the license dialog, but that's another bug.
http://bugs.winehq.org/show_bug.cgi?id=9536
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #7910 is|0 |1 obsolete| |
--- Comment #6 from Juan Lang juan_lang@yahoo.com 2007-09-10 17:10:33 --- (From update of attachment 7910) Obsoleted by patch sent to wine-patches
http://bugs.winehq.org/show_bug.cgi?id=9536
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #7 from Juan Lang juan_lang@yahoo.com 2007-09-11 11:43:09 --- This is fixed in today's git.
http://bugs.winehq.org/show_bug.cgi?id=9536
--- Comment #8 from Dan Kegel dank@kegel.com 2007-09-11 18:56:45 --- Can you file the next bug, and add a comment here giving the bug number? (I know it's a bit of a waste of a crypto expert's time, but you already have the bug in your mental cache, and it does keep the ball rolling.)
http://bugs.winehq.org/show_bug.cgi?id=9536
--- Comment #9 from Juan Lang juan_lang@yahoo.com 2007-09-12 13:14:27 --- It's logged as bug 9643.
http://bugs.winehq.org/show_bug.cgi?id=9536
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Dan Kegel dank@kegel.com 2008-01-28 05:24:35 --- Closing all RESOLVED FIXED bugs more than three months old.
http://bugs.winehq.org/show_bug.cgi?id=9536
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified