totp

Crates.iototp
lib.rstotp
version0.3.0
sourcesrc
created_at2016-09-11 17:39:24.271067
updated_at2024-10-01 17:26:11.962291
descriptionCLI tool for generating TOTP codes.
homepagehttps://github.com/kotarac/totp
repositoryhttps://github.com/kotarac/totp
max_upload_size
id6440
size16,273
Stipe Kotarac (kotarac)

documentation

README

totp

A Time-Based One-Time Password (TOTP) generator CLI.

Usage

A Time-Based One-Time Password (TOTP) generator

To read from stdin: `echo <BASE32_SECRET> | totp`

Usage: totp [OPTIONS] [BASE32_SECRET]

Arguments:
  [BASE32_SECRET]  The Base32-encoded secret key (defaults to stdin)

Options:
  -i, --interval <INTERVAL>  The time step in seconds (the token period) [default: 30]
  -e, --epoch <EPOCH>        The Unix time form which to start counting steps [default: 0]
  -d, --digits <DIGITS>      The number of digits in the TOTP code [default: 6]
  -h, --help                 Print help (see more with '--help')

License

MIT © Stipe Kotarac (https://github.com/kotarac)

Commit count: 12

cargo fmt