1
0
forked from 0ad/0ad
0ad/source
wraitii 7bfcd9f78b Additional entropy when hashing match passwords.
The purpose of our client-side hashing for lobby game passwords is to
prevent malicious hosts from getting valuable passwords from clients
(e.g. accidentally typing their lobby password instead of the game, or
even their email password, etc).
However, the hashing was deterministic (and rather simple), making it
possible to compute rainbow tables and recover user passwords anyways.

By adding more variation, including some that cannot so easily be
controlled by the host (the client name), this becomes impractical. The
password hashing function used is rather fast, but given the base low
probability of mistypes, this seems fine.

Differential Revision: https://code.wildfiregames.com/D3459
This was SVN commit r25459.
2021-05-18 14:47:36 +00:00
..
collada Refactors smart pointers creation, reduces code duplication and improves exception safety. 2021-02-13 23:53:40 +00:00
graphics Include CStrInternStatic where necessary only. 2021-05-18 11:09:54 +00:00
gui Include CStrInternStatic where necessary only. 2021-05-18 11:09:54 +00:00
i18n Split ScriptRequest in its own header. 2021-05-03 16:07:26 +00:00
lib Speed up GetAvailableMods for archives. 2021-05-16 13:50:05 +00:00
lobby Additional entropy when hashing match passwords. 2021-05-18 14:47:36 +00:00
maths Fixes a bounding box projection to an incorrect camera causes the red water bug. 2021-05-15 13:33:36 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Additional entropy when hashing match passwords. 2021-05-18 14:47:36 +00:00
pch Include CStrInternStatic where necessary only. 2021-05-18 11:09:54 +00:00
ps Additional entropy when hashing match passwords. 2021-05-18 14:47:36 +00:00
renderer Include CStrInternStatic where necessary only. 2021-05-18 11:09:54 +00:00
rlinterface Split off JSON-related function from ScriptInterface, clean up headers. 2021-05-14 10:18:03 +00:00
scriptinterface Fixes broken PCH after wraitii commits (4f972bc623, 0f60bf3a97) and Itms (833c9f108c). 2021-05-15 14:50:24 +00:00
simulation2 Include CStrInternStatic where necessary only. 2021-05-18 11:09:54 +00:00
soundmanager XMB Improvements, parse JS into XMB, make strings more efficient. 2021-05-04 13:02:34 +00:00
third_party Optimization for include resolving in PreprocessorWrapper. 2021-01-20 23:05:15 +00:00
tools Removes unused and outdated includes, replaces some includes by forward declarations. 2021-05-15 17:27:01 +00:00
main.cpp Speed up GetAvailableMods for archives. 2021-05-16 13:50:05 +00:00
test_setup.cpp Introduce C++ templates replacements for DEFINE_INTERFACE_X and RegisterFunction macros 2021-03-01 20:52:24 +00:00