Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 695 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 695 Bytes

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)