Simple bash script, a utility to retrieve stored keys for multifactor authentication totp codes. Works much like google authenticator, tested with gmail, amazon aws, github, akamai luna, bitbucket. Should work with most services that use totp, time base code generation.
secret-tool, oathtool
secret-tool and oathtool are available under homebrew
- brew install oath-toolkit
- brew install libsecret (one issue run into is unwritable /usr/local so possible solutions suggested here Homebrew/legacy-homebrew#3930)
TODO:
- test on Mac OsX - homebrew install and keychain functionality.
- add zsh or oh-my-zsh autocomplete functions for manage keys
- use better getopts in shell scripts.
- add Mac OsX vs linux detection for porting functionality