I am searching for a selfhosted and secure (end to end encryption) chat platform for my family (5-20 users), possibly one i can host on a raspi.

Is matrix a good choice, or should i try something else?

  • Im_old@lemmy.world
    link
    fedilink
    English
    arrow-up
    28
    ·
    5 months ago

    I’ve been using matrix for years to this purpose, but moving to xmpp/prosody now

      • Im_old@lemmy.world
        link
        fedilink
        English
        arrow-up
        25
        arrow-down
        1
        ·
        5 months ago

        No.

        Yeah ok. First of all, because I can 😁. I mean z what’s good being an IT nerd if I can’t change stuff when I want?

        Jokes aside, I’ve been reading more recently on matrix and looks like there are some security issues in the design of the app/protocol. I’m on mobile now, I’ll look for sources when I’m on pc. Also I don’t like that it is a server centric system (so data is primarily on the server instead of the clients). Also it takes more resources than I was expecting. For less than 10 users I can’t have less than 4gb of ram (on a dedicated debian server, running docker) or it swaps so much it kills the system.

        So basically I’m testing out if xmpp is a better system for those issues.

      • Im_old@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 months ago

        Gajim on pc (I use arch btw - well endeavourOS because I can’t be bothered) and don’t remember what on android (there is the full list or clients and capabilities on xmpp.org)

  • oldfart@lemm.ee
    link
    fedilink
    English
    arrow-up
    19
    ·
    edit-2
    5 months ago

    XMPP. It just works, requires very little resources, is stable and has decent clients.

    I would go with Snikket instead of Prosody if I had been starting now.

    Conversations on phones, Dino or Gajim on PCs, plus a conversejs install on the xmpp server, to allow web access when needed.

    Conversations is easy for the family to figure out.

    • Mom Nom Mom@nom.mom
      link
      fedilink
      English
      arrow-up
      12
      ·
      5 months ago

      This is what my family (and a few friends) use. We have been using it for a while now because it just works. Also, the kids have never complained about using Conversations, or about using it only for us (like if you have that one family member who won’t leave SMS behind - we’re that guy, I guess), and we can make as many channels as we need for the house, the kids, with each kid individually, for our MTG cards, with our couple of friends that use it, etc…

      I don’t personally do the hosting, so I can’t speak to that. That’s the hubby’s thing
      ¯\_(ツ)_/¯

  • adr1an@programming.dev
    link
    fedilink
    English
    arrow-up
    15
    ·
    5 months ago

    E2E is complicated, if you self-host for a group, having TLS and encrypting data at rest (storage) may be enough. Get a threat model. That being said, I would recommend snikket.org which is a superset of extensions over XMPP which is the open source IM that was the base of almost every app out there. Matrix and Rocket are both alright too. Depends too on your resources, synapse requires too much RAM (or so I heard)

  • geography082@lemm.ee
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    2
    ·
    5 months ago

    Still no suggestion that has wide cross platform and it’s just simple . Matrix has that all . So for now I choose matrix and clients

    • poVoq@slrpnk.net
      link
      fedilink
      English
      arrow-up
      6
      ·
      5 months ago

      Lol, Snikket/xmpp has been suggested multiple times, and it is as good if not better regarding “wide cross platform” support. To get the same with Matrix you basically have to use a web-client or Electron, while XMPP has very efficient native clients.

      • iarigby@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 months ago

        just looked it up and couldn’t find a decent client for ios. There was Monal but it looks more like a draft rather than a finished application. Things don’t even have padding or margins. The snikket one I won’t even mention, you can’t expect people to use something that gives them visual discomfort.

        • ambitiousslab@lemmy.ml
          link
          fedilink
          English
          arrow-up
          3
          ·
          5 months ago

          I originally suggested Monal to my friend (who is quite into iOS and really appreciates a well designed application) and she found the same, but then she tried Siskin, and was happy enough to use it to this day.

      • EngineerGaming@feddit.nl
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 months ago

        I am suspicious of it because you pretty much cannot host a node. Well, you can - but you’d have to deposit an INSANE amount of money (like $2k or something). While Simplex, even though I do have a concern with its initial centralization by the power of default, is decidedly easy to selfhost.

        • teawrecks@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          4
          ·
          5 months ago

          Simplex is the first platform I’ve heard of that doesn’t use IDs (which doesn’t make much sense to me, practically, but sure). So would you say everything is less secure than simplex?

          • Rebellious Trickster@monero.town
            link
            fedilink
            English
            arrow-up
            5
            ·
            5 months ago

            I say it depends on what you are looking for. Depends on your “threat model” – among other things.

            For example, if you are looking for something more private (smaller chance on linking identities with digital footprint, smaller chance on identifying a person, etc), I suggest SimpleX. They also have a great protocol. Their white paper is worth reading as well. But it might be a little challenging for non-tech people. And the thing is still in development.

            If you don’t mind Session’s IDs (after all you can still store them somewhere and change them), it’s a good one. The protocol is promising, and they have a nice white paper. Unlike SimpleX, it’s much easier to set up for a non-tech person, although it’s also in development.

            XMPP (Conversations, Monal, etc) rely on a well-known technology, and it is stable. And the interface doesn’t scream “hacking”, " techy" etc.

            Lastly, Delta Chat is also a nice project, with a well-known record. The interface looks super convenient and familiar. And the functionality is feature-rich enough in case you want to doe something special.

            I would say the thing with IDs (or absence of IDs) is yet another layer that ensures privacy and security. But all of the apps are secure enough. Even Signal is secure enough if you don’t mind exposing your phone number.

            I guess the real question is about convenience. That is, knowing about SimpleX, Session, XMPP, and DeltaChat, which one is convenient, private enough, and secure enough for your particular case.

  • kugmo@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    3
    ·
    5 months ago

    I know it’s not self hosted but why not Signal? Matrix is demanding on a SBC and your family would probably get the ‘unable to decrypt message, please re-verify keys’ error that happens in encrypted matrix group chats and Element does not have the best UI especially if you want your grandma to use it.

    • Senshi@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      5 months ago

      What’s your source on the reverify thing? I use matrix a lot, and this hasn’t been an issue I ever experienced anymore since they introduced cross-signing a couple years ago.

      Same goes for the common clients such as element. It has been clunky in the past, but after the past major overhauls ( also years ago now) everything has been silky smooth for me, if not better than others. The one thing left I prefer from Signal is the one-time photo share.

      Matrix is great, clients are great too, only the server part still is annoyingly complicated and messy. Would only recommend that for tinkerers, on that case it’s a great path to learning about the complexity of addressing lots of security concerns that others gloss over.

      Edit: to add - there’s a reason why the French government and the German military decided to build their secure internal IM infrastructure on Matrix. Obviously they are hosting their own private network, but if the concept is good enough for European government and military, it is an indicator for quality especially in terms of security and privacy.

  • youmaynotknow@lemmy.ml
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    5 months ago

    I just have my kids, wife, close friends and in-laws on SimpleX.

    Sure, some of them use mainstream stuff as well, but if they want to reach me, that’s their only option.

    Matrix is a pretty good choice for self-hosted. The reason I don’t do it is because I’ve become lazy lately.

  • foremanguy@lemmy.ml
    link
    fedilink
    English
    arrow-up
    8
    ·
    5 months ago

    For me you can try to host a SimpleX server and then connect to it (with SimpleX it is pretty as much secure to run its one server than use a public one).

    Or maybe use XMPP but try to use a good encryption protocol. This option is great in term of power efficiency, XMPP would run great on a RasPI

    • EngineerGaming@feddit.nl
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      Did you have trouble setting up XFTP one? SMP was fine but XFTP seemed to have some error in the systemd settings provided in the manual.

  • derbolle@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    5 months ago

    matrix should cover everything you need with the added bonus that you can chat with people from other instances

  • Churbleyimyam@lemm.ee
    link
    fedilink
    English
    arrow-up
    6
    ·
    5 months ago

    You could try Jami. It’s peer to peer, so essentially any participants are self-hosting it. Its E2E encrypted, supports group messaging, voice and video calling, has easily ‘linkable’ mobile and desktop apps for all platforms and requires no email address or phone number to use. It’s also the only messenger I’m aware of which is endorsed by the Free Software Foundation. I highly recommend it 👌

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    5 months ago

    Simplex chat would work

    However, I wouldn’t host on a Raspberry Pi or even at home for that matter. Get a VPS and host it there. Linode even has a one click app install for Simplex Chat

    • philpo@feddit.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      Depends. If you use an intermediary layer like Yunohost/Cloudron/etc. or now your way around docker it’s manageable easily.