$ curl -sf https://gobinaries.com/geekdada/steam-otp | sh
Get the shared_secret
first, using SteamDesktopAuthenticator.
Once you have the code, store it in your vault (1Password or similar thing).
Run the command and input the shared_secret
.
$ steam-otp
Or, using --secret
to pass the secret (NOT SAFE).
$ steam-otp --secret [SHARED SECRET]
Notice
- Your shared secret will never be stored by
zsh_history
orbash_history
. - You should never save the shared secret in plain text.
- This method may violate the TOS of Steam, use at your discretion.