You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
German Lashevich 19834ac8db
👷 CI build only for nightly channel (AppVeyor)
6 years ago
ci 👷 Integrate japaric/trust template for CI 6 years ago
src Merge branch 'feature/database-encription' 6 years ago
.gitignore Initial version 6 years ago
.travis.yml 💚 CI build only for nightly channel 6 years ago
Cargo.lock 🚧 Just fix intermediate state 6 years ago
Cargo.toml 🚧 Just fix intermediate state 6 years ago
LICENSE Prepared for release + release 6 years ago
README.md 👷 Integrate japaric/trust template for CI 6 years ago
TODO 📝 Update TODO 6 years ago
appveyor.yml 👷 CI build only for nightly channel (AppVeyor) 6 years ago

README.md

🐴 RusTOTPony

Build Status Build status

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

  1. Clone this repo
  2. Run cargo install from the inside of the repo directory
  3. 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:

  1. Retrieve your secret key from TOTP provider (it must be base32 encoded)
  2. Add new generator with totp add GENNAME (you will be asked for your secret)
  3. Check new generator by totp list or just display dashboard with one-time passwords with totp dash

WARNING: Currently there is no encryption of the application database. Be careful with ~/.rustotpony/db.json and keep it safe.

TODO

  • command completion
  • database encryption
  • database password caching
  • tests
  • binaries for main platforms
  • refactor show and show-all commands

License

Licensed under the MIT License.