FS#72359 - element-desktop client-side encrypted search (seshat) is broken

Attached to Project: Community Packages
Opened by Denis Kasak (dkasak) - Wednesday, 06 October 2021, 18:28 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Saturday, 16 October 2021, 16:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Going to Settings > Security & Privacy > Message search, you can see the message

Message search initialisation failed

Error opening the database: SqlCipherError("Sqlcipher support is missing")

But SqlCipher is installed and functional (it is a depedency). This used to work before and broke in one of the last few Arch package versions. Cause is unknown.


Additional info:
* package version(s): 1.8.5
* config and/or log files etc.
* link to upstream bug report: https://github.com/matrix-org/seshat/issues/102

Steps to reproduce:

Just start Element Desktop and observe the above mentioned message.
This task depends upon

Closed by  Bruno Pagani (ArchangeGabriel)
Saturday, 16 October 2021, 16:45 GMT
Reason for closing:  Implemented
Additional comments about closing:  I’ve added the suggested temporary fix and will keep watching both other issues to see whether it unfolds.
Comment by Bruno Pagani (ArchangeGabriel) - Wednesday, 13 October 2021, 12:38 GMT
Read to fast, actually it seems to be Arch specific…
Comment by Denis Kasak (dkasak) - Thursday, 14 October 2021, 12:25 GMT
I'd just like to report that running `LD_PRELOAD=/usr/lib/libsqlcipher.so exec electron13 /usr/lib/element/app.asar --disable-dev-mode "$@"` does work, so it might be actually related to the issue you linked before (https://bugs.archlinux.org/task/69980).

Could we add the `LD_PRELOAD` to `/usr/bin/element-desktop` as a workaround for the time being, until a better fix is found?

Loading...