Manages the apps, Tor process, and how external services communicate with Client amid 2FA related activities. Written in Go.
- Uses mattn/go-sqlite3 for local database
- Database is encrypted using tgbv/aes-256-gcm
- Uses gorilla/websocket for async RPC control/events.
- Uses cretz/bine to control Tor process.
Each package is initiated procedurally in main.go
file.
- You need
go 1.15
- You need a GCC 32bit compiler to compile modules of mattn/go-sqlite3
go build main.go
Successfully compiled it on Ubuntu 20 x64 and Windows 10 x64.
Daemon is useless without a websocket RPC client which answers incoming events. For that, tofa-project/client-gui was born.