JustArchiNET / ArchiSteamFarm

C# application with primary purpose of farming Steam cards from multiple accounts simultaneously.
Apache License 2.0
11.24k stars 1.05k forks source link

QRCode login #2918

Open Outzzz opened 1 year ago

Outzzz commented 1 year ago

Checklist

Enhancement purpose

is it possible to implement qr code login?

Solution

*

Why currently available solutions are not sufficient?

*

Can you help us with this enhancement idea?

Somehow, I can test and offer feedback, but can't code

Additional info

No response

JustArchi commented 1 year ago

Yes, it's possible, as xPaw also finished implementation of QR codes in SK2, with example here: https://github.com/SteamRE/SteamKit/blob/master/Samples/1b.QrCodeAuthentication/Program.cs

Doing it right would involve a prompt like we have currently for device confirmation whether or not user wants to log in using QR code, then in loop printing new code on the console for whole duration, because it changes each 30 seconds or so. On top of that we need a way to expose QR code using IPC e.g. for ASF-ui so it can display the code and allow users to log in using headless modes. This would add yet another layer of complexity, as ASF needs to know whether or not QR code should be used, so proper implementation for that should be a way for ASF-ui to ask user whether he wants to confirm by phone, qr code, or use the code, and add logic in ASF to make use of it.

Crapload of work for doing it right and little gain for user convenience. It's not invalid issue, but it's hardly something I plan to work on since I have zero motivation for it where superior solutions like ASF 2FA exist, for everybody, even people without rooted phones. I'm putting it on no priority wishlist, if somebody wants to code it for me, be my guest, but expect rocky road.

GustavoSchip commented 10 months ago

+1