Elixir wrapper for Olm, an implementation of the Double Ratchet cryptographic ratchet.
Olm is a native C library. The library is packaged by several distributions.
On Debian one can install it like so:
apt install libolm-dev
On Darwin:
brew install libolm
If you're on Apple Silicon you may also need to (see #35):
export CPATH=/opt/homebrew/include
export LIBRARY_PATH=/opt/homebrew/lib
The package can be installed by adding olm
to your list of dependencies in
mix.exs
:
def deps do
[
{:olm, "~> 0.1.0-rc"}
]
end
The docs can be found at https://hexdocs.pm/olm.