Store encrypted company password hashes in server saves

Restore when loading back into the server if server has required secret
This commit is contained in:
Jonathan G Rennison
2022-01-03 03:09:32 +00:00
parent 1f50106466
commit e993afcd99
9 changed files with 188 additions and 10 deletions

View File

@@ -26,6 +26,8 @@
extern NetworkCompanyState *_network_company_states;
extern std::string _network_company_server_id;
extern uint8 _network_company_password_storage_token[16];
extern uint8 _network_company_password_storage_key[32];
extern ClientID _network_own_client_id;
extern ClientID _redirect_console_to_client;