Skip to content

Fix "Invalid signature" when not forwarding UUIDs to online-mode=false backends#1806

Open
evan-goode wants to merge 1 commit into
PaperMC:dev/3.0.0from
evan-goode:evan-goode/filter-chat-session-update-packet
Open

Fix "Invalid signature" when not forwarding UUIDs to online-mode=false backends#1806
evan-goode wants to merge 1 commit into
PaperMC:dev/3.0.0from
evan-goode:evan-goode/filter-chat-session-update-packet

Conversation

@evan-goode
Copy link
Copy Markdown

Filter the ServerboundChatSessionUpdatePacket when player info forwarding is disabled, since the client's profile key signature will not be valid for the player's offline UUID.

See comment in ClientPlaySessionHandler.java. This is marked as draft since it's in a "works for me" state, though I'm happy to address feedback and get this merged. I'm unsure whether this behavior belongs in a separate option or whether player-info-forwarding-mode = "NONE" is a good enough heuristic for when it's needed.

My use case is a public, Mojang-authenticated gateway to an online-mode=false Vanilla server (no Paper/Fabric) that unauthenticated bots can connect to over localhost.

Filter the ServerboundChatSessionUpdatePacket when player info
forwarding is disabled, since the client's profile key signature will
not be valid for the player's offline UUID.
@R00tB33rMan
Copy link
Copy Markdown
Contributor

@evan-goode, I'd probably mark this as ready so reviewers know it's time to suggest changes

@evan-goode evan-goode marked this pull request as ready for review May 26, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants