Skip to content

jonnung/gtp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GTP - Go one-Time Password

Simple ⏱Time-based 🔑OTP Client

gonewbie GTP Release Github Action License first opensource

What is GTP?

GTP is a time-based OTP CLI client.
time-based OTP is an algorithm implementation defined in the RFC 6238. If you received a secret text from multi-factor authentication system, GTP is store the secret text on your computer($HOME directory).
The secret text is secure data, but GTP expects your computer to be used only you.

Alt text

Installation

$ go get github.com/jonnung/gtp

or download compiled binary file for multiple platform. See release page.

Usage

$ gtp [{number}|list|add|remove|clear]
  • {number}: Show time based one-time password by specified secret
  • list: All registered OTP secrets
  • add: Add new OTP secret
  • remove: Remove the specified secret
  • clear: Clear all secrets