ova

Crates.ioova
lib.rsova
version0.1.6
sourcesrc
created_at2023-04-24 22:08:59.508054
updated_at2023-04-27 18:01:43.834301
descriptionCLI tool for managing your 2FA authentication codes written in pure Rust.
homepage
repositoryhttps://github.com/gpskwlkr/ova
max_upload_size
id847978
size48,062
Giorgi Anakidze (gpskwlkr)

documentation

README

(O)TP (VA)ULT - ova. clipboard

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.

github
build status license
  • 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 - xclip should be installed
  • Linux Wayland - wl-copy should 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
  • Facebook
  • Twitter

What's to do

  • Storing keys in a local file :tada:
  • Fully working get, add, list commands :tada:
  • Fully working remove and update commands :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

Commit count: 55

cargo fmt