http://bugs.winehq.org/show_bug.cgi?id=29891
Bug #: 29891 Summary: Symantec VIP Access can not be activated Product: Wine Version: unspecified Platform: All OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P3 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: robert.munteanu@gmail.com Classification: Unclassified
After installing Symantec VIP Access the user is required to accept a license agreement and activate the program. The activation is unsuccesful and therefore the program can not be used.
http://bugs.winehq.org/show_bug.cgi?id=29891
--- Comment #1 from Robert Munteanu robert.munteanu@gmail.com 2012-02-14 06:04:46 CST --- Created attachment 38870 --> http://bugs.winehq.org/attachment.cgi?id=38870 console output
http://bugs.winehq.org/show_bug.cgi?id=29891
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Platform|All |Other Version|unspecified |1.4-rc3
http://bugs.winehq.org/show_bug.cgi?id=29891
Robert Munteanu robert.munteanu@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.symantec.com/pro | |ducts/trialware.jsp?pcid=pc | |at_info_risk_comp&pvid=vip_ | |1
--- Comment #2 from Robert Munteanu robert.munteanu@gmail.com 2012-02-14 06:31:19 CST --- Forgot to add the download URL ; To download, access Learn / Trialware / Symantec VIP Access for Desktop from the above URL.
http://bugs.winehq.org/show_bug.cgi?id=29891
--- Comment #3 from Austin English austinenglish@gmail.com 2012-02-14 12:42:28 CST --- Can you try running Protection ID on the program's files? Perhaps it knows what protection scheme it's using.
http://bugs.winehq.org/show_bug.cgi?id=29891
--- Comment #4 from Robert Munteanu robert.munteanu@gmail.com 2012-02-14 14:53:48 CST --- (In reply to comment #3)
Can you try running Protection ID on the program's files? Perhaps it knows what protection scheme it's using.
I'll do that when I get back to the office; however this is not about a protection scheme.
This program is freeware and simply generates OTP tokens . The activation AFAIK refers to generating its own unique profile for creating OTP tokens.
http://bugs.winehq.org/show_bug.cgi?id=29891
--- Comment #5 from Robert Munteanu robert.munteanu@gmail.com 2012-02-15 00:44:29 CST --- Created attachment 38882 --> http://bugs.winehq.org/attachment.cgi?id=38882 Protection ID ran on the complete program folder
PID did not find any copy protection schemes, the messages are either '[!] File appears to have no protection or is using an unknown protection' or '[-] File is a NON executable..(non MZ)'
http://bugs.winehq.org/show_bug.cgi?id=29891
Catalin Sanda catalin.sanda@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |catalin.sanda@gmail.com
--- Comment #6 from Catalin Sanda catalin.sanda@gmail.com 2012-03-10 17:51:37 CST --- I managed to make the registration process working. It fails because of a bug in the application which coupled with a bug in Windows makes the app run there but not on Wine. More precisely the app calls WinHttpAddRequestHeaders with a header ending in \n\r instead of the normal \r\n combination. Windows trims the sequence and creates a valid request, but Wine appends and additional \r\n to the header and sends an invalid request to which the server responds with a 400 Bad Request.
I'll attach the winhttp log and a quick and dirty win console app to test the behavior on Windows.
To make it work I patched the add_request_headers function in request.c to also accept the \n\r combination.
The bad news is that although the registration is now working and I got a valid Credential ID a security code is not generated. I tried to debug it but no luck so far. The app calls a SetWindowTextW with an empty string instead of the code. I tried following the string pointer to see where it is set but couldn't find anything of use. I ran out of ideas on how to further investigate this.
Any tips on how to proceed next are greatly appreciated.
http://bugs.winehq.org/show_bug.cgi?id=29891
--- Comment #7 from Catalin Sanda catalin.sanda@gmail.com 2012-03-10 17:53:30 CST --- Created attachment 39301 --> http://bugs.winehq.org/attachment.cgi?id=39301 winhttp log for the activation process
http://bugs.winehq.org/show_bug.cgi?id=29891
--- Comment #8 from Catalin Sanda catalin.sanda@gmail.com 2012-03-10 18:04:33 CST --- Created attachment 39302 --> http://bugs.winehq.org/attachment.cgi?id=39302 console app used to test the behaviour of WinHttpAddRequestHeaders
http://bugs.winehq.org/show_bug.cgi?id=29891
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #9 from Dan Kegel dank@kegel.com 2012-03-10 21:31:30 CST --- Just to confirm, does 'winetricks winhttp' also work around the bad headers problem?
http://bugs.winehq.org/show_bug.cgi?id=29891
--- Comment #10 from Catalin Sanda catalin.sanda@gmail.com 2012-03-11 12:18:17 CDT --- Thanks a lot for the idea Dan, I didn't know about winetricks before. Now, not only the registration works but also the core functionality of the app: tokens are generated every 30 seconds. Accessing the settings page crushes the app, but I can live without it.
So there seems to be another issue with the winhttp implementation in Wine, besides the headers. I'll try to investigate further and report back if I find anything.
http://bugs.winehq.org/show_bug.cgi?id=29891
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winhttp
--- Comment #11 from Dan Kegel dank@kegel.com 2012-03-11 13:15:39 CDT --- You're welcome.
Setting component to winhttp.
http://bugs.winehq.org/show_bug.cgi?id=29891
--- Comment #12 from Austin English austinenglish@gmail.com 2012-03-11 15:49:43 CDT --- Please file a new bug for the crash.
http://bugs.winehq.org/show_bug.cgi?id=29891
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |189c1ca5d99026963d1598270ce | |e8c39e1f1123a Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #13 from Hans Leidekker hans@meelstraat.net 2012-03-12 14:17:37 CDT --- Fixed.
http://bugs.winehq.org/show_bug.cgi?id=29891
--- Comment #14 from Alexandre Julliard julliard@winehq.org 2012-03-16 14:08:13 CDT --- Closing bugs fixed in 1.5.0.
http://bugs.winehq.org/show_bug.cgi?id=29891
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org 2012-03-16 17:10:53 CDT --- Really closing bugs fixed in 1.5.0.
http://bugs.winehq.org/show_bug.cgi?id=29891
--- Comment #16 from Robert Munteanu robert.munteanu@gmail.com 2012-03-19 07:54:41 CDT --- (In reply to comment #10)
Thanks a lot for the idea Dan, I didn't know about winetricks before. Now, not only the registration works but also the core functionality of the app: tokens are generated every 30 seconds. Accessing the settings page crushes the app, but I can live without it.
So there seems to be another issue with the winhttp implementation in Wine, besides the headers. I'll try to investigate further and report back if I find anything.
I've reported bug #30222 to follow up on this issue ; activation still does not work with 1.5.0 .
http://bugs.winehq.org/show_bug.cgi?id=29891
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.4.x
http://bugs.winehq.org/show_bug.cgi?id=29891
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.4.x |---