Skip to content

A CLI tool used for Multifactor Authentication by generating Time Based OTP

License

Notifications You must be signed in to change notification settings

sai-bhargav/go-otp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-otp

A CLI tool used for Multifactor Authentication by generating Time Based OTP

Getting Started

# Install the package
$ go get github.com/sai-bhargav/go-otp

# Go to the directory where the pkg is installed and build
$ cd $GOPATH/src/github.com/sai-bhargav/go-otp
$ go build

# You should see the new executable created 'go-otp' after the build

Usage

# Configure the app and its access token 
$ go-otp -config -app=appName -token=YOURACCESSTOKENFORAPP

# To generate the OTP
$ go-otp -app=appName

Additional Info

Alternatively copy the executable to /usr/local/bin to make it available globally

cp go-otp /usr/local/bin

About

A CLI tool used for Multifactor Authentication by generating Time Based OTP

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages