Metadata-Version: 2.4
Name: slixmpp-omemo
Version: 2.1.0
Summary: OMEMO plugin for Slixmpp
Author-email: "Tim Henkes (Syndace)" <me@syndace.dev>
Maintainer-email: "Tim Henkes (Syndace)" <me@syndace.dev>
License-Expression: AGPL-3.0-only
Project-URL: Documentation, https://slixmpp-omemo.readthedocs.io/
Project-URL: Repository, https://github.com/Syndace/slixmpp-omemo
Project-URL: Issues, https://github.com/Syndace/slixmpp-omemo/issues
Project-URL: Changelog, https://github.com/Syndace/slixmpp-omemo/blob/main/CHANGELOG.md
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Intended Audience :: Developers
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Internet :: XMPP
Classifier: Topic :: Security :: Cryptography
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: slixmpp<2,>=1.8.0
Requires-Dist: OMEMO<3,>=2.0.0
Requires-Dist: Oldmemo[xml]<3,>=2.0.0
Requires-Dist: Twomemo[xml]<3,>=2.0.0
Requires-Dist: typing-extensions>=4.4.0
Provides-Extra: docs
Requires-Dist: sphinx; extra == "docs"
Requires-Dist: sphinx-autodoc-typehints; extra == "docs"
Requires-Dist: sphinx-rtd-theme; extra == "docs"
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-asyncio; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Provides-Extra: lint
Requires-Dist: flake8; extra == "lint"
Requires-Dist: flake8-pyproject; extra == "lint"
Requires-Dist: mypy; extra == "lint"
Requires-Dist: pylint; extra == "lint"
Provides-Extra: dev
Requires-Dist: slixmpp-omemo[docs,lint,test]; extra == "dev"
Dynamic: license-file

[![PyPI](https://img.shields.io/pypi/v/slixmpp_omemo.svg)](https://pypi.org/project/slixmpp_omemo/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/slixmpp_omemo.svg)](https://pypi.org/project/slixmpp_omemo/)
[![Build Status](https://github.com/Syndace/slixmpp-omemo/actions/workflows/test-and-publish.yml/badge.svg)](https://github.com/Syndace/slixmpp-omemo/actions/workflows/test-and-publish.yml)
[![Documentation Status](https://readthedocs.org/projects/slixmpp-omemo/badge/?version=latest)](https://slixmpp-omemo.readthedocs.io/)

# slixmpp-omemo - Slixmpp OMEMO plugin #

A plugin for slixmpp offering the [OMEMO Multi-End Message and Object Encryption protocol](https://xmpp.org/extensions/xep-0384.html), based on [python-omemo](https://github.com/Syndace/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](https://xmpp.org/extensions/xep-0420.html).

## Trust ##

Supports [Blind Trust Before Verification](https://gultsch.de/trust.html) 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](https://docs.pytest.org/en/latest/) as its testing framework, [mypy](http://mypy-lang.org/) for static type checks and both [pylint](https://pylint.pycqa.org/en/latest/) and [Flake8](https://flake8.pycqa.org/en/latest/) for linting. All tests/checks can be run locally with the following commands:

```sh
$ pip install --upgrade .[test,lint]
$ mypy slixmpp_omemo/ examples/ tests/
$ pylint slixmpp_omemo/ examples/ tests/
$ flake8 slixmpp_omemo/ examples/ tests/
$ pytest
```

## Getting Started ##

Refer to the documentation on [readthedocs.io](https://slixmpp-omemo.readthedocs.io/), or build it locally. Additional requirements to build the docs can be installed using `pip install .[docs]`. With all dependencies installed, run `make html` in the `docs/` directory. The documentation can then be found in `docs/_build/html/`.
