#mls #end-to-end-encryption #e2ee #ietf #encryption #rfc9420

openmls

A Rust implementation of the Messaging Layer Security (MLS) protocol, as defined in RFC 9420

13 releases

0.6.0 Sep 4, 2024
0.6.0-pre.1 Jul 24, 2024
0.5.0 Jul 20, 2023
0.4.1 Jun 7, 2022
0.2.0 Nov 10, 2020

#136 in Cryptography

Download history 97/week @ 2024-08-22 83/week @ 2024-08-29 45/week @ 2024-09-05 52/week @ 2024-09-12 67/week @ 2024-09-19 92/week @ 2024-09-26 62/week @ 2024-10-03 47/week @ 2024-10-10 49/week @ 2024-10-17 97/week @ 2024-10-24 70/week @ 2024-10-31 19/week @ 2024-11-07 38/week @ 2024-11-14 15/week @ 2024-11-21 74/week @ 2024-11-28 270/week @ 2024-12-05

397 downloads per month
Used in p2panda-rs

MIT license

2MB
41K SLoC

OpenMLS

OpenMLS Chat OpenMLS List

Tests & Checks codecov

Docs Book Rust Version

OpenMLS is a Rust implementation of the Messaging Layer Security (MLS) protocol, as specified in RFC 9420.

It is a software library that can serve as a building block in applications that require end-to-end encryption of messages. It has a safe and easy-to-use interface that hides the complexity of the underlying cryptographic operations.

Supported ciphersuites

  • MLS_128_HPKEX25519_AES128GCM_SHA256_Ed25519 (MTI)
  • MLS_128_DHKEMP256_AES128GCM_SHA256_P256
  • MLS_128_HPKEX25519_CHACHA20POLY1305_SHA256_Ed25519

Supported platforms

OpenMLS is built and tested on the Github CI for the following rust targets.

  • x86_64-unknown-linux-gnu
  • i686-unknown-linux-gnu
  • x86_64-pc-windows-msvc
  • i686-pc-windows-msvc
  • x86_64-apple-darwin

Unsupported, but built on CI

The Github CI also builds (but doesn't test) the following rust targets.

  • aarch64-apple-darwin
  • aarch64-unknown-linux-gnu
  • aarch64-linux-android
  • aarch64-apple-ios
  • aarch64-apple-ios-sim
  • wasm32-unknown-unknown
  • armv7-linux-androideabi
  • x86_64-linux-android
  • i686-linux-android

OpenMLS supports 32 bit platforms and above.

Cryptography Dependencies

OpenMLS does not implement its own cryptographic primitives. Instead, it relies on existing implementations of the cryptographic primitives used by MLS. There are two different cryptography providers implemented right now. But consumers can bring their own implementation. See traits for more details.

Working on OpenMLS

For more details when working on OpenMLS itself please see the Developer.md.

Maintenance & Support

OpenMLS is maintained and developed by Phoenix R&D and Cryspen.

Acknowledgements

Zulip graciously provides the OpenMLS community with a "Zulip Cloud Standard" tier Zulip instance.

Dependencies

~2–13MB
~163K SLoC