https://github.com/jonnung/gtp
Simple ⏱Time-based 🔑OTP Client
https://github.com/jonnung/gtp
go golang gtp otp-client otp-secret
Last synced: 8 months ago
JSON representation
Simple ⏱Time-based 🔑OTP Client
- Host: GitHub
- URL: https://github.com/jonnung/gtp
- Owner: jonnung
- License: mit
- Created: 2020-01-19T16:14:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-01T12:56:18.000Z (over 6 years ago)
- Last Synced: 2025-04-08T03:01:48.676Z (over 1 year ago)
- Topics: go, golang, gtp, otp-client, otp-secret
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
GTP - Go one-Time Password
Simple ⏱Time-based 🔑OTP Client
    
## What is GTP?
GTP is a time-based OTP [CLI](https://en.wikipedia.org/wiki/Command-line_interface) client.
time-based OTP is an algorithm implementation defined in the [RFC 6238](https://tools.ietf.org/html/rfc6238).
If you received a secret text from [multi-factor authentication](http://en.wikipedia.org/wiki/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.

## Installation
```
$ go get github.com/jonnung/gtp
```
or download compiled binary file for multiple platform. See [release page](https://github.com/jonnung/gtp/releases).
## 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