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

Enabling Matrix encryption support #124

Open
darnir opened this issue Aug 12, 2018 · 6 comments
Open

Enabling Matrix encryption support #124

darnir opened this issue Aug 12, 2018 · 6 comments

Comments

@darnir
Copy link

darnir commented Aug 12, 2018

As the README mentions, this script currently implements only the old Olm encryption, while the matrix protocol has moved on to Megolm.

Now, I'm not a Lua programmer, but I have dabbled in it for writing scripts and extensions. My question is, what exactly is required to port this script to use the new encryption routines? From a brief glance, it looks like olm.lua is just a FFI wrapper to a C library. Is that all that is required for porting it to Megolm? If you could give me some pointers about this, I can probably try and implement the encryption support.

@tulsileathers
Copy link

Just bumping this to say I could also pitch in if needed

@RX4NT9UP
Copy link

RX4NT9UP commented Oct 2, 2018

I read the e2e support guide at https://matrix.org/docs/guides/e2e_implementation.html and it starts out:

End-to-end encryption in Matrix is based on the Olm and Megolm cryptographic ratchets. The recommended starting point for any client authors is with the libolm library, which contains implementations of all of the cryptographic primitives required. The library itself is written in C/C++, but is architected in a way which makes it easy to write wrappers for higher-level languages.

The libolm library is what olm.lua is already wrapping so it does seem to be a matter of updating the e2e implementation using the existing library. I'm not certain of the difficulty however.

@gordon-quad
Copy link

any news?

@sachaz
Copy link

sachaz commented Jan 26, 2019

ping ?

@DO1JLR
Copy link

DO1JLR commented May 6, 2019

I really hope there is progress here. I am not a expert in this topic but I realy whish this feature is comming.
@torhve is there anything you can tell us about the matrix encryption?

@daniR and @tulsileathers did you do anything?

@GTNT-Github
Copy link

super late and unlikely but anything?

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

7 participants