https://bugs.winehq.org/show_bug.cgi?id=51501
Bug ID: 51501 Summary: FFXIV Launcher certificate warning popup with wine 6.13 Product: Wine Version: 6.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: crypt32 Assignee: wine-bugs@winehq.org Reporter: spoon0042@hotmail.com Regression SHA1: 5edf65616a8dcbf5988bbabe0493827d9e125fc3 Distribution: Debian
Starting the Final Fantasy XIV (old) launcher in wine 6.13 gets a repeated certificate warning popup, contents:
----------
There is a problem with the certificate for this site.
The certificate is issued by an unknown or untrusted publisher.
Do you want to continue anyway?
[ Yes ] [ No ]
----------
Regression test yields:
(I somehow lost the first few lines, including '5edf65616a8dcbf5988bbabe0493827d9e125fc3 is the first bad commit' or whatever.)
Author: Aaron Hill aa1ronham@gmail.com Date: Mon Jul 12 11:40:50 2021 +0200
crypt32: Implement CNG_RSA_PUBLIC_KEY_BLOB encoding/decoding.
Add support for the OID CNG_RSA_PUBLIC_KEY_BLOB to CryptEncodeObjectEx and CryptDecodeObjectEx. This OID decodes to / encodes from memory consisting of a BCRYPT_RSAKEY_BLOB, followed in memory by the exponent and modulus in big-endian format.
Signed-off-by: Aaron Hill aa1ronham@gmail.com Signed-off-by: Hans Leidekker hans@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
:040000 040000 ca0067fa6eb02f019557d061de176db7638f664c c551ac1f3955a02a91e377e31e174a07e75b1543 M dlls :040000 040000 43561d3690001613b86e70f008141abb1fb7adad 5bf063fecf767ab3b99da40474d1ac37836f8cd8 M include
https://bugs.winehq.org/show_bug.cgi?id=51501
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=51501
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aa1ronham@gmail.com Summary|FFXIV Launcher certificate |FFXIV Launcher shows |warning popup with wine |repeated certificate |6.13 |warning popup
--- Comment #1 from Gijs Vermeulen gijsvrm@gmail.com --- Rewording title a little, CC'ing patch author.
https://bugs.winehq.org/show_bug.cgi?id=51501
--- Comment #2 from Aaron aa1ronham@gmail.com --- Is it impossible to get past the popup, or does the launcher continue aftr pressing 'Yes'?
https://bugs.winehq.org/show_bug.cgi?id=51501
tennavan@elvenstar.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tennavan@elvenstar.org
--- Comment #3 from tennavan@elvenstar.org --- I have been able to reproduce this issue under WINE 6.13 and Arch Linux. Clicking "YES" on the certificate warning boxes and using the enter key to submit the login information (the login button crashes the patcher) allows you to log into the game.
In addition: The self-update function of XIVLauncher may also be impacted by this issue. I get error code 0x80090302 from System.Net.TlsStream.EndWrite when the self-update portion of XIVLauncher attempts to run.
Both of the issues listed above go away when launched with WINE 6.12.
https://bugs.winehq.org/show_bug.cgi?id=51501
--- Comment #4 from Tennavan tennavan@elvenstar.org --- Created attachment 70344 --> https://bugs.winehq.org/attachment.cgi?id=70344 XIVLauncher TLS Error Log File
https://bugs.winehq.org/show_bug.cgi?id=51501
--- Comment #5 from Aaron aa1ronham@gmail.com --- Can you attach the logs from Wine itself?
https://bugs.winehq.org/show_bug.cgi?id=51501
--- Comment #6 from Michael McGuire spoon0042@hotmail.com --- Created attachment 70348 --> https://bugs.winehq.org/attachment.cgi?id=70348 6.13 log
should have done that before, huh. sorry. doesn't look like much though.
https://bugs.winehq.org/show_bug.cgi?id=51501
A Wine user awineuser@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |awineuser@mail.com
--- Comment #7 from A Wine user awineuser@mail.com --- FWIW, I get similar warnings when running 'wine iexplore.exe' in a new prefix (i.e. while loading the WineHQ home page). Reverting 5edf65616a8dcbf5988bbabe0493827d9e125fc3 made the warnings go away.
https://bugs.winehq.org/show_bug.cgi?id=51501
--- Comment #8 from Tennavan tennavan@elvenstar.org --- Created attachment 70354 --> https://bugs.winehq.org/attachment.cgi?id=70354 Wine Debug Log Of ffxivboot64.exe (Options: all-relay)
Test run of ffxiboot64.exe with WINEDEBUG options "all-relay" enabled. In this test case, all of the initial certificate warnings from the bug were dismissed and the application was closed normally after reaching the login screen.
https://bugs.winehq.org/show_bug.cgi?id=51501
--- Comment #9 from Aaron aa1ronham@gmail.com --- I accidentally removed a 'break;' statement in that commit.
I've posted a new patch to add it back: https://www.winehq.org/pipermail/wine-devel/2021-July/191273.html
I've verified that this fixes the popup in 'iexplore.exe'
https://bugs.winehq.org/show_bug.cgi?id=51501
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #10 from Louis Lenders xerox.xerox2000x@gmail.com --- *** Bug 51514 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=51501
--- Comment #11 from Michael McGuire spoon0042@hotmail.com --- Patch confirmed working for FFXIV, thanks!
https://bugs.winehq.org/show_bug.cgi?id=51501
Michael McGuire spoon0042@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |0342de8e4d8a646d2b858cccdbf | |95bf68c6b32b0 Resolution|--- |FIXED
--- Comment #12 from Michael McGuire spoon0042@hotmail.com --- Fixed in 6.14.
https://bugs.winehq.org/show_bug.cgi?id=51501
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.15.