EasyAuth Local Sessions
A Minecraft 1.20.1 Fabric patching (mixin) mod that adds locally stored sessions for automatic authorization in EasyAuth by NikitaCartes mod to provide seamless login without password for offline players.
介绍
A Minecraft 1.20.1 Fabric patching (mixin) mod that adds locally stored sessions for automatic authorization in EasyAuth by NikitaCartes mod to provide seamless login without password for offline players.
Features
- Client: Seamless authorization per request by server
- Client: Stores generated authorization token after authenticating with password for the first time
- Client: Fallback to usual behaviour if server does not accept authorization token (e.g. this patch is not installed on server or authorization token is invalid)
- Client: Authorization tokens stored locally are encrypted with a key derived from player UUID and IP address of the server (AES-GCM-256)
- Client: Authorization tokens are further protected by hashing the derived key to protect them from malware on device
- Server: Generated authorization tokens are hashed to mitigate filesystem breach attack
Client-side saved authorization tokens (for servers you join) are stored in config/EasyAuthLocalSessions-client/
directory
Server-side saved authorization tokens (for players joining your server) are stored in
EasyAuth/EasyAuthLocalSessions-server
Install
Server:
- Download this mod to server
- (optional but HIGHLY RECOMMENDED!) Set
session-timeoutto-1in config/EasyAuth/main.conf to disable IP authorization (which is insecure and unneeded with this mod)
Client:
For obvious reasons, don’t install this mod to guest computers or type /logout when you’re leaving it
- Download this mod to client
- Join the server and login with your password for the first and only time
- From now on, every time you’re joining the server (and server prompts to authorize) the mod will silently send authorization token
- If you want to stop this behaviour, type
/logouton the server you want to log out from - If you believe your authorization token was compromised, changing password revokes all authorization tokens on the server for your account
Important caveats:
- Locally stored authorization tokens are tied to the exact server address (see issue #1) and player UUID (derived from name for offline players)
- If a server changes IP address, port, domain, you’ll have to authorize again. Even if you join
example.org:25565instead ofexample.orgit will be considered a separate server with separate tokens ( see issue #1). And vice versa, if someone hosts a server under the same domain or IP address, the mod will send the authorization token to it, which can then be used in replay attacks. See issue #2
常见问题
EasyAuth Local Sessions 支持哪些 Minecraft 版本?
EasyAuth Local Sessions 支持 Minecraft Java 版 1.20.1–1.20.6,共 6 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
EasyAuth Local Sessions 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
hloth 的其他作品
查看全部 →
Create touchpad scrolling fix
Adds mouse scrolling sensitivity setting for Create mod to fix high sensitivity issue on touchpads and trackpads
Invert Spectator Scroll Speed
Minecraft 1.20.1 Fabric client-side mod for spectator game mode to invert speed controlling scrolling on touch pads
评论
登录后评论和评分