ChatSecure v4.1.0 - Media Messaging

This release contains major improvements to how media messages are handled. We’ve added support for both XEP-0363: HTTP Upload and the aesgcm:// scheme, allowing for mobile-friendly asynchronous end-to-end encrypted file transfers.

Previously we used a rather obscure protocol called OTRDATA that utilized OTR TLVs to send arbitrary data through existing OTR sessions. It worked reasonably well… sometimes. It was subject to throttling by XMPP servers, had a lot of encoding overhead, and wouldn’t work unless both parties were online and were in an active OTR session.

This new file transfer mechanism was designed to work well with OMEMO, and should handle multiple devices and group chats once that work is completed. To see if your server supports XEP-0363, check the “Server Information” section of your account details. If not, contact your server administrator or in the meantime test it out on a server from this list.

Up next will be improvements to group chat, multi-device conversation history, and better reliability of push notifications. If you like what we’re doing, don’t forget that sustainable open source starts with you! Thank you so much to everyone who has pledged their support! ❤️

Download the latest ChatSecure version here:

What’s new in 4.1.0

XEP-0363: HTTP Upload support for much faster and reliable media messaging. [1]

XEP-0352: Client State Indication. Helps reduce network usage when running in the background.

End-to-end encryption for file transfers in OMEMO or OTR sessions [2].

Inline media previews for incoming URLs. (Optional)

Bug fixes and refactoring.

Tor 0.3.0.9

Caveats

Your server administrator must enable support for XEP-0363. See mod_http_upload for Prosody [3] and ejabberd [4] for more details.

Encrypted file transfer is required in OMEMO/OTR, but has limited compatibility for receiving clients. Users on the other end will receive aesgcm:// links [2].

links [2]. Inline media previews are enabled by default, but can be disabled on a per-account basis. This feature should be disabled if you have extreme privacy concerns or do not trust your contacts. This setting is always disabled for Tor accounts.

Known bug related to adding friends and setting up the first OMEMO session. These will be addressed in a future release.

References

https://xmpp.org/extensions/xep-0363.html https://github.com/iNPUTmice/ImageDownloader https://modules.prosody.im/mod_http_upload.html https://docs.ejabberd.im/admin/configuration/#mod-http-upload https://xmpp.org/extensions/xep-0352.html

Changelog: https://github.com/chatsecure/chatsecure-ios/compare/v4.0.9…v4.1.0