Skip to content

A text-based cross-platform TOTP token implementation written in Go.

License

Notifications You must be signed in to change notification settings

mevdschee/go-soft-token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

screenshot

go-soft-token

A text-based cross-platform "software token" implementation (compatible with Google Authenticator and Microsoft Authenticator) written in Go. This software uses "scrypt" for key stretching and AES for TOTP secret storage.

Blog post: https://tqdev.com/2020-free-otp-soft-token-written-in-go

See: https://en.wikipedia.org/wiki/Software_token

Dependencies

This software is written in Go and uses modules (available in Go 1.11+)

This software uses xlzd/gotp for it's TOTP implementation and scrypt from golang/crypto.

This software has a text user interface (TUI) and uses rivo/tview, which is based on gdamore/tcell.

Run and build

To run the software install Go and run:

go run .

To create an executable, run:

go build

Or to create a release in the dist folder, run:

bash build.sh

This automatically increments the build version.

Download

Go to the releases section to download binaries and source code (click on 'Assets').

About

A text-based cross-platform TOTP token implementation written in Go.

Resources

License

Stars

Watchers

Forks

Packages

No packages published