Verification/authorization via Fediverse mod for minetest, based on (t)otp
Go to file
2023-02-02 14:37:58 +01:00
.github/workflows onboard form and join check 2023-01-29 12:13:50 +01:00
test working otp code generation 2023-01-28 17:25:39 +01:00
.luacheckrc luacheckrc fix 2023-02-02 14:37:58 +01:00
basexx.lua init 2023-01-28 12:04:14 +01:00
docker-compose.yml onboard form and join check 2023-01-29 12:13:50 +01:00
functions.lua check if the secret is present before asking for a code 2023-01-30 19:36:03 +01:00
functions.spec.lua onboard form and join check 2023-01-29 12:13:50 +01:00
init.lua priv revoke overhaul 2023-02-02 14:25:16 +01:00
join.lua priv revoke overhaul 2023-02-02 14:25:16 +01:00
license.txt init 2023-01-28 12:04:14 +01:00
mod.conf proper min engine version 2023-01-29 13:50:47 +01:00
onboard.lua image/issuer customization 2023-02-02 14:34:50 +01:00
priv_revoke.lua priv revoke overhaul 2023-02-02 14:25:16 +01:00
privs.lua priv revoke overhaul 2023-02-02 14:25:16 +01:00
qrencode.lua qr code lib 2023-01-28 17:49:12 +01:00
readme.md image/issuer customization 2023-02-02 14:34:50 +01:00
screenshot1.png polish / screenshots 2023-01-29 13:16:32 +01:00
screenshot2.png polish / screenshots 2023-01-29 13:16:32 +01:00

(T)OTP mod for minetest

  • State: Stable

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 apps

Screenshots

OTP verification form

OTP Setup form

Temporary privilege revocation

All of the privileges get revoked when logging in with the otp enabled (until the proper code is entered). Some exceptions:

  • fly (otherwise the player would literally fall from the sky)
  • noclip

To disable revokation on custom privs the field otp_keep can be set to true on the definition:

minetest.register_privilege("my_super_important_priv", {
    description = "something something",
    otp_keep = true
})

Settings

Links / References

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)

License