Crates.io | totp |
lib.rs | totp |
version | 0.3.0 |
source | src |
created_at | 2016-09-11 17:39:24.271067 |
updated_at | 2024-10-01 17:26:11.962291 |
description | CLI tool for generating TOTP codes. |
homepage | https://github.com/kotarac/totp |
repository | https://github.com/kotarac/totp |
max_upload_size | |
id | 6440 |
size | 16,273 |
A Time-Based One-Time Password (TOTP) generator CLI.
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')
MIT © Stipe Kotarac (https://github.com/kotarac)