Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authlib+velocity+paper 1.20.6,player join server: Invalid signature for profile public key. #1345

Closed
BiteMeIfYouCan opened this issue Jun 7, 2024 · 2 comments

Comments

@BiteMeIfYouCan
Copy link

Using authlib, Velocity, and paper-1.20.6-137

According to the existing information:

In the server.properties file:

enforce-secure-profile = false

In paper-global.yml, configure the following:

velocity:
  enabled: false
  online-mode: false
  secret: wGJH1DvOZrLg

In velocity.toml, configure the following:

player-info-forwarding-mode = "legacy"
prevent-client-proxy-connections = false

However, when connecting to the server,server: "Invalid signature for profile public key."

When I set online-mode to false in velocity.toml, I can enter the server normally, but then I cannot use authlib.

@ShawnFoxter
Copy link

why are you using legacy mode?

@electronicboy
Copy link
Member

This is generally down to the backend server having 0 forwarding setup and thus the UUID being wrong, causing it to not match the key that the profile signature expected

@electronicboy electronicboy closed this as not planned Won't fix, can't repro, duplicate, stale Jun 28, 2024
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

No branches or pull requests

3 participants