Skip to content

Rustrx 0.8.4

Choose a tag to compare

@moWerk moWerk released this 27 Nov 21:17
· 149 commits to main since this release

Rustrx 0.8.4: calls like the phone app, and our own security audit. Updates 0.8.3 in place.

Calls

  • An incoming call shows the call page full screen with Answer and Decline, like the phone app: with Rustrx closed, behind other apps, and over the lock screen (answered there without unlocking; nothing else of Rustrx shows). Settings > App > Behaviour > "Force Call UI in front on incoming calls" turns it off.
  • Calls now ring with Rustrx closed on phones with a push distributor (Foghorn). Before, such a call came only as a message line.
  • A call nobody answered leaves one "Missed call" notification, as the phone app's, and no message line for it.
  • The ring lasts as long as the call is still valid, and a call answered just before the caller's timer ran out now connects.
  • Calls ring only in rooms of two; in a group, a call is a quiet notification with Answer and Decline.
  • Calls go through your server's relay by default, so the other side does not see your phone's internet address (Settings > Privacy).
  • On phones whose proximity sensor always reads "near", the call page no longer goes dark for the whole call.
  • A call no longer hangs in "Connecting" when the audio could not start.

Background without push

  • The background stand-in no longer starts without a login, and a tap on the Rustrx icon right after closing it opens the app again instead of nothing.
  • Answer and Decline on a call notification work with Rustrx closed.
  • Notification buttons (Reply, emoji, Mark as read) work with push switched on but no distributor installed.
  • A ring handed to the app ends with the call, ringtone included.

Security
We audited Rustrx ourselves (IPC, network, secrets, the Rust boundary, untrusted content). The record is in docs/audits, and the security review guide is updated from it. Findings about the platform itself went to Jolla separately.

  • Notification actions are only taken for a notification Rustrx has up; another app holding Rustrx's push name is detected, push pauses (shown in red in Settings) and Reply never goes through it.
  • A new push distributor needs your yes once; a program holding Rustrx's own name gets a notice.
  • Plain http servers only on your own network; Link a new device opens only your server's page; a browser login that ends in another account is undone; other people's verification requests ask first.
  • Sailfish Secrets: a collection of Rustrx's own for new installs, a "refused" state on the Account tab, and a missing key asks before starting over.
  • A sign-out that the server makes final wipes the messages and media on the phone; every other kind keeps them.
  • Pictures are decoded only as JPEG, PNG, GIF or WebP; files open only when name and content agree on a safe type, the rest is saved; very long or deeply nested messages show "Message too long to show"; custom emoji and large files have limits ("Large file, tap to load").
  • A link whose text names another address asks first; links from other apps wait for "Look up"; people with the same display name show their user ID.
  • Forwarding from an encrypted room into an unencrypted one uploads a fresh copy instead of publishing the file's key.
  • Logs go to the share sheet without a copy in Downloads; key exports cannot be redirected and get a new name the second time in a day.
  • Privacy settings moved out of dconf into a private file, logs are redacted, large pictures are refused before decoding, and more.

Chats

  • Quick reactions show only emoji and short text, and nothing runs over the message. Thanks dodoradio.
  • Closing the pulled-up menu in a chat no longer makes the chat bounce, and reaching the bottom of a chat no longer loads older history by itself. Thanks ProjectMoon.
  • Jumping to the first unread message shows the small loading indicator at the top of the chat, not a large one over the messages. Thanks ProjectMoon.

Under the hood

  • Rustrx quits cleanly when the session ends or systemd stops it.

Next: 0.8.5 with "Ring me in this room", voice messages in one tap with Pause, Discard and Send (thanks tealk), and the long-press menu in your own order.