├── .ackrc ├── .bumpversion.cfg ├── .cookiecutterrc ├── .coveragerc ├── .editorconfig ├── .gitignore ├── .travis.yml ├── AUTHORS.rst ├── CHANGELOG.rst ├── CONTRIBUTING.rst ├── COPYING ├── MANIFEST.in ├── README.rst ├── appveyor.yml ├── ci ├── appveyor-bootstrap.py ├── appveyor-download.py ├── appveyor-with-compiler.cmd ├── bootstrap.py └── templates │ ├── .travis.yml │ └── appveyor.yml ├── docs ├── authors.rst ├── changelog.rst ├── conf.py ├── contributing.rst ├── index.rst ├── installation.rst ├── readme.rst ├── reference │ ├── index.rst │ └── omemo.rst ├── requirements.txt ├── spelling_wordlist.txt ├── usage.rst └── xep-omemo.rst ├── setup.cfg ├── setup.py ├── src ├── .gitignore ├── .style.yapf ├── COPYING ├── omemo.png └── omemo │ ├── __init__.py │ ├── aes_gcm.py │ ├── aes_gcm_fallback.py │ ├── aes_gcm_native.py │ ├── db_helpers.py │ ├── encryption.py │ ├── liteaxolotlstore.py │ ├── liteidentitykeystore.py │ ├── liteprekeystore.py │ ├── litesessionstore.py │ ├── litesignedprekeystore.py │ ├── padding.py │ └── state.py ├── tests ├── test_aes_gcm.py ├── test_db_helpers.py ├── test_encryption_store.py ├── test_migrate_encryption_state.py ├── test_omemo.py ├── test_omemo_state.py └── test_padding.py └── tox.ini /.ackrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/.ackrc -------------------------------------------------------------------------------- /.bumpversion.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/.bumpversion.cfg -------------------------------------------------------------------------------- /.cookiecutterrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/.cookiecutterrc -------------------------------------------------------------------------------- /.coveragerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/.coveragerc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/.travis.yml -------------------------------------------------------------------------------- /AUTHORS.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/AUTHORS.rst -------------------------------------------------------------------------------- /CHANGELOG.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/CHANGELOG.rst -------------------------------------------------------------------------------- /CONTRIBUTING.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/CONTRIBUTING.rst -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/COPYING -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/README.rst -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/appveyor.yml -------------------------------------------------------------------------------- /ci/appveyor-bootstrap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/ci/appveyor-bootstrap.py -------------------------------------------------------------------------------- /ci/appveyor-download.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/ci/appveyor-download.py -------------------------------------------------------------------------------- /ci/appveyor-with-compiler.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/ci/appveyor-with-compiler.cmd -------------------------------------------------------------------------------- /ci/bootstrap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/ci/bootstrap.py -------------------------------------------------------------------------------- /ci/templates/.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/ci/templates/.travis.yml -------------------------------------------------------------------------------- /ci/templates/appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/ci/templates/appveyor.yml -------------------------------------------------------------------------------- /docs/authors.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../AUTHORS.rst 2 | -------------------------------------------------------------------------------- /docs/changelog.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../CHANGELOG.rst 2 | -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/contributing.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../CONTRIBUTING.rst 2 | -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/installation.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/docs/installation.rst -------------------------------------------------------------------------------- /docs/readme.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../README.rst 2 | -------------------------------------------------------------------------------- /docs/reference/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/docs/reference/index.rst -------------------------------------------------------------------------------- /docs/reference/omemo.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/docs/reference/omemo.rst -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- 1 | sphinx>=1.3 2 | -e . 3 | -------------------------------------------------------------------------------- /docs/spelling_wordlist.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/docs/spelling_wordlist.txt -------------------------------------------------------------------------------- /docs/usage.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/docs/usage.rst -------------------------------------------------------------------------------- /docs/xep-omemo.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/docs/xep-omemo.rst -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/setup.py -------------------------------------------------------------------------------- /src/.gitignore: -------------------------------------------------------------------------------- 1 | *.py[c|o] 2 | *.swp 3 | -------------------------------------------------------------------------------- /src/.style.yapf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/src/.style.yapf -------------------------------------------------------------------------------- /src/COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/src/COPYING -------------------------------------------------------------------------------- /src/omemo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/src/omemo.png -------------------------------------------------------------------------------- /src/omemo/__init__.py: -------------------------------------------------------------------------------- 1 | __version__ = "0.1.0" 2 | -------------------------------------------------------------------------------- /src/omemo/aes_gcm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/src/omemo/aes_gcm.py -------------------------------------------------------------------------------- /src/omemo/aes_gcm_fallback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/src/omemo/aes_gcm_fallback.py -------------------------------------------------------------------------------- /src/omemo/aes_gcm_native.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/src/omemo/aes_gcm_native.py -------------------------------------------------------------------------------- /src/omemo/db_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/src/omemo/db_helpers.py -------------------------------------------------------------------------------- /src/omemo/encryption.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/src/omemo/encryption.py -------------------------------------------------------------------------------- /src/omemo/liteaxolotlstore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/src/omemo/liteaxolotlstore.py -------------------------------------------------------------------------------- /src/omemo/liteidentitykeystore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/src/omemo/liteidentitykeystore.py -------------------------------------------------------------------------------- /src/omemo/liteprekeystore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/src/omemo/liteprekeystore.py -------------------------------------------------------------------------------- /src/omemo/litesessionstore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/src/omemo/litesessionstore.py -------------------------------------------------------------------------------- /src/omemo/litesignedprekeystore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/src/omemo/litesignedprekeystore.py -------------------------------------------------------------------------------- /src/omemo/padding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/src/omemo/padding.py -------------------------------------------------------------------------------- /src/omemo/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/src/omemo/state.py -------------------------------------------------------------------------------- /tests/test_aes_gcm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/tests/test_aes_gcm.py -------------------------------------------------------------------------------- /tests/test_db_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/tests/test_db_helpers.py -------------------------------------------------------------------------------- /tests/test_encryption_store.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/tests/test_encryption_store.py -------------------------------------------------------------------------------- /tests/test_migrate_encryption_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/tests/test_migrate_encryption_state.py -------------------------------------------------------------------------------- /tests/test_omemo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/tests/test_omemo.py -------------------------------------------------------------------------------- /tests/test_omemo_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/tests/test_omemo_state.py -------------------------------------------------------------------------------- /tests/test_padding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/tests/test_padding.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/omemo/python-omemo/HEAD/tox.ini --------------------------------------------------------------------------------