https://bugs.winehq.org/show_bug.cgi?id=40692
Bug ID: 40692 Summary: Rocket League needs AES encryption/ decryption implemented in bcrypt.dll Product: Wine Version: 1.9.10 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: bcrypt Assignee: wine-bugs@winehq.org Reporter: maxime@mmorel.eu Distribution: ---
A recent update of the game in Steam broke wine support. The game requires AES encryption features from bcrypt.dll to play online. These API must be implemented with AES algorithm : BCryptOpenAlgorithmProvider BCryptGenerateSymmetricKey BCryptEncrypt BCryptDecrypt BCryptDestroyKey BCryptCloseAlgorithmProvider
With stub implementation of these, the game is running and can be played in solo.
https://bugs.winehq.org/show_bug.cgi?id=40692
Maxime maxime@mmorel.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux
https://bugs.winehq.org/show_bug.cgi?id=40692
Captain Crutches captaincrutches@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |captaincrutches@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=40692
bean papabean@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |papabean@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=40692
earquilla@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |earquilla@gmail.com
--- Comment #1 from earquilla@gmail.com --- Posting so that I can receive updates and also to ask, can anybody give a realistic timeline as to when this can be fixed? I'm not trying to sound greedy demanding people work on issues that benefit me for free, I'm just moreso curious as to when I can play this game online again :/
Is this possibly a quick fix that I can see in a gentoo repository within a month? Or is it more likely that rocket league gets an actual linux release first (not holding my breath)
Thanks to everybody that contributes to this project
https://bugs.winehq.org/show_bug.cgi?id=40692
--- Comment #2 from Hans Leidekker hans@meelstraat.net --- Created attachment 54571 --> https://bugs.winehq.org/attachment.cgi?id=54571 bcrypt WIP
This version adds support for BCRYPT_BLOCK_PADDING in BCryptEncrypt. Please attach a +bcrypt trace with this patch applied.
https://bugs.winehq.org/show_bug.cgi?id=40692
Søren syrelyre@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |syrelyre@gmail.com
--- Comment #3 from Søren syrelyre@gmail.com --- (In reply to Hans Leidekker from comment #2)
Created attachment 54571 [details] bcrypt WIP
This version adds support for BCRYPT_BLOCK_PADDING in BCryptEncrypt. Please attach a +bcrypt trace with this patch applied.
Seems to fix the issue, im now able to join an online game and play
https://bugs.winehq.org/show_bug.cgi?id=40692
Pat Steele steele.pat@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |steele.pat@gmail.com
--- Comment #4 from Pat Steele steele.pat@gmail.com --- Rocket League functions for me with this patch applied, including on-line play.
https://bugs.winehq.org/show_bug.cgi?id=40692
galeanthrope@singularity.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |galeanthrope@singularity.fr
--- Comment #5 from galeanthrope@singularity.fr --- Created attachment 54573 --> https://bugs.winehq.org/attachment.cgi?id=54573 Log using +bcrypt with the patch
The patch applied on Wine Staging 1.9.10 allow to launch the game and play competitive games (I've played a 1vs1 without issues). I've launch Steam with WINEDEBUG=+bcrypt and use the procedure described here : https://www.winehq.org/docs/winedev-guide/dbg-control to produce the log attached.
I have some questions : - Can the game or the server detect that it is not a real full bcrypt implementation? - Since players using WINE will all share the same key (MAGIC_KEY) can that cause issues?
https://bugs.winehq.org/show_bug.cgi?id=40692
--- Comment #6 from galeanthrope@singularity.fr --- Just reinstalled Wine Staging 1.9.10 without the patch and it still works. I don't get it, maybe the AES encryption has been removed there has been an update recently : https://steamdb.info/app/252950/history/?changeid=1990460
https://bugs.winehq.org/show_bug.cgi?id=40692
--- Comment #7 from Søren syrelyre@gmail.com --- (In reply to galeanthrope from comment #6)
Just reinstalled Wine Staging 1.9.10 without the patch and it still works. I don't get it, maybe the AES encryption has been removed there has been an update recently : https://steamdb.info/app/252950/history/?changeid=1990460
Yes! it actually seems to work regardless now
https://bugs.winehq.org/show_bug.cgi?id=40692
canndrew shum@canndrew.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shum@canndrew.org
--- Comment #8 from canndrew shum@canndrew.org --- I just tried with Wine 1.9.9 (patched) on Gentoo and I can't connect to the Rocket League servers. Any ideas?
https://bugs.winehq.org/show_bug.cgi?id=40692
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #9 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to galeanthrope from comment #5)
I have some questions :
- Can the game or the server detect that it is not a real full bcrypt
implementation?
That would not make sense unless they are really trying hard to get wine users out of the game.
- Since players using WINE will all share the same key (MAGIC_KEY) can that
cause issues?
The MAGIC_KEY constant isn't the encryption key, it is just a constant that helps the code to determine if the struct passed to the functions is really a key struct.
https://bugs.winehq.org/show_bug.cgi?id=40692
--- Comment #10 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to canndrew from comment #8)
I just tried with Wine 1.9.9 (patched) on Gentoo and I can't connect to the Rocket League servers. Any ideas?
Please attach a +bcrypt log, see https://wiki.winehq.org/FAQ#General
https://bugs.winehq.org/show_bug.cgi?id=40692
tim.inman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tim.inman@gmail.com
--- Comment #11 from tim.inman@gmail.com --- After an update this morning, I can confirm that my un-patched wine is working for rocket league once again. :)
https://bugs.winehq.org/show_bug.cgi?id=40692
--- Comment #12 from galeanthrope@singularity.fr --- (In reply to canndrew from comment #8)
I just tried with Wine 1.9.9 (patched) on Gentoo and I can't connect to the Rocket League servers. Any ideas?
There is a bug in this version that has been fixed in Wine Staging 1.9.10 (http://www.wine-staging.com/news/2016-05-18-release-1.9.10.html). I think the bug appeared in 1.9.8, so use either 1.9.7 or Wine Staging 1.9.10.
https://bugs.winehq.org/show_bug.cgi?id=40692
tblodt@icloud.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tblodt@icloud.com
https://bugs.winehq.org/show_bug.cgi?id=40692
--- Comment #13 from Captain Crutches captaincrutches@gmail.com --- Created attachment 54624 --> https://bugs.winehq.org/attachment.cgi?id=54624 Starting Steam and then RL on 1.9.11-staging with patch
I don't see it working on 1.9.11-staging, with or without the patch. Here's a +bcrypt log of an attempt with the patch applied.
https://bugs.winehq.org/show_bug.cgi?id=40692
--- Comment #14 from Captain Crutches captaincrutches@gmail.com --- Well, I tried it in a fresh wineprefix and it seems to work unpatched. Never mind then!
https://bugs.winehq.org/show_bug.cgi?id=40692
--- Comment #15 from Bruno Jesus 00cpxxx@gmail.com --- Can the game still be played without any bcrypt patches? If yes lets resolve it as abandoned since it is no longer possible to reproduce, we have other bcrypt bugs that still represent wine deficiencies.
https://bugs.winehq.org/show_bug.cgi?id=40692
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #16 from fjfrackiewicz@gmail.com --- (In reply to Bruno Jesus from comment #15)
Can the game still be played without any bcrypt patches? If yes lets resolve it as abandoned since it is no longer possible to reproduce, we have other bcrypt bugs that still represent wine deficiencies.
Well... the game does have a native Linux version now, not sure if that helps.
https://bugs.winehq.org/show_bug.cgi?id=40692
--- Comment #17 from fjfrackiewicz@gmail.com --- Does this commit fix the issue?
https://source.winehq.org/git/wine.git/commit/b677b58b608212c21fd1f6d2be8b77...
https://bugs.winehq.org/show_bug.cgi?id=40692
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #18 from Hans Leidekker hans@meelstraat.net --- Support for AES encryption is in Wine now, assuming this is fixed.
https://bugs.winehq.org/show_bug.cgi?id=40692
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.0-rc2.