this post was submitted on 08 Sep 2025
126 points (98.5% liked)

Selfhosted

61409 readers
563 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Some years ago, I hosted my own matrix server for a few months. I'm an experienced self-hoster, but I remeber that Matrix was paticularly hard to host, requiring weird proxy rules, DNS adjustments, federation never worked reliably and push notifications never worked at all. I ditched the project soon because I also had no real use for it. However, I recently had some ideas where a Matrix server would be useful again. Has anyone attempted to install it recently and can tell me whether the situation has improved? Also, which server do you recommend? There still is synapse but I found it paticularly complicated to host. Dendrite is now archived and the current fork seems to be tuwunel which doesn't seem to be under very active development.

you are viewing a single comment's thread
view the rest of the comments
[–] suzune@ani.social 1 points 11 months ago (2 children)

If users cannot do anything because all encryption keys are lost, then they need to know that and also how to avoid the situation in the future.

I think it's not a bug. It's simply no one online who can share a decryption key.

[–] WhyJiffie@sh.itjust.works 2 points 11 months ago

its often a bug, because the clients who have the keys don't know they should retry sending.

but also it's all been fixed a year ago as I know. I don't usually use dm rooms and public ones are not encrypted, so I wouldn't know if I didn't read about it.

[–] JadedBlueEyes@programming.dev 0 points 11 months ago (1 children)

Matrix encryption keys don't need other people online - they get queued up as messages for each device you have.

[–] suzune@ani.social 1 points 11 months ago (1 children)

https://matrix.org/docs/matrix-concepts/end-to-end-encryption/

Key sharing When an event cannot be decrypted due to missing keys, a client may want to request them from other clients which may have them.

[–] JadedBlueEyes@programming.dev 1 points 11 months ago

That page seemed outdated, but: From further down that page:

The recommended strategy is to share the keys automatically only to verified devices of the same user

This is the same situation where the key backup is accessible - which is not described on that page, but it's a key store of all the megolm keys. This is what is now generally used instead of that as it doesn't require devices to be online and allows recovering keys if all devices are lost.