SchildiChat / schildichat-desktop

Matrix client / Element Web/Desktop fork
https://schildi.chat
Apache License 2.0
371 stars 42 forks source link

Broken message search - "Invalid MAC" and "Invalid Passphrase" #125

Open a-0-dev opened 2 years ago

a-0-dev commented 2 years ago

I know these must be Element's errors since SchildiChat doesn't modify any logic that deep in the code afaik - but since I could not track down the Element version my SchildiChat is based on, I'm leaving this issue here.

I did try disabling and re-enabling search before, it took quite some time but only helped for a very short period of time. The Issue: Message search cannot be initialized, the errors named in the settings part for search are either "Invalid MAC" or "Invalid Passphrase"

SchildiChat Desktop on Fedora from Flathub, version 1.9.8-sc.1, Olm 3.2.8

In case you need any more info, please comment :) And thanks for making SchildiChat!

SpiritCroc commented 2 years ago

If the SchildiChat version is 1.9.8-sc.1, then it is based on Element 1.9.8 (the part before the "sc"). It could make sense to test on Element either way, to make sure it's not a packaging issue.

a-0-dev commented 2 years ago

Interestingly enough, it doesn't work on Element Web/Desktop as well, but fails with another error: Error opening the database: SqlCipherError("Sqlcipher support is missing"). So I guess message search in E2EE is completely broken then - it doesn't exist on mobile and doesn't work on desktop :D

SpiritCroc commented 2 years ago

This is likely a packaging issue or missing dependency though, desktop search works for me on Arch (not using flathub).