Command-line TOTP Tool
This tool enable you to manage your TOTP (such as google authenticator) in command-line.
gotp is a command-line tool that enable you to manage your TOTP keys simply and enable you select one time password in command line
under construncting...
You can add your secret to your config file just running the command gotp add
$ ./gotp add
Initializing your config og gotp
Input key name: <Name>
Name
Input secret key: <Your Secret Key>
Your Secret Key
the config file is created in $HOME/.gotp/config.yml
as multi-document yaml file.
you can also manage your key by editing that config file.
You can get one-time password just running the command gotp
$ gotp
GOTP
Use the arrow keys to navigate: ↓ ↑ → ←
? Select Key:
▸ google
docbase
...
✔ google
346068
and then, the one-time password is saved in your clipboard, so you can just paste it to use.