Jakob Borg
f6428af4c8
fix(protocol): always expect & validate block hash in requests ( #10738 )
...
Verify that block requests have a hash and that it's correct. This helps
prevent certain races and ensure that only expected data is ever
returned in response to a request.
(In Syncthing prior to 1.28.1 the block hash was omitted for encrypted
requests from trusted devices. This breaks compatibility with that
specific config on those versions.)
---------
Signed-off-by: Jakob Borg <jakob@kastelo.net >
2026-06-11 18:51:25 +02:00
..
2025-08-24 12:17:20 +00:00
2023-05-09 10:01:57 +00:00
2025-05-26 20:37:49 +02:00
2025-06-06 13:45:44 +02:00
2025-08-07 11:19:36 +02:00
2021-11-26 12:07:43 +01:00
2025-08-07 11:19:36 +02:00
2025-08-12 20:05:10 +02:00
2025-08-12 20:05:10 +02:00
2017-02-09 08:04:16 +01:00
2025-06-13 07:33:31 +02:00
2025-03-29 13:50:08 +01:00
2025-03-29 13:50:08 +01:00
2025-11-27 20:34:35 +00:00
2025-11-27 20:34:35 +00:00
2025-11-27 20:34:35 +00:00
2025-11-27 20:34:35 +00:00
2026-05-25 15:22:07 +02:00
2022-07-26 08:24:58 +02:00
2025-08-07 11:19:36 +02:00
2026-06-11 18:50:11 +02:00
2025-08-24 12:17:20 +00:00
2025-08-07 11:19:36 +02:00
2026-04-26 11:58:09 +02:00
2026-04-26 11:58:09 +02:00
2025-05-31 17:10:00 +02:00
2026-05-23 09:13:47 +02:00
2025-06-06 13:45:44 +02:00
2026-06-11 18:51:25 +02:00
2026-06-11 18:51:25 +02:00
2025-08-07 11:19:36 +02:00
2025-08-07 11:19:36 +02:00
2025-03-29 13:50:08 +01:00
2025-08-07 11:19:36 +02:00
2025-11-27 20:34:35 +00:00
2025-05-20 15:04:33 +02:00
2023-09-02 16:42:46 +02:00
2025-08-07 11:19:36 +02:00
2025-08-07 11:19:36 +02:00
2026-04-26 11:58:09 +02:00
2025-03-29 13:50:08 +01:00
2026-04-26 11:58:09 +02:00
2025-08-07 11:19:36 +02:00
2023-05-09 10:01:57 +00:00