Slixmpp OMEMO plugin
Project description
slixmpp-omemo - Slixmpp OMEMO plugin
A plugin for slixmpp offering the OMEMO Multi-End Message and Object Encryption protocol, based on python-omemo.
OMEMO protocol version support
Currently supports OMEMO in the eu.siacs.conversations.axolotl
namespace.
Support for OMEMO in the omemo:2
namespace is prepared and will be enabled as soon as Slixmpp gains support for XEP-0420: Stanza Content Encryption.
Trust
Supports Blind Trust Before Verification and manual trust management.
Installation
Install the latest release using pip (pip install slixmpp_omemo
) or manually from source by running pip install .
in the cloned repository.
Testing, Type Checks and Linting
slixmpp-omemo uses pytest as its testing framework, mypy for static type checks and both pylint and Flake8 for linting. All tests/checks can be run locally with the following commands:
$ pip install --upgrade pytest pytest-asyncio pytest-cov mypy pylint flake8
$ mypy --strict --disable-error-code str-bytes-safe --untyped-calls-exclude=slixmpp slixmpp_omemo/ setup.py examples/ tests/
$ pylint slixmpp_omemo/ setup.py examples/ tests/
$ flake8 slixmpp_omemo/ setup.py examples/ tests/
$ pytest --cov=slixmpp_omemo --cov-report term-missing:skip-covered
Getting Started
Refer to the documentation on readthedocs.io, or build/view it locally in the docs/
directory. To build the docs locally, install the requirements listed in docs/requirements.txt
, e.g. using pip install -r docs/requirements.txt
, and then run make html
from within the docs/
directory. The documentation can then be found in docs/_build/html/
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file slixmpp-omemo-1.2.2.tar.gz
.
File metadata
- Download URL: slixmpp-omemo-1.2.2.tar.gz
- Upload date:
- Size: 29.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae39dcf47f67d891f079dead87e4ce97cf6b7e70916e4245ccb2215955f976cf |
|
MD5 | 3b1a55a306b9c092509b008ff8323302 |
|
BLAKE2b-256 | 512b95c2e2e460a4e0aec574958ba553d9f05ce2c1983bccbcc4c5c278d312df |
File details
Details for the file slixmpp_omemo-1.2.2-py3-none-any.whl
.
File metadata
- Download URL: slixmpp_omemo-1.2.2-py3-none-any.whl
- Upload date:
- Size: 28.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bd7aeec87a086ed448dd7ac5f4092b1a8795a501fec33494b4b418d1bd3740a |
|
MD5 | e921a75db3f8e663dca2199b593d3273 |
|
BLAKE2b-256 | 71f770b7659d06a0c15c3b18665bca87c1f5ab9a544d05baec5165d285a5c251 |