Skip to content

Conversation

@craftxbox
Copy link

done for the night, unfinished but committing it so it's reviewable somewhat

done for the night, unfinished but committing it so it's reviewable somewhat
var Username = _authService.AccountLoginResponse.Account.Username;
arguments.Append($"-AccountID {AccountID} ");
arguments.Append($"-Username {Username} ");
var CharacterToken = await _authService.GenerateCharacterSheetTokenForFork(Installation.ForkName);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed for launching the client directly if you're hosting all playing single player so you can modify your character settings In that scenario

Encoding.UTF8.GetBytes(
base64Secret
+ Info.ServerPublicKey
+ Installation.BuildVersion.ToString()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to send all this crap as part of the token since the malicious server can spoof these to be something else

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