totp

a command line TOTP token generator

A command line tool for generating Time based One-Time Passwords totp

Found and hacked while I was trying to diagnose problems with a TOTP integration in a ruby app.

Useful in that you have a standalone tool separate from your other code that can generate TOTP tokens which you can then confirm against the TOTP tokens generated by your other code at the same(ish) time.

Original source unknown. :(

Usage

Time-based One-time Password Generator

USAGE: totp <key> [server] [interval]

If you wish to pipe in the key use -p as the 1st argument

The default update interval is 30 seconds.

Supported servers: Google, GitHub, GitLab, Bitbucket

Metadata:

Tags:

  • security
  • totp