| Crates.io | totp |
| lib.rs | totp |
| version | 0.4.0 |
| created_at | 2016-09-11 17:39:24.271067+00 |
| updated_at | 2025-03-12 16:15:01.417554+00 |
| 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 | 20,415 |
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)