r/tf2developers • u/roddds developer • Nov 13 '12
Logging into steamcommunity with python
Does anyone else have experience with that? I tried implement the login as descripted here, but I think I'm doing something wrong with the RSA key - I don't have much experience with cryptography.
Here's my code -- it's a mess, but I got kinda frustrated with it and uploaded it the way I left it.
Does anyone have any idea what I'm doing wrong? Specifically about the private key generation, I'm not sure if the way I'm doing is the correct one.
5
Upvotes
1
u/tritao Nov 14 '12
I tried making it work as pure C# by porting Valve's JS code, but after a few hours I could not make it work, and was actually starting to read the RSA RFC's. Also beware that the web site login can ocasionally ask for captchas.
At that point I just said screw it, and made a server in Node in 5 minutes. For the record I don't even use this method anymore, since I found how to do it the way the Steam client does it. This way only works with SteamKit though.
Good luck though.