Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/Nheko-Reborn/nheko.git. Pull mirroring updated .
  1. Sep 30, 2022
  2. Sep 28, 2022
    • Nicolas Werner's avatar
      Make clazy happy · bffa0115
      Nicolas Werner authored
      Verified
      bffa0115
    • Nicolas Werner's avatar
      Prevent the homeserver from inserting malicious secrets · 67bee15a
      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.
      Verified
      67bee15a
    • Nicolas Werner's avatar
    • Nicolas Werner's avatar
  3. Sep 27, 2022
  4. Sep 25, 2022
  5. Sep 24, 2022
  6. Sep 23, 2022
  7. Sep 22, 2022
  8. Sep 20, 2022
  9. Sep 19, 2022
  10. Sep 16, 2022
  11. Sep 11, 2022
    • Hiers's avatar
      Line to indicate first unread message (#1147) · 8071b192
      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.
      Unverified
      8071b192
    • Forest's avatar
      Control logging via command line and environment variables · 80f7683a
      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.
      80f7683a
  12. Sep 06, 2022
  13. Sep 05, 2022
  14. Sep 04, 2022
  15. Sep 01, 2022
  16. Aug 31, 2022
  17. Aug 30, 2022
  18. Aug 20, 2022
  19. Aug 18, 2022
  20. Aug 16, 2022
  21. Aug 13, 2022
  22. Aug 09, 2022
  23. Aug 08, 2022
  24. Aug 05, 2022
  25. Aug 04, 2022
  26. Aug 01, 2022
Loading