gomatrix icon indicating copy to clipboard operation
gomatrix copied to clipboard

Add olm encryption

Open NotAFile opened this issue 8 years ago • 11 comments

As noted in #15 olm/megolm encryption should be added to gomatrix

I have started bindings at https://github.com/NotAFile/libolm-go

This currently only supports olm, but adding megolm support should not be hard.

The big disadvantage of this is that there is a runtime dependency on libolm.so.2 being available on the system. However I think this is a lot better than reimplementing olm.

I'm pretty new to go, so I'm not sure if perhaps e2e support could be enabled or disabled at compile time, or perhaps a different way could be found to integrate it with gomatrix. I'm thinking of something like the python ssl module which you can import separately to add TLS support to many python libraries.

NotAFile avatar Jun 21 '17 23:06 NotAFile

has something happened regarding this or in that direction since issue creation?

gsantner avatar May 11 '18 19:05 gsantner

@gsantner no, not really. My bindings should be usable though.

NotAFile avatar May 12 '18 13:05 NotAFile

hm, i totally missed these bindings existed - thanks @notafile for hacking on them

ara4n avatar May 12 '18 13:05 ara4n

is OLM fully working? looking for go libs to create a go bot for matrix but since most channels are encrypted I need it to support OLM for e2ee. does gomatrix supports this as of today? thanks.

r3k2 avatar Mar 29 '19 06:03 r3k2

Following up on this as well for bot support in encrypted channels

ordinarygulp avatar May 04 '19 09:05 ordinarygulp

Why has nobody solved this problem yet? Seems like only the official client supports e2ee

hook-s3c avatar May 06 '19 04:05 hook-s3c

@hook-s3c weechat works good with e2ee also nheko https://hispagatos.org/blog/2019-04-27-weechat-for-matrix-with-e2ee/

r3k2 avatar May 06 '19 08:05 r3k2

Is there any ETA, or any change to the status or prioritization of this issue since May?

EDIT: never mind, looked at the rest of the project and nothing's happened to anything since may, looks to be probably dead.

AlexGreason avatar Dec 16 '19 04:12 AlexGreason

We're not working on E2E in gomatrix currently - instead we put the effort into building github.com/matrix-org/pantalaimon which takes any client and allows it to speak E2EE. The likelihood is that the core team won't work on this until E2EE is on by default - and even then, we might end up working on MLS rather than olm/megolm at that point. The more independent Olm/Megolm implementations we have to implement, audit, maintain and keep secure the more time it stops us from working on next-gen stuff like MLS.

EDIT: no, the project isn't dead, it's just stable :/

ara4n avatar Dec 16 '19 09:12 ara4n

mautrix-go has basic e2ee support now

tulir avatar May 08 '20 08:05 tulir

Thanks @tulir , sad the official client is dead

TheHolyRoger avatar Aug 19 '20 17:08 TheHolyRoger