A simple CLI to get your TOTP, a cli replacement for Google Authenticator
- Download perferred version for your OS
- Move it to path eg
/usr/local/binand rename it tototp - Add a file name
.totpat your home directory - Add content in format
<PROVIDER>=<2FA Secret Key> - You can add as many as you want
<PROVIDER_1>=<2FA Secret Key>
<PROVIDER_2>=<2FA Secret Key>
- After adding run
totp - Output will like:
<PROVIDER_1>: <TOTP>
<PROVIDER_2>: <TOTP>
-
Get a single provider:
totp <PROVIDER_NAME> -
List added providers:
totp list