Closed luckydonald closed 2 years ago
Am trying to get the auth codes from my iPhone in there (and what I found looks promising) as I don't really wanna log out there, but have no clue what format that secrets
dict needs to be.
It should be a dictionary with optionally shared_secret (for logging in) and identity_secret (less likely to be useful as it's for generating trading confirmation codes) keys which values should be base 64 strings.
So it needs the shared_secret
? How does that look like?
I have 40
chars of 0
-9
, A
-F
and a steamID64 (76561198044975919
) as far as I can see, hoping that's enough.
I figured from the android code it's at least
{
"some_steam_id": {"steamid": "some_steam_id"},
...
}
But I don't know the format of that steam id (or it's type, if it's string)
Currently either it's a dead end or the format is wrong.
Format is what Steam returns, you only need this:
{
"account_name": "accountname",
"shared_secret": "base64 secret",
"status": 1,
"token_gid": "token gid",
}
Or you can simply use steamctl authenticator add --from-secret <BASE64 SHARED SECRET> <accountname>
Closed? Is this documented in the docs now?
I dont think so? https://steam.readthedocs.io/en/stable/api/steam.guard.html
So it's still undocumented, I don't think that's good.
So the docs about steam authenticator/guard are about a
sa.secrets
ormysecrets.json
file. But it is missing a example of actual (fake) values.