Skip to main content

Slixmpp OMEMO plugin

Project description

PyPI PyPI - Python Version Build Status Documentation Status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slixmpp-omemo-1.1.1.tar.gz (29.0 kB view details)

Uploaded Source

Built Distribution

slixmpp_omemo-1.1.1-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

Details for the file slixmpp-omemo-1.1.1.tar.gz.

File metadata

  • Download URL: slixmpp-omemo-1.1.1.tar.gz
  • Upload date:
  • Size: 29.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.7

File hashes

Hashes for slixmpp-omemo-1.1.1.tar.gz
Algorithm Hash digest
SHA256 23b67b89af1586c09dc8b01d757e747d8289920fd093f44bca3ec6285c972754
MD5 23e2b04cf016d1204be379651aa65882
BLAKE2b-256 283871a2a0830a32c1b7d76e4546f2a81a7738674f66321d766fba469c47515c

See more details on using hashes here.

File details

Details for the file slixmpp_omemo-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for slixmpp_omemo-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a7d0e4c857b69642459926bd36f415e61d698664a02727043f3b8f279edad301
MD5 26bf495fd4a98059b28d85cf8dc1854e
BLAKE2b-256 327405cf1ee05409106e4a548c6715e9bba4437241ec536ec195d44709447d80

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page