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.0.tar.gz (29.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: slixmpp-omemo-1.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 7951c88076cecaa56f97e3ce6b6d5123673c30e7c0e3543a223572f4ea371551
MD5 5cc5adf39ba08afb4ddec50a8e0be772
BLAKE2b-256 e6991ca788f9544787ea9457ea1ed9207bccfde0d6d48746e0217e42ccdfdfc8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for slixmpp_omemo-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d52130ad7c5a1b8ee69efa86a2eb97e8152b8036b2e4942d1665426872d6bfd
MD5 b51b322eaf7bd18e073d25e027551b26
BLAKE2b-256 e77a44dc1065af180eacfb83fd5c11661cb8a3841a146911e14b3b3aa653c123

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