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

Use empty publicKeySignature in dummy ProfileKeyFilter response #266

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

evan-goode
Copy link
Contributor

If we send an invalid signature here (AA==), then the vanilla server will throw an error while handling the LoginHelloC2S packet, even if enforce-secure-profile is false in server.properties. The client will be disconnected with the message "Invalid signature for profile public key. Try restarting your game."

It's better to send an empty string; the server will simply ignore the missing publicKeySignature if enforce-secure-profile is false.

Resolves unmojang/drasl#109.

If we send an invalid signature here (`AA==`), then the vanilla server
will throw an error while handling the LoginHelloC2S packet, even if
`enforce-secure-profile` is `false` in `server.properties`. The client
will be disconnected with the message "Invalid signature for profile
public key. Try restarting your game."

It's better to send an empty string; the server will simply ignore the
missing publicKeySignature if `enforce-secure-profile` is false.

Resolves unmojang/drasl#109.
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.

can't login to server using ely.by account
2 participants