v1.1 release
In addition, this version supports password verification, and the password is transmitted through encryption to ensure data security.
simpleotp_go --help
-cookie string
cookie name
-login-stop int
frequency of login, default 2 seconds
-max-age int
max age for cookie and jwt, default 1800 seconds
-password string
password for secret hash
-port int
listen port default 8000
-secret string
TOTP secret key
Configurations are also loaded from env.
- TOTP_SECRET
- COOKIE_NAME
- PORT
- MAX_AGE
- LOGIN_STOP
- PASSWORD