NeoChat encryption

When entering encrypted rooms in NeoChat (specifically the neochat_kf5 package in HaikuDepot, because the main package’s window is weirdly messed up ), I get the text “This room is encrypted. Build libQuotient with encryption enabled to send encrypted messages.”

How exactly would I build libQuotient with encryption, and then use that with NeoChat?

On the Qt5 version for libquotient E2EE has been disabled (it already was before I started updating it), maybe enabling it could fix your issue? (never really tackled the encryptions in NeoChat (or any matrix client) so far).

If you are able to build it with haikuporter the line for this should be set to ON (need to check why it was disabled)

On the default one, I’m looking into this, @nephele mentioned it on IRC and checking it in a qemu boot I saw it borked too, not sure what’s going on there, I’m still running 25.08.3 without problems (even building nighlies for it) that work just fine (but then again, I’m running those with KF6 6.23.0 and Qt 6.10.2).

Building with haikuports fails to get source for docbook_xml_dtd-4.5

During troubleshooting, I tried to install the docbook_xml_dtd_source package in haikudepot, which also failed, but I can install the docbook_xml_dtd package?

I’m not seeing this dependency in the current recipe for libquotient?

Anyway, the package name is just docbook_xml_dtd

EDIT: _source packages can’t be installed :slight_smile:

I would apply some caution on this topic. If you need encryption for security reasons, it’s very important to make sure that the encryption is working correctly. Why was encryption disabled? Was it broken in some way?

Can’t remember why I disabled it, but I think it was mentioned during the build? It’s been a while since I touched anything from KF5.

For the moment I’m rebuilding KF6 6.17.0 to see if (what I suspect) is an issue on the new QtQuick changes that have been adapted in KF6, if this is going to work changes are that KF6 will be downgraded from 6.19.0 (which already has a patch for Qt 6.8), and in regards plenty of packages for the KDE frameworks would need a rebuild.

Already mentioned this upstream in the Tokodon matrix room, but so far haven’t gotten any respond from there. (Tokodon and NeoChat suffer from the same).

Quaternion crash atm “could” be fixed by launching in Terminal after:

export Qt_QUICK_BACKEND=”software”

Did some further digging, as it seems with Qt >= 6.8 there was some “fixing” on detecting hardware acceleration (can’t find the link atm but the “fix” to launch Quaternion is related to this).

I presume from KF6 6.19.0 (last one supporting Qt < 6.8) they integrated some changes to accomidate the changes in QtQuick from 6.8, braking kirigami apps when build with our Qt 6.7.2.

After doing a full rebuild of the KF6 6.17.0 frameworks and related libraries for NeoChat/Tokodon the apps are launching fine again and show properly.

Now if I want this to get fixed, the KDE frameworks will be downgraded to 6.17.0 and all the gear25 (and KDE related packages) will have to be rebuild.

Holding off for that at the moment untill some agreement can be found.