V
V
VKR2282021-01-18 00:40:54
Python
VKR228, 2021-01-18 00:40:54

How to get the Steam Guard code (Shared_secret available)?

How to get the Steam Guard code (Shared_secret available)?
I tried to use steam totp python, but something doesn’t work with it (I wrote it in 2016, on the 2nd python, I use the 3rd one)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mogitelka, 2021-01-18
@VKR228

I also searched for a long time, as a result it turned out with the steampy library.
Here is the code:
from steampy.guard import generate_one_time_code
def getcode(share):
shared_secret = share
one_time_authentication_code = generate_one_time_code(shared_secret)
return one_time_authentication_code
getcode('Shared_secret key')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question