ova-0.1.6 has been yanked.
ova is a simple CLI tool which lets you manage your TOTPs, or basically lets you get your two-way authentication code straight to your clipboard.
- Project is in active development state, if something's not working the way it should work, you're more than welcome to open an issue.
Available commands
| Command | Options | Description |
|---|---|---|
| ova get | -n, --name <name of a key>, -c, --copy <true/false> |
Get 2FA code for specified key, copy to clipboard determined by -c flag |
| ova add | -n, --name <name of a key>, -k, --key <2FA secret> |
Store your key locally at ~/.config/ova.store or '%USERPROFILE%\AppData\Local' |
| ova remove | -n, --name <name of a key> |
Remove key from local store file |
| ova update | -n, --name <name of a key>, -k, --key <new secret value> |
Update key if it exists |
| ova list | no options | List all stored keys and their secrets |
| ova help | no options | Provide description for all the commands |
Note that ova help could be executed per subcommand as well, like ova add help which provides a description for chosen subcommand.
Dependencies
ova depends on xclip or wl-copy to use system-wide clipboard.
- Linux X11 -
xclipshould be installed - Linux Wayland -
wl-copyshould be installed
Windows & Mac OS does not require any additional setup as they use powershell :persevere: and osascript respectively.
Install
You can install ova via
cargo install ova
Or use precompiled binaries provided as releases.
Currently tested with
- Bitwarden
What's to do
- Storing keys in a local file :tada:
- Fully working
get,add,listcommands :tada: - Fully working
removeandupdatecommands :tada: - Copy to clipboard working on Windows, Mac OS and Linux
- Pretty print
- Rewrite windows copy method to winapi and throw away powershell :persevere:
- More to come...
Credits
Icon by BomSymbols