🐴 RusTOTPony
CLI manager of one-time password generators aka Google Authenticator. Actually, it's simple in-file database which stores TOTP secret keys without any encryption (will be added in the future).
Installation
From source
- Clone this repo
- Run
cargo installfrom the inside of the repo directory - Keep calm and wait for compilation
Probably, you need gcc (Linux) or clang (Mac OS) to compile dependencies.
Usage
USAGE:
totp [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
add Add a new generator
dash Show realtime dashboard with all generators
delete Delete generator
eradicate Delete all generators
help Prints this message or the help of the given subcommand(s)
list List all generators
rename Rename generator
Try `totp help [SUBCOMMAND]` to see help for the given subcommand
Steps:
- Retrieve your secret key from TOTP provider (it must be base32 encoded)
- Add new generator with
totp add GENNAME(you will be asked for your secret) - Check new generator by
totp listor just display dashboard with one-time passwords withtotp dash
TODO
- command completion
- database password caching
- tests
- binaries for main platforms
- refactor
showandshow-allcommands
License
Licensed under the MIT License.