Skip to content
/ totp Public

CLI tool for generating TOTP codes.

License

Notifications You must be signed in to change notification settings

kotarac/totp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

CLI tool for generating TOTP codes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages