A rofi plugin for Two-Factors Authentication / Time-Based Authentication Token / TOTP / Google Authenticator
From `0.2.0` we support ini format which is used by [alfred-workflow-gauth](https://github.com/moul/alfred-workflow-gauth)
but it is fully backward compatible with old `yaml` config.
sudo apt install rofi xdotool
ini config alfred-workflow-gauth
Create file named .gauth
in your home directory and add apps in the format
[google - bob@gmail.com]
secret=xxxxxxxxxxxxxxxxxx
[evernote - robert]
secret=yyyyyyyyyyyyyyyyyy
Create file named 2fa.yml
in ~/.config/rofi-totp
and add apps in the format
apps:
- label: Google
secret: NUYJ2UDBUNZIQGDE
- label: Amazon
secret: NUYJ2UDBUNZIQGDF
- label: Slack
secret: NUYJ2UDBUNZIQGDG
Download executable from releases and keep it in you $PATH
By default search will be case insensitive from version 0.3.1
. To toggle, case sensitivity use grave
key. Normally (`).
git clone https://github.com/revathskumar/rofi-totp
cd rofi-totp/
cargo install
RUST_BACKTRACE=1 cargo run
cargo build --release
Please see License