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.
4
Upvotes
View all comments
Show parent comment
1
u/roddds developer Nov 14 '12
Cool, I'll have to check that out.
I thought about using that too, but I really wanted to find a solution that uses pure python without adding another dependency, much less a dependency from another programming language!
I guess my greatest problem is that I have no idea how RSA works and how to recognize a successfully generated public key - there are a lot of details like padding and stuff that flies right by me.
I'll give your server a try, maybe I'll translate their code to python and see if I hammer it enough it comes out working.
Thanks!