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.
- Host: GitHub
- URL: https://github.com/mevdschee/go-soft-token
- Owner: mevdschee
- License: mit
- Created: 2020-11-04T04:49:46.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-10-29T07:29:11.000Z (over 3 years ago)
- Last Synced: 2026-02-05T10:57:46.655Z (3 months ago)
- Language: Go
- Homepage:
- Size: 2.39 MB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# 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').