Open darnir opened 6 years ago
Just bumping this to say I could also pitch in if needed
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.
any news?
ping ?
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?
super late and unlikely but anything?
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.