Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can not Login #15

Closed
trilias opened this issue Jun 3, 2023 · 22 comments
Closed

I can not Login #15

trilias opened this issue Jun 3, 2023 · 22 comments

Comments

@trilias
Copy link

trilias commented Jun 3, 2023

Ever since I changed my Steam account to a 128 character password Example :
!zgK6iuyghW*B9veXTTpHw3bj3!E$uGgXCUzmpftC6$s7PspN#sRR9W%oxFgdpC&c^&P!Eiyf!g$PyVkz$9DJERNcKvtni^SFZeeNY8h#%$KZ4zR8WDDPai2ppKX@VYK

I not longer can login on your and the Default steam plugin i get only this.

GalaxyClient_2023-06-03_11-42-27
Here my log file.
And i Edit the Log to remove my Steam Username from it in the line: steam_network.websocket_client - INFO - Retrieving RSA Public Key for username

plugin-steam-ca27391f-2675-49b1-92c0-896d43afa4f8.log

@ABaumher
Copy link
Owner

ABaumher commented Jun 3, 2023

And i Edit the Log to remove my Steam Username from it in the line: steam_network.websocket_client - INFO - Retrieving RSA Public Key for username

yeah, i need to remove that from the logger. It's a relic from when we had to get your username and password separately, so we had to worry about if you went back and changed the username after a failed login.

We don't log any password information for obvious reasons. The log shows you failing to log in with the user and password, but nothing beyond that. Unfortunately, Steam only really gives us a Pass/Fail, we can't check the username, for example.

Can you still log in to Steam?
The only thing i can think of is this is causing an error in how we encode your password. Either you have a character that isn't an ASCII character (which is allowed, but maybe our byte conversion breaks it), or we're using utf-8 encoding and steam uses something else. i'm not sure. I'll take a look and see what i can find.

@trilias
Copy link
Author

trilias commented Jun 3, 2023

Hello Yeah i can still login i try by hand login on Windows Client over web browser and on Android client all works fine

@trilias
Copy link
Author

trilias commented Jun 3, 2023

oki try steamcmd login that fail he say my password its wrong i think he can not handle the symbols in my password

@ABaumher
Copy link
Owner

ABaumher commented Jun 3, 2023

oki try steamcmd login that fail he say my password its wrong i think he can not handle the symbols in my password

That changes what i was about to comment. I think this is a password parsing issue
https://imgs.xkcd.com/comics/account_problems.png
Source: https://xkcd.com/2700/

It might be something with how we get the password from html or encode it before we encrypt and send it to Steam. I may be able to test some fixes, but i need some known failing passwords

@ABaumher
Copy link
Owner

ABaumher commented Jun 3, 2023

Can you give me a few passwords you have tried before but do not work? If that means you need to generate a new password for yourself, i apologize, but it's the only way i can really test it out. I don't need your username, i'm not trying to log you in, i'm trying to make sure the password matches whenever we need to convert it.

@trilias
Copy link
Author

trilias commented Jun 3, 2023

oki now i know whats going on symbols are not the problem the password its to long for the plugin and steamcmd if i use a 64 letter long one the login works fine

@trilias
Copy link
Author

trilias commented Jun 3, 2023

i test now not the exact limit who the plugin and steamcmd start to fail but i can say 128 letters long password not work 64 letters yes works

@trilias
Copy link
Author

trilias commented Jun 3, 2023

i try also a 128 long password without symbols only big letter small letter and number login fail

@ABaumher
Copy link
Owner

ABaumher commented Jun 3, 2023

huh. i wonder if our RSA key is not long enough. Steam provides us that so that's weird.

@trilias
Copy link
Author

trilias commented Jun 3, 2023

my new 64 long password looks like this @WaHcWq$h4Y%Khx##SBpHcpk3rd8zw^b^jhNMkvTiL&AE%P5dcSEPmN@S3AuYQPt
and it works fine you plugin connect to steam and read my games out also steamcmd login

@ABaumher
Copy link
Owner

ABaumher commented Jun 3, 2023

i might be able to fix it so it works with 128 character (or maybe even 256, idk) passwords. give me a few minutes.

@trilias
Copy link
Author

trilias commented Jun 3, 2023

the strange its that password problem come only on SteamCMD and the GoG galaxy plugin if you login over the website or the windows or Android client its works fine

@trilias
Copy link
Author

trilias commented Jun 3, 2023

for me that its done i change now 7 times my password it its pain in the ass to do all the steam guard stuff again and again and fix my phone app again so i stand on 64 letter long then i need many times steamcmd but i can not login with 128 soo i am done lol

@trilias
Copy link
Author

trilias commented Jun 3, 2023

2023-06-04_00-14-27
GalaxyClient_2023-06-04_00-15-27

@ABaumher
Copy link
Owner

ABaumher commented Jun 3, 2023

From what i can tell, steam's password character limit is 64 characters. When you login through the app or website, it just truncates it. We don't truncate it because we don't know to do that. I can't prove it because it's encrypted, and the key changes each time for security reasons.

@ABaumher
Copy link
Owner

ABaumher commented Jun 3, 2023

I think you were experiencing a quirk in how Steam does passwords. Steam support says the limit is 64 characters, which means their behavior beyond that is undocumented. I'm closing this for now because it's not something we can address. Maybe i could add in a comment if the password is too long saying Steam does funny things beyond 64 characters, but idk

@nakkamarra
Copy link

I'm experience a similar issue, in theory then if Steam is simply trimming the password at their max character value, I should be able to trim my password input to a length of 64 and successfully log into Steam? I can report on that

@nakkamarra
Copy link

It appears that I can log in on steam services if I trim my password to be 64 characters, so in theory this plugin could cut the input at 64. Otherwise, it's info that we can just document and have users work around.

@ABaumher
Copy link
Owner

ABaumher commented Jun 14, 2023 via email

@ABaumher ABaumher reopened this Jun 14, 2023
@nakkamarra
Copy link

Yep, with this fork installed and using just the first 64 characters I am able to authenticate properly.

@ABaumher
Copy link
Owner

ABaumher commented Jun 14, 2023 via email

@ABaumher
Copy link
Owner

fixed by 6e3591c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants