Simple CLI that allows to generate 6-digit
auth numbers for 2fa without mobile app
It uses HMAC
, SHA-256
and some other tools to generate auth code.
After that it is displayed on console and nothing else.
You can use it for setting every 2fa where Google Authorizer is mentioned
The syntax is gauth --key hereYourKey
In place of hereYourKey
place your manual 2fa secret.
Here is note for someone who may want to build this CLI and use it.
To build use go
cli, go into our project directory and type: go build ./src/main.go -o gauth
Call it on unix systems by doing ./gauth
, if you use windows, type gauth.exe
and change -o
param value into gauth.exe