blog.bouah.net/content/posts/poezio-0.14.en.md
Maxime “pep” Buquet f9613d8c27
poezio-0.14 update
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-04-01 01:53:51 +02:00

5.9 KiB

title date translationKey tags draft
Updates from the Poezio ecosystem 2022-04-02T12:00:00+09:00 poezio-0.14
XMPP
Poezio
Slixmpp
OMEMO
true

Releases have happened recently that revolve around Poezio, a TUI (Terminal UI) client for XMPP, including Poezio itself (0.14), its backend XMPP library Slixmpp, and also the poezio and slixmpp plugins for OMEMO.

Many bug fixes and improvements

Mathieui has already made a proper release note for Slixmpp for it and I invite you to read it! It includes many bugfixes of course, and internal changes around async handling, that may reflect on some of the APIs you are using.

Poezio has also seen many improvements.

Internally, for one, our default branch has also been moved to "main", many type hints have been added, implicit casts (safeJID) have been removed, lots of event handlers and calls are now async, APIs from Slixmpp are being used instead of redoing our own, many refactoring, various performance improvements.

A license change has happened, and Poezio is now under GPLv3+! While I am not exactly in favour of intellectual property1, this is a straightforward lever we have against capitalism2. Poezio being a prime resource for Slixmpp examples, GPL code should reasonably ensure that the 4 freedoms reach end-users. In practice, this should allow for poezio-omemo to be merged into Poezio. I am now personally hoping for Slixmpp to change its license as well.

And other changes more visible to users! To name a few, quality of life improvements such as xmpp:...?join URIs handling in /join, impromptu rooms creation is now more reliable and creates rooms with shorter names. Read more in the changelog.

Archive handling (MAM) was already in the previous release, but has been reworked and should now be more reliable. Some work around storing message IDs -- that our log format doesn't do -- will be needed in the future to allow for easier message deduplication.

Plugins have seen changes as well. A new untrackme plugin replaces the now deprecated remove_get_trackers. Link Mauve has also developped a sticker plugin (to send them), similar in essence to what Movim has been doing for ages. Rich presence (activity, gaming, mood and user tune) has been removed from Poezio core and moved in the user_extras plugin. And again many fixes.

Many of these fixes have been realized by mathieui, who is by far the biggest committer on the release, and in general probably the person with the best understanding of the project. Thanks also to louiz for providing the infrastructure all this time, and to eijebong, Ge0rG, Kaghav Gururajan, kaliko, Thomas Hrnciar and southerntofu for the many patches.

Encryption

The Poezio E2EEPlugin API has been improved to accomodate changes in poezio-omemo, slixmpp-omemo and changes of the OMEMO backend library. Two plugins which are also seeing changes!

Heartbeats are now supported. Heartbeats are meta-messages which transfer only cryptographic key material (nothing else) and are used to strengthen OMEMO's forward secrecy. This is particularly relevant on clients like Poezio that can stay running in the back for some time, receiving messages without replying.

Some other changes include colored fingerprints using the Consistent Color Generation document -- such as specified in the current (0.8) OMEMO spec, and sending encrypted media (aesgcm URIs).

What hasn't changed is that this plugin lacks a UI and trust management. Hopefully this should come soon, with a little motivation to do UI work.

What comes next

All in all, there aren't (m)any revolutionary changes, but with these releases come many fixes for paper cuts that hopefully make users happier. This makes me think that even though Poezio is far from being perfect, there doesn't seem to be many important things missing.

There are however changes that would require a lot of refactoring, such as a multi-account feature, or easier maintainance in general.

We have decided to start migrating Poezio to Rust, in part to be able to refactor the project more easily, and also because it's a language we've come to appreciate over the years with experience in other projects, and more specifically with xmpp-rs, an XMPP Rust library.

All of this will happen right after the release, and we invite interested people to join the effort!


  1. TODO: write about this. A TL;DR would certainly be "abolish intellectual property, and private property in general". ↩︎

  2. When they don't decide to ignore it and give us the finger. ↩︎