This project is mirrored from https://github.com/Nheko-Reborn/nheko.git.
Pull mirroring updated .
- Sep 30, 2022
-
-
Loren Burkholder authored
-
Loren Burkholder authored
-
- Sep 28, 2022
-
-
Nicolas Werner authored
-
Nicolas Werner authored
Correctly verify that the reply to a secrets request is actually coming from a verified device. While we did verify that it was us who replied, we didn't properly cancel storing the secret if the sending device was one of ours but was maliciously inserted by the homeserver and unverified. We only send secret requests to verified devices in the first place, so only the homeserver could abuse this issue. Additionally we protected against malicious secret poisoning by verifying that the secret is actually the reply to a request. This means the server only has 2 places where it can poison the secrets: - After a verification when we automatically request the secrets - When the user manually hits the request button It also needs to prevent other secret answers to reach the client first since we ignore all replies after that one. The impact of this might be quite severe. It could allow the server to replace the cross-signing keys silently and while we might not trust that key, we possibly could trust it in the future if we rely on the stored secret. Similarly this could potentially be abused to make the client trust a malicious online key backup. If your deployment is not patched yet and you don't control your homeserver, you can protect against this by simply not doing any verifications of your own devices and not pressing the request button in the settings menu.
-
Nicolas Werner authored
-
Nicolas Werner authored
-
- Sep 27, 2022
-
-
Nicolas Werner authored
-
- Sep 25, 2022
-
-
Nicolas Werner authored
-
- Sep 24, 2022
-
-
Nicolas Werner authored
Since this is used across different threads, we have to delete it on the event loop. Thank you, q234rty, for the help with debugging this.
-
- Sep 23, 2022
-
-
Nicolas Werner authored
-
- Sep 22, 2022
-
-
Nicolas Werner authored
-
- Sep 20, 2022
-
-
Nicolas Werner authored
-
Nicolas Werner authored
-
- Sep 19, 2022
-
-
Nicolas Werner authored
-
Nicolas Werner authored
-
- Sep 16, 2022
-
-
Nicolas Werner authored
-
- Sep 11, 2022
-
-
Hiers authored
* First draft of unread line feature. * Minor visual fix. * Removed unnecessary ternary operator. * Extended unread line functionality to work on minimised window or focusing another window. * Fix for unread line not showing when last read message is hidden. * Minor performance improvement. Fix for misbehaving event2order DB at application start. * Fix for possible performance issues when user has joined a large number of rooms. * Fix for breaking macos and clazy builds. * Changed on windows focus function to refresh unread line if room is unread. * Unread line is removed when user sends a message. * Linting. * Fixed unread line to work in standalone room windows. * Switch isRoomUnread for index 0. * Merged try/catch blocks. * Fix for crash on opening a room invite. * Call fullyReadEventId function when used instead of storing it and passing it through. * Function that was meant to sync the unread line was relying on an async function, oops. * Linting again. * More linting... * Minor changes.
-
Forest authored
Nheko is very chatty in its log output, generating log noise (which complicates diagnostics) and needless disk writes (which affect power consumption and SSD life). This patch introduces command line options and environment variables to control log levels and output type. The old --debug command line option still works, at least for now. It is overridden by the new command line options when they are used. Partially addresses #665.
-
- Sep 06, 2022
-
-
Nicolas Werner authored
fixes #1180
-
- Sep 05, 2022
-
-
Nicolas Werner authored
-
- Sep 04, 2022
-
-
Nicolas Werner authored
-
- Sep 01, 2022
-
-
Nicolas Werner authored
-
- Aug 31, 2022
-
-
Nicolas Werner authored
relates to #1168
-
- Aug 30, 2022
-
-
Nicolas Werner authored
-
Nicolas Werner authored
-
- Aug 20, 2022
-
-
Nicolas Werner authored
-
- Aug 18, 2022
-
-
Nicolas Werner authored
-
- Aug 16, 2022
-
-
Nicolas Werner authored
see #1042 see #483
-
Forest authored
-
- Aug 13, 2022
-
-
Nicolas Werner authored
-
Nicolas Werner authored
-
Nicolas Werner authored
-
Nicolas Werner authored
-
- Aug 09, 2022
-
-
Nicolas Werner authored
-
Nicolas Werner authored
-
- Aug 08, 2022
-
-
Nicolas Werner authored
-
- Aug 05, 2022
-
-
Nicolas Werner authored
-
Nicolas Werner authored
Requires MSC3266 Fixes #1129
-
- Aug 04, 2022
-
-
Joe Donofry authored
-
- Aug 01, 2022
-
-
Nicolas Werner authored
fixes #1137
-