Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] End-to-end encryption support #18

Open
giordy opened this issue Oct 17, 2016 · 23 comments
Open

[Feature Request] End-to-end encryption support #18

giordy opened this issue Oct 17, 2016 · 23 comments

Comments

@giordy
Copy link

giordy commented Oct 17, 2016

I'm adding this feature request because I don't see end-to-end encryption mentioned among the not-yet-supported features.

Given the distributed nature of Matrix, with messages landing on N possible unknown servers it would be nice to have it.

@pravi
Copy link

pravi commented Dec 28, 2016

If purple-olm is made a separate plugin, then xmpp/omemo can reuse it as well. see https://developer.pidgin.im/ticket/16801

@penguin42
Copy link
Contributor

I've started doing some work on this, but slowly, so far seem to have uploaded the keys OK and I'm starting to receive d2d messages.
https://github.com/penguin42/purple-matrix/tree/crypto

@PeaceRebel
Copy link

Hello, I can with the project. It seems @penguin42 have already made some advances. If he doesn't work on this anymore, I can continue with it. But I may need somebody to mentor me. @pravi

@axelsimon
Copy link

If purple-olm is made a separate plugin, then xmpp/omemo can reuse it as well. see https://developer.pidgin.im/ticket/16801

OMEMO has, essentially, been resolved on Pidgin, thanks to the Lurch plugin:
https://github.com/gkdr/lurch

There might be some possible code reuse there.

@richvdh richvdh mentioned this issue Jul 24, 2017
@andreygursky
Copy link

@penguin42, thanks for your efforts! Is #70 a first step or already usable E2E support (perhaps with known limitations)?

@rodneyrod
Copy link

How's the progress on this coming along?

@ghost
Copy link

ghost commented Aug 3, 2018

I see #70 has not been merged. It quite been a while.
@penguin42 I'm thinking what can I help, although I have no encryption development experience.

@richvdh
Copy link
Member

richvdh commented Aug 3, 2018

I've merged #70. I believe it provides decryption support, but encryption is not yet supported.

@marcelvb
Copy link

Great work so far, but is there any idea if encryption is ever supported? I'm trying to use matrix using riot.im web, riot android app and bitlbee (via libpurple). All seem to have different level of support for encryption and verification and it's very complicated now if you want to use them together.

@darnir
Copy link

darnir commented May 7, 2019

IMO, if you want to use encryption on the Matrix protocol, the reference Riot clients are your best bet. On all other clients encryption support is currently a hit-n-miss.

@zyphlar
Copy link

zyphlar commented Jan 20, 2020

I just installed and tried receiving encrypted messages in two different encrypted chats, no dice (via Pidgin, Ubuntu). My messages come through unencrypted, but I can't see any other messages. Unencrypted chat rooms work fine.

@x10d
Copy link

x10d commented Aug 11, 2020

There is no way to create a new channel without encryption, so now this end-to-end encryption has become a necessity.

@richvdh
Copy link
Member

richvdh commented Aug 11, 2020

https://github.com/matrix-org/pantalaimon/ might help those wanting to use e2e in clients where support is incomplete

@t3chguy
Copy link
Member

t3chguy commented Aug 11, 2020

There is no way to create a new channel without encryption

In what?
Element lets you create unencrypted rooms
for DMs it'll enable E2EE only if both participants have E2EE keys uploaded.

@adabru
Copy link
Contributor

adabru commented Oct 8, 2020

I didn't get pantalaimon to work with pidgin (on Arch with swaywm). It worked with fractal though, another matrix client. Furthermore I couldn't find a way in element.io to disable encryption entirely. There is an option to have an unencrypted room during creation, but a room can't be unencrypted after it was encrypted. Furthermore I didn't find a way to unencrypt incoming DMs. Outgoing DMs are sent unencrypted all fine but I couldn't receive any messages.
So yeah, I'd agree with x10d, for me this plugin is sadly unusable in pidgin without e2ee. If you participate in encrypted matrix communication with pidgin, please let me know how you do that. In the meantime I'll probably use another specialized matrix client in parallel.

@x10d
Copy link

x10d commented Oct 8, 2020

Yes, there is possibility to create a new channel without encryption - and this is only way to communicate with others.
With DM there's no way to use it with Pidgin. Instead of DM, I have to ask to create separate channel to get it work without E2EE.
I didn't get pantalaimon to work with pidgin, either.

@ghost
Copy link

ghost commented Dec 3, 2020

Do we have any news on this? Currently I'm not even receiving encrypted 1-on-1 messages on Pidgin.

@jaakristioja
Copy link

It seems that encrypted messages are just dropped. Not even a notification about receiving an encrypted message. Nothing.

I only found out that I've been ignoring my manager after he e-mailed me after a number of days.

@x10d
Copy link

x10d commented Apr 11, 2022

I can only agree. Nothing comes from matrix-server to me, if I'm on encrypted channel.
My messages are sent to matrix-server and there they are visible as unencrypted.
If someone says 'you must be doing something wrong' - please show your recipe to do it properly.

@richvdh
Copy link
Member

richvdh commented Apr 11, 2022

See the update at https://github.com/matrix-org/purple-matrix/blob/master/README.md#update-20220411.

@marcelvb
Copy link

I'm using matrix with libpurple in bitlbee. Is there any alternative to libpurple?

@martinetd
Copy link

shameless plug if folks are still looking for a way of joining matrix through their beloved irc clients -- feel free to give https://github.com/martinetd/matrirc a try.
It's not perfect but the heavy lifting is done through the matrix rust sdk and has been working for a few years with e2e/queries/channels, so hopefully if people care about something that's not done yet it'll be easier than purple-matrix.

Sorry if this was out of line, feel free to remove this comment but I was discussing bridges with friends and got pointed at this issue, plus the note in the README saying this is unmaintained, figured it might interest more than my inner circle.

@mkf
Copy link

mkf commented May 2, 2024

for emacs users, ement might be of interest. also relies on pantalaimon for e2ee. in some ways, it's closer to a less-specialized client than a barebones terminal TUI client.

(i btw intend to see about pidgin with this plugin here & pantalaimon soon, will report if it works)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests