Aaron Kimbrell
26b188852f
fix: session keys are 16 bytes sent as 32 hex characters
...
The key was a 32 bit number, sent to the client as the MD5 hash of its
decimal text. The client only stores the key and sends it back, so it
is now 16 bytes from the system entropy source written as 32 lowercase
hex characters, which fills the same 33 character field of the login
response.
The auth, master and world servers pass the key itself between them as
a 33 character string in place of the number: SET_SESSION_KEY,
SESSION_KEY_RESPONSE and NEW_SESSION_ALERT keep their IDs and carry the
string where the number was. The master server keeps one key for each
username, and a world server compares the key a client sends with the
one from the master server in constant time. A key stays valid until
the next login of its account replaces it, as before.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-10 16:28:34 -06:00
..
2026-11-10 11:52:20 -06:00
2026-11-10 10:57:45 -06:00
2026-09-29 01:16:38 -05:00
2026-09-28 22:30:44 -05:00
2026-11-10 16:28:34 -06:00
2026-11-10 16:28:34 -06:00
2024-02-26 23:11:56 -06:00
2024-01-05 06:33:52 -06:00
2026-09-28 22:31:02 -05:00
2024-12-24 14:32:08 -08:00
2024-12-24 14:32:08 -08:00
2022-11-27 03:59:59 -08:00
2022-11-27 03:59:59 -08:00
2023-05-02 17:39:21 -05:00
2026-09-28 22:31:09 -05:00
2022-11-01 13:21:26 -05:00
2026-09-29 16:29:46 -05:00
2026-09-29 16:29:46 -05:00
2026-09-28 22:30:43 -05:00
2026-09-29 19:09:13 -05:00
2026-09-29 19:09:13 -05:00
2026-11-10 11:52:20 -06:00
2026-09-28 22:30:45 -05:00
2026-09-28 22:30:43 -05:00
2023-10-09 15:31:43 -05:00
2023-10-09 15:31:43 -05:00
2026-09-28 22:30:43 -05:00
2022-07-28 08:39:57 -05:00
2025-06-08 21:41:43 -05:00
2026-10-05 12:33:45 -05:00
2026-09-28 22:30:43 -05:00
2026-09-28 22:30:43 -05:00
2026-09-29 22:07:45 -05:00
2026-09-29 22:07:45 -05:00
2026-09-29 22:07:45 -05:00
2026-09-29 22:07:45 -05:00
2026-09-29 23:20:20 -05:00
2026-09-29 23:20:20 -05:00
2026-09-29 23:20:20 -05:00
2026-09-29 23:20:20 -05:00
2024-01-01 21:50:00 -06:00
2024-01-01 21:50:00 -06:00
2026-11-10 16:28:34 -06:00
2026-11-10 16:28:34 -06:00
2026-09-29 06:48:40 -05:00
2026-09-28 22:31:14 -05:00
2024-11-17 19:03:09 -06:00
2025-05-14 22:38:38 -05:00
2025-05-14 22:38:38 -05:00
2026-06-14 20:54:52 -07:00
2026-09-28 22:30:43 -05:00
2026-11-10 11:51:49 -06:00
2026-11-10 11:51:49 -06:00
2026-09-28 22:30:43 -05:00
2026-09-29 22:07:46 -05:00
2026-09-29 22:07:46 -05:00
2026-09-28 22:30:51 -05:00
2025-10-25 14:53:49 -05:00
2026-11-10 11:52:30 -06:00
2026-11-10 11:52:30 -06:00
2026-06-07 20:59:11 -07:00
2026-06-08 21:42:32 -07:00
2026-06-08 21:42:32 -07:00
2026-10-27 09:22:28 -05:00
2026-09-29 18:13:45 -05:00
2026-09-29 18:13:45 -05:00
2024-01-29 01:53:12 -06:00
2026-06-14 20:54:52 -07:00
2025-09-06 19:18:03 -07:00
2025-09-06 19:18:03 -07:00
2026-06-14 20:54:52 -07:00
2024-11-17 18:46:08 -06:00
2026-09-29 01:16:38 -05:00
2026-09-29 01:16:38 -05:00
2026-09-30 02:51:21 -05:00
2026-09-29 01:16:38 -05:00
2025-09-06 19:18:03 -07:00
2026-09-28 22:30:43 -05:00
2026-09-28 22:30:43 -05:00
2026-09-29 22:26:17 -05:00
2026-09-29 22:26:17 -05:00
2026-11-10 10:57:45 -06:00
2026-09-28 22:30:52 -05:00
2026-09-28 22:30:52 -05:00
2026-09-28 22:30:43 -05:00
2026-09-28 22:30:43 -05:00
2026-11-10 16:28:34 -06:00
2026-11-10 16:28:34 -06:00
2023-03-17 07:36:21 -07:00
2026-09-28 22:30:43 -05:00
2025-05-05 09:05:12 -05:00
2025-05-05 09:05:12 -05:00
2026-09-29 22:26:17 -05:00
2026-09-29 22:26:17 -05:00
2026-09-29 16:47:40 -05:00
2026-09-28 22:30:43 -05:00
2026-09-28 22:30:43 -05:00
2026-09-28 22:30:43 -05:00
2026-09-28 22:30:43 -05:00
2026-09-28 22:31:07 -05:00
2026-09-28 22:31:07 -05:00
2026-11-10 11:52:20 -06:00
2026-11-10 11:52:20 -06:00
2026-11-10 11:46:10 -06:00
2026-11-10 11:41:35 -06:00
2026-09-30 02:51:21 -05:00
2026-09-30 02:51:21 -05:00
2026-09-29 08:36:35 -05:00
2026-09-29 02:42:02 -05:00