An open API service indexing awesome lists of open source software.

https://github.com/mevdschee/go-soft-token

A text-based cross-platform TOTP token implementation written in Go.
https://github.com/mevdschee/go-soft-token

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

          

![screenshot](go-soft-token-v0.9.1.png)

# 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](https://github.com/xlzd/gotp) for it's TOTP implementation and scrypt from [golang/crypto](https://github.com/golang/crypto).

This software has a text user interface (TUI) and uses [rivo/tview](https://github.com/rivo/tview/), which is based on [gdamore/tcell](https://github.com/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](https://github.com/mevdschee/go-soft-token/releases) section to download binaries and source code (click on 'Assets').