JustArchiNET / ArchiSteamFarm

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

Password input field not working correctly #3091

Closed mchack23 closed 8 months ago

mchack23 commented 8 months ago

Checklist

ASF version

Latest stable release

ASF variant

linux-x64

Bug description

Tl;Dr: Password Input in ASF stops waiting for input as soon as _ is typed in, as if you had pressed enter.

ASF asked for my password today and I couldn't enter it because it stops the input as soon as an "" underscore is typed in and exits with password incorrect. I then reinstalled a fresh ASF with fresh config from the configurator to see if that is just my messed up old install but same behaviour as soon as "" is typed or "ö" "ä" "ü" for that matter it stops the password input and carries on trying to login. I also tried out the macos version of ASF to check if it's only a linux problem. Same behaviour. Fresh Install, Fresh Config, Password Input stops as soon as an underscore is typed

Expected behavior

Wait for the Enter key before processing my Input. Just because a Character is not alphanumeric doesn't mean it's not part of the password.

Actual behavior

Cannot enter my password.

Steps to reproduce

Install latest stable release of ASF. Create Boilerplate Config without password Try and enter underscore as part of your password

Possible reason/solution

Some change in the password input routine, since it was always working before. Been using ASF for years and entered the same password without problems. Can't say when it last worked. I use ASF about once a Month and every 3 Month or so I need to reauthenticate.

Can you help us with this bug report?

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

Full log.txt recorded during reproducing the problem

2023-12-06 12:02:35|ArchiSteamFarm-6664|INFO|ASF|InitCore() ArchiSteamFarm V5.4.13.4 (linux-x64/3e2dbd0e-e452-4f79-a720-105bf6d28363 | .NET 7.0.13; arch-x64; Linux 6.5.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 23 Sep 2023 22:55:13 +0000)
2023-12-06 12:02:35|ArchiSteamFarm-6664|INFO|ASF|InitCore() Copyright © 2015-2023 JustArchiNET
2023-12-06 12:02:35|ArchiSteamFarm-6664|INFO|ASF|InitGlobalDatabaseAndServices() It looks like it's your first launch of the program, welcome!
2023-12-06 12:02:45|ArchiSteamFarm-6664|WARN|ASF|InitGlobalDatabaseAndServices() Please review our privacy policy section on the wiki if you're concerned about what ASF is in fact doing!
2023-12-06 12:02:50|ArchiSteamFarm-6664|INFO|ASF|InitPlugins() Initializing Plugins...
2023-12-06 12:02:50|ArchiSteamFarm-6664|INFO|ASF|InitPlugins() Loading SteamTokenDumperPlugin V5.4.13.4...
2023-12-06 12:02:50|ArchiSteamFarm-6664|INFO|ASF|InitPlugins() SteamTokenDumperPlugin has been loaded successfully!
2023-12-06 12:02:50|ArchiSteamFarm-6664|INFO|ASF|InitPlugins() Loading MobileAuthenticatorPlugin V5.4.13.4...
2023-12-06 12:02:50|ArchiSteamFarm-6664|INFO|ASF|InitPlugins() MobileAuthenticatorPlugin has been loaded successfully!
2023-12-06 12:02:50|ArchiSteamFarm-6664|INFO|ASF|InitPlugins() Loading ItemsMatcherPlugin V5.4.13.4...
2023-12-06 12:02:50|ArchiSteamFarm-6664|INFO|ASF|InitPlugins() ItemsMatcherPlugin has been loaded successfully!
2023-12-06 12:02:50|ArchiSteamFarm-6664|INFO|ASF|UpdateAndRestart() ASF will automatically check for new versions every 1 day.
2023-12-06 12:02:50|ArchiSteamFarm-6664|INFO|ASF|Update() Checking for new version...
2023-12-06 12:02:51|ArchiSteamFarm-6664|INFO|ASF|Update() Local version: 5.4.13.4 | Remote version: 5.4.13.4
2023-12-06 12:02:51|ArchiSteamFarm-6664|INFO|ASF|OnASFInit() SteamTokenDumperPlugin is currently disabled according to your configuration. If you'd like to help SteamDB in data submission, please check out our wiki.
2023-12-06 12:02:51|ArchiSteamFarm-6664|INFO|ASF|StartInteractiveConsole() Interactive console is now active, type 'c' in order to enter command mode.
2023-12-06 12:02:51|ArchiSteamFarm-6664|INFO|ASF|Start() Starting IPC server...
2023-12-06 12:02:52|ArchiSteamFarm-6664|INFO|Microsoft.Hosting.Lifetime|Now listening on: http://localhost:1242
2023-12-06 12:02:52|ArchiSteamFarm-6664|INFO|Microsoft.Hosting.Lifetime|Application started. Press Ctrl+C to shut down.
2023-12-06 12:02:52|ArchiSteamFarm-6664|INFO|Microsoft.Hosting.Lifetime|Hosting environment: Production
2023-12-06 12:02:52|ArchiSteamFarm-6664|INFO|Microsoft.Hosting.Lifetime|Content root path: /home/username/asf5
2023-12-06 12:02:52|ArchiSteamFarm-6664|INFO|ASF|Start() IPC server ready!
2023-12-06 12:02:52|ArchiSteamFarm-6664|INFO|ASF|RegisterBots() Initializing SteamDirectory...
2023-12-06 12:02:52|ArchiSteamFarm-6664|INFO|ASF|RegisterBots() Success!
2023-12-06 12:02:52|ArchiSteamFarm-6664|WARN|ASF|RegisterBot() config/username.json config file will be migrated to the latest syntax...
2023-12-06 12:02:52|ArchiSteamFarm-6664|INFO|ASF|RegisterBot() Done!
2023-12-06 12:02:52|ArchiSteamFarm-6664|INFO|username|Start() Starting...
2023-12-06 12:02:52|ArchiSteamFarm-6664|INFO|username|Connect() Connecting...
2023-12-06 12:02:53|ArchiSteamFarm-6664|INFO|username|OnConnected() Connected to Steam!
2023-12-06 12:02:59|ArchiSteamFarm-6664|INFO|username|OnConnected() Logging in...
2023-12-06 12:03:00|ArchiSteamFarm-6664|WARN|username|OnConnected() SteamKit2.Authentication.AuthenticationException: Authentication failed with result InvalidPassword.
   at SteamKit2.Authentication.SteamAuthentication.BeginAuthSessionViaCredentialsAsync(AuthSessionDetails details)
   at ArchiSteamFarm.Steam.Bot.OnConnected(ConnectedCallback callback)
2023-12-06 12:03:00|ArchiSteamFarm-6664|INFO|username|OnDisconnected() Disconnected from Steam!
2023-12-06 12:03:00|ArchiSteamFarm-6664|WARN|username|HandleLoginResult() Unable to login to Steam: InvalidPassword/InvalidPassword
2023-12-06 12:03:01|ArchiSteamFarm-6664|ERROR|ASF|Exit() Exiting with nonzero error code!
2023-12-06 12:03:01|ArchiSteamFarm-6664|INFO|Microsoft.Hosting.Lifetime|Application is shutting down...
2023-12-06 12:03:01|ArchiSteamFarm-6664|ERROR|ASF|Exit() Exiting with nonzero error code!

Global ASF.json config file

{}

BotName.json config of all affected bot instances

{
  "SteamLogin": "username",
  "Enabled": true,
  "ShutdownOnFarmingFinished": true
}

Additional info

No response

nolddor commented 8 months ago

This was already fixed in latest pre-release, in particular starting from ASF V5.5.0.1.

Dupe of https://github.com/JustArchiNET/ArchiSteamFarm/issues/3075#issuecomment-1817710875

If you can't wait, I recommend upgrade to latest pre-release which is a stable release candidate at this stage. Otherwise, the next stable should be available in a month or so.