Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 739 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 739 Bytes

Google Authorizer CLI

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

Syntax

The syntax is gauth --key hereYourKey
In place of hereYourKey place your manual 2fa secret.

Building

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