jOlm provides Java bindings to the C-API of the Olm cryptographic library used by Matrix.
- Java SE 1.8
- Olm 3.2.8 or higher
jOlm uses Java Native Access (JNA) and currently requires Olm to be installed. How to get Olm:
- Use your favorite package manager to install it (Linux, macOS)
- Download the latest version and build it yourself
<dependency>
<groupId>io.github.brevilo</groupId>
<artifactId>jolm</artifactId>
<version>1.1.1</version>
</dependency>
Using maven: mvn install
Important: upstream libolm
is being superseded by vodozemac (alongside matrix-sdk-crypto). Consequently, all developers are encouraged to start migrating away from libolm
. Thus the development of jOlm will be put on hiatus, with release v1.1.1 marking its final release for the time being.
- Maturity: stable / inactive
- Open TODOs:
- Security audit
- Memory management audit