cloak

A Command Line OTP (One Time Password) Authenticator application written in Rust that generates time-based and counter-based OTP codes.

Linux build status Windows build status License Crates.io version

Motivation

Example

Installation

To install cloak, you can do either of the following:

  1. Binaries

    You can download the binaries here. Make sure to put the path to the binary into your PATH.

  2. Crates.io

    Once you've installed Rust, install cloak by typing the following in the terminal:

    bash cargo install cloak

    This will download and compile cloak. After this is finished, add the Cargo bin directory to your PATH.

Usage

The sub-commands included in cloak are as follows:

```bash $ cloak -h cloak 0.1.0 Evans Murithi murithievans80@gmail.com A Command Line OTP Authenticator application.

USAGE: cloak [SUBCOMMAND]

FLAGS: -h, --help Prints help information -V, --version Prints version information

SUBCOMMANDS: add Add a new account delete Delete an account help Prints this message or the help of the given subcommand(s) list List OTP for all accounts recovery_codes View recovery codes for an account view View the OTP for an account ```

To view the help of any of the subcommands below, add -h or --help, e.g. cloak add -h.

Contributions

If you want to contribute to cloak you will have to clone the repository on your local machine:

bash $ git clone https://github.com/evansmurithi/cloak.git

To build, cd into cloak/ and run:

bash $ cargo build

To run tests:

bash $ cargo test