anoadragon453 / nio-template

A template for creating matrix bots in python with matrix-nio
Apache License 2.0
79 stars 27 forks source link

Add docs for installing encryption deps and enabling encryption #5

Open anoadragon453 opened 4 years ago

anoadragon453 commented 4 years ago

Because who knows how to build libolm from source amirite

anant-pathak commented 4 years ago

Hey, have you been able to figure it out? If yes can you add the whole process of OLM integration with NIO. Thanks

rev138 commented 4 years ago

pip install python-olm cachetools atomicwrites peewee did it for me

PeterSR commented 4 years ago

For Ubuntu/Debian, it is luckily as easy as

sudo apt install libolm-dev

followed by @rev138's command.

Perhaps the Docker image can be helpful: https://github.com/poljar/matrix-nio/blob/master/docker/build_and_install_libolm.sh