2023-01-28 12:04:14 +01:00
|
|
|
|
|
|
|
# (T)OTP mod for minetest
|
|
|
|
|
2023-01-29 13:16:32 +01:00
|
|
|
* State: **Stable**
|
2023-01-28 12:04:14 +01:00
|
|
|
|
2023-01-29 13:16:32 +01:00
|
|
|
# Overview
|
|
|
|
|
|
|
|
Lets security-aware players use the `/otp_enable` command to protect their account with a second factor.
|
|
|
|
|
|
|
|
Players that have the OTP enabled have to enter a verification code upon joining the game.
|
|
|
|
|
|
|
|
# OTP Authenticator app
|
|
|
|
|
|
|
|
* https://freeotp.github.io/
|
|
|
|
|
|
|
|
# Screenshots
|
|
|
|
|
|
|
|
OTP verification form
|
|
|
|

|
|
|
|
|
|
|
|
OTP Setup form
|
|
|
|

|
|
|
|
|
|
|
|
# Links / References
|
|
|
|
|
|
|
|
* https://en.wikipedia.org/wiki/Time-based_one-time_password
|
|
|
|
* https://en.wikipedia.org/wiki/HMAC-based_one-time_password
|
|
|
|
* https://en.wikipedia.org/wiki/HMAC
|
|
|
|
* https://github.com/google/google-authenticator/wiki/Key-Uri-Format
|
|
|
|
|
|
|
|
# Chatcommands
|
|
|
|
|
|
|
|
* `/otp_enable` Starts the OTP onboarding process
|
|
|
|
* `/otp_disable` Disables the OTP Login
|
|
|
|
|
|
|
|
# Privileges
|
|
|
|
|
|
|
|
* `otp_enabled` Players with this privilege have to verify the OTP Code upon login (automatically granted on successful `/otp_enable`)
|
2023-01-28 12:04:14 +01:00
|
|
|
|
|
|
|
# License
|
|
|
|
|
|
|
|
* Code: `MIT`
|
2023-01-29 13:16:32 +01:00
|
|
|
* Textures: `CC-BY-SA 3.0`
|
2023-01-28 17:49:12 +01:00
|
|
|
* "basexx.lua" `MIT` https://github.com/aiq/basexx/blob/master/lib/basexx.lua
|
|
|
|
* "qrencode.lua" `BSD` https://github.com/speedata/luaqrcode/blob/master/qrencode.lua
|