FS#599 - Store company passwords for network servers
Attached to Project:
OpenTTD
Opened by Kenn Booth (Smoovious) - Tuesday, 06 February 2007, 23:54 GMT
Last edited by Remko Bijker (Rubidium) - Saturday, 01 December 2007, 21:28 GMT
Opened by Kenn Booth (Smoovious) - Tuesday, 06 February 2007, 23:54 GMT
Last edited by Remko Bijker (Rubidium) - Saturday, 01 December 2007, 21:28 GMT
|
DetailsWhen saving a network game, and reloading it later, none of the company passwords are saved|reloaded...
|
This task depends upon
- store it as a company property
- store the salted + hashed password only
- transmit the salted + hashed password only, thus make that operation client-side
- only restore the password sin the savegame, when run as server
- add an rcon command to clear passwords
- add an admin port command to clear passwords
EDIT: this likely will need to make use of an additional cryptography library. This should be guarded in the code with #ifdef and in config.lib treated similar as the configure options like freetype, icu etc.