https://bugs.winehq.org/show_bug.cgi?id=46501
Bug ID: 46501 Summary: GFWL: fails to verify cert file Product: Wine Version: 3.20 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: bcrypt Assignee: wine-bugs@winehq.org Reporter: lilyrivers48@gmail.com Distribution: ---
Created attachment 63349 --> https://bugs.winehq.org/attachment.cgi?id=63349 Backtrace of Universe at War Earth Assault GFWL startup
The bcrypt functions don't work for verifying the cert Wintrust fails to get information from the CAT file
https://bugs.winehq.org/show_bug.cgi?id=46501
lilyrivers48@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lilyrivers48@gmail.com
--- Comment #1 from lilyrivers48@gmail.com --- The bcrypt functions are supported by 4.20 but getting info from the CAT file still fails
https://bugs.winehq.org/show_bug.cgi?id=46501
--- Comment #2 from Hans Leidekker hans@meelstraat.net --- 0032:fixme:bcrypt:key_asymmetric_verify GnuTLS does not support algorithm 11 with hash len 48 0032:fixme:crypt:CNG_VerifySignature Failed to verify signature: c0000002
It's looking for GNUTLS_PK_ECDSA. Your GnuTLS libraries are probably too old.
https://bugs.winehq.org/show_bug.cgi?id=46501
--- Comment #3 from lilyrivers48@gmail.com --- (In reply to Hans Leidekker from comment #2)
0032:fixme:bcrypt:key_asymmetric_verify GnuTLS does not support algorithm 11 with hash len 48 0032:fixme:crypt:CNG_VerifySignature Failed to verify signature: c0000002
It's looking for GNUTLS_PK_ECDSA. Your GnuTLS libraries are probably too old.
It's literally the most up to date version in Ubuntu 18.04. GNUTLS_PK_ECDSA is "Elliptic curve algorithm. These parameters are compatible with the ECDSA and ECDH algorithm." (https://gnutls.org/reference/gnutls-gnutls.html) and was added in wine 4.0 (not 4.20 as I accidentally said in the comment above).
This issue should now relate to the wintrust problem: 0032:fixme:wintrust:CryptCATGetMemberInfo 0xb367518, L"Data\MegaFiles.xml"
https://bugs.winehq.org/show_bug.cgi?id=46501
lilyrivers48@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|bcrypt |wintrust
https://bugs.winehq.org/show_bug.cgi?id=46501
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Summary|GFWL: fails to verify cert |Multiple GFWL (Games For |file |Windows Live) games fail to | |verify cert file | |('wintrust.CryptCATGetMembe | |rInfo' is a stub)(Universe | |at War Earth Assault) CC| |focht@gmx.net
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
obviously still present. Confirming on behalf of OP.
Wine source:
https://source.winehq.org/git/wine.git/blob/00401d2278298d151b555fcdffb15bb2...
--- snip --- 596 CRYPTCATMEMBER * WINAPI CryptCATGetMemberInfo(HANDLE hCatalog, LPWSTR tag) 597 { 598 struct cryptcat *cc = hCatalog; 599 600 FIXME("%p, %s\n", hCatalog, debugstr_w(tag)); 601 602 if (!hCatalog || hCatalog == INVALID_HANDLE_VALUE || cc->magic != CRYPTCAT_MAGIC) 603 { 604 SetLastError(ERROR_INVALID_PARAMETER); 605 return NULL; 606 } 607 SetLastError(CRYPT_E_NOT_FOUND); 608 return NULL; 609 } --- snip ---
$ wine --version wine-6.0
Regards
https://bugs.winehq.org/show_bug.cgi?id=46501
--- Comment #5 from Anastasius Focht focht@gmx.net --- *** Bug 46637 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=46501
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Summary|Multiple GFWL (Games For |Multiple Games For Windows |Windows Live) games fail to |Live (GFWL) 3.5 games fail |verify cert file |to verify cert file |('wintrust.CryptCATGetMembe |('wintrust.CryptCATGetMembe |rInfo' is a stub)(Universe |rInfo' is a stub)(Universe |at War Earth Assault) |at War Earth Assault) URL| |https://web.archive.org/web | |/20120707022155/http://down | |load.gfwl.xboxlive.com/cont | |ent/gfwl-public/redists/pro | |duction/gfwlivesetup.exe
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, adding stable download links via Internet Archive:
https://web.archive.org/web/20120707022155/http://download.gfwl.xboxlive.com...
https://web.archive.org/web/20130725214700/http://download.gfwl.xboxlive.com...
https://web.archive.org/web/20130821102255/http://download.gfwl.xboxlive.com...
Wine source (HEAD):
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/wintrust/crypt.c#l596
$ sha1sum *.msi b5967b1ed926e1c603eb30eab9625259c2120272 gfwlclient.msi fc04d5c4956fbf2136bdd4f2ab154efbf5f6eca9 xliveredist.msi
$ du -sh *.msi 3.3M gfwlclient.msi 21M xliveredist.msi
$ wine --version wine-6.1-70-g433b9081ba7
Regards
https://bugs.winehq.org/show_bug.cgi?id=46501
--- Comment #7 from lilyrivers48@gmail.com --- Created attachment 69405 --> https://bugs.winehq.org/attachment.cgi?id=69405 Relevant part of the log for launching uawea in wine 6.0
https://bugs.winehq.org/show_bug.cgi?id=46501
soredake gi85qht0z@relay.firefox.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gi85qht0z@relay.firefox.com
https://bugs.winehq.org/show_bug.cgi?id=46501
--- Comment #8 from lilyrivers48@gmail.com --- Created attachment 69410 --> https://bugs.winehq.org/attachment.cgi?id=69410 Implementing some of the missing function for CryptCATGetMemberInfo
I'm not sure if this is correct but it gets further than before
https://bugs.winehq.org/show_bug.cgi?id=46501
lilyrivers48@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #63349|0 |1 is obsolete| | Attachment #69405|0 |1 is obsolete| |
--- Comment #9 from lilyrivers48@gmail.com --- Created attachment 69411 --> https://bugs.winehq.org/attachment.cgi?id=69411 Errors after applying patch 0001
The errors after applying the patch are no longer in wintrust bcrypt:key_asymmetric_create no encryption support is probably the relevant issue here now. Should there be a new bug for this?
https://bugs.winehq.org/show_bug.cgi?id=46501
--- Comment #10 from Hans Leidekker hans@meelstraat.net --- (In reply to lilyrivers48 from comment #9)
Created attachment 69411 [details] Errors after applying patch 0001
The errors after applying the patch are no longer in wintrust bcrypt:key_asymmetric_create no encryption support is probably the relevant issue here now. Should there be a new bug for this?
No, it means Wine was built without GnuTLS support. Make sure you have 64-bit and 32-bit development libraries installed.
https://bugs.winehq.org/show_bug.cgi?id=46501
--- Comment #11 from lilyrivers48@gmail.com --- I've made the event that gets logged by gfwl get printed as a fixme.
012c:fixme:advapi:ReportEventW L"UAWEA.exe" 012c:fixme:advapi:ReportEventW L"0.0 (97896)" 012c:fixme:advapi:ReportEventW L"3.0.0019.0 (WGX_XLIVE_V3.00_RTM.090807-1927) C:\windows\system32\xlive.dll" 012c:fixme:advapi:ReportEventW L"\n0x80040154\n\nGames for Windows - LIVE DLL\nC:\windows\system32\msidcrl40.dll 5.000.737.6"
Though, I can't confirm this is fixed until the login assistant can launch properly. See: https://bugs.winehq.org/show_bug.cgi?id=50684
https://bugs.winehq.org/show_bug.cgi?id=46501
soredake broaden_acid002@simplelogin.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|broaden_acid002@simplelogin | |.com |