{ "info": { "author": "Mike Gogulski", "author_email": "mike@gogulski.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: Public Domain", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Communications :: Chat", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Logging" ], "description": "XMPP-OTR logging handler for Python\n===================================\n\nThis is a Python library for logging to XMPP destinations using OTR\n(`Off-the-Record Messaging`_) encryption.\n\nFeatures\n--------\n\n- OTRv2\n- Pure python (no libotr dependency)\n- Log to multiple destinations\n- Optionally check log destinations' OTR fingerprints\n\nInstallation\n------------\n\n::\n\n $ sudo pip install --pre xmpppy # xmpppy is tagged as an \"rc\" version\n $ sudo pip install otrxmpplogger\n\nExample\n-------\n\n::\n\n from otrxmpplogger import OTRXMPPLogger\n import logging\n import time\n log = logging.getLogger()\n privkey = open('.otrprivkey', 'r').read()\n handler = OTRXMPPLogger(\n 'bradass87@jabber.ccc.de/datadiode',\n 'supersecret',\n [\n (\n 'mendax@jabber.wikileaks.org',\n '33eb6b01c97ceba92bd6b5e3777189c43f8d6f03'\n ),\n 'esnowden@chat.nsa.gov'\n ],\n privkey\n )\n\n log.addHandler(handler)\n log.debug('setting up OTR') # Trigger OTR setup\n time.sleep(3) # Give OTR a little while to go active\n log.critical('@6 is a rat!')\n\nNotes\n-----\n\n- XMPP invitations are not handled\n- It seems to take roughly 3 seconds to set up an OTR session. Messages\n logged before the session is ready may be lost.\n\nDependencies\n------------\n\n- `xmpppy`_ (>= 0.4.1)\n- `pure-python-otr`_ (>= 1.0.0)\n- `otrxmppchannel`_ (>= 1.0.3)\n\nAuthor\n------\n\n- `Mike Gogulski`_ - https://github.com/mikegogulski\n\nDonations\n---------\n\nIf you found this software useful and would like to encourage its\nmaintenance and further development, please consider making a donation\nto the Bitcoin address ``13RrGMM1YUduzSrw5BhE7BXFGPtBDQYnpQ``.\n\nLicense\n-------\n\nThis is free and unencumbered public domain software. For more\ninformation, see http://unlicense.org/ or the accompanying UNLICENSE\nfile.\n\n.. _Off-the-Record Messaging: https://otr.cypherpunks.ca/\n.. _xmpppy: http://xmpppy.sourceforge.net/\n.. _pure-python-otr: https://github.com/afflux/pure-python-otr\n.. _otrxmppchannel: https://github.com/mikegogulski/python-otrxmppchannel\n.. _Mike Gogulski: mailto:mike@gogulski.com", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mikegogulski/python-otrxmpplogger", "keywords": null, "license": "Unlicense", "maintainer": null, "maintainer_email": null, "name": "OTRXMPPLogger", "package_url": "https://pypi.org/project/OTRXMPPLogger/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/OTRXMPPLogger/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mikegogulski/python-otrxmpplogger" }, "release_url": "https://pypi.org/project/OTRXMPPLogger/1.0.3/", "requires_dist": null, "requires_python": null, "summary": "Logging with OTR (Off-the-Record Messaging) and XMPP", "version": "1.0.3" }, "last_serial": 1040343, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "257f2926ec9d1059a595c482d86578c2", "sha256": "865c5bd8f2f6d55dac42eba3d626ce3a001e56480d5dad1c3d11543b24c8d119" }, "downloads": -1, "filename": "OTRXMPPLogger-1.0.0.tar.gz", "has_sig": true, "md5_digest": "257f2926ec9d1059a595c482d86578c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2846, "upload_time": "2014-03-23T16:43:55", "url": "https://files.pythonhosted.org/packages/0b/52/36000648f6bce71ab16471f0223e811789c9591f344ee1a46665633e6e27/OTRXMPPLogger-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "7eac931ccd31cc5d819fcf7421356eca", "sha256": "caa03c199be605cf24dad40e5bec8016a7f5a962bd1132f78b8fe196e69dfc67" }, "downloads": -1, "filename": "OTRXMPPLogger-1.0.1.tar.gz", "has_sig": true, "md5_digest": "7eac931ccd31cc5d819fcf7421356eca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2854, "upload_time": "2014-03-23T16:45:25", "url": "https://files.pythonhosted.org/packages/8b/fa/2e94401e298c9bdd90304f13ddaa4b2e985824544792735d17d3f2520d9c/OTRXMPPLogger-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "f12e3aff947d8bb142efa254111c2165", "sha256": "b75500a4996158548f2b778dbee40e4f9bf7f2cc639c40b1a2e3fe1cea4d1adc" }, "downloads": -1, "filename": "OTRXMPPLogger-1.0.2.tar.gz", "has_sig": true, "md5_digest": "f12e3aff947d8bb142efa254111c2165", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2922, "upload_time": "2014-03-25T11:07:37", "url": "https://files.pythonhosted.org/packages/bb/2c/1f30c505969f5ecb6aa343779626dcdee4f4e88f5364a7702123d4aef178/OTRXMPPLogger-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "054634f76721adb5e8cb82f76f93f5a1", "sha256": "cabef87a896d51e27817079d664866a917666805160c267af1e2db3a5aa1f86d" }, "downloads": -1, "filename": "OTRXMPPLogger-1.0.3.tar.gz", "has_sig": true, "md5_digest": "054634f76721adb5e8cb82f76f93f5a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2917, "upload_time": "2014-03-25T11:12:40", "url": "https://files.pythonhosted.org/packages/69/f3/9cce57702be412f532b4065f4ecbc21eae67fecd6b73dbdede6f03fa68ce/OTRXMPPLogger-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "054634f76721adb5e8cb82f76f93f5a1", "sha256": "cabef87a896d51e27817079d664866a917666805160c267af1e2db3a5aa1f86d" }, "downloads": -1, "filename": "OTRXMPPLogger-1.0.3.tar.gz", "has_sig": true, "md5_digest": "054634f76721adb5e8cb82f76f93f5a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2917, "upload_time": "2014-03-25T11:12:40", "url": "https://files.pythonhosted.org/packages/69/f3/9cce57702be412f532b4065f4ecbc21eae67fecd6b73dbdede6f03fa68ce/OTRXMPPLogger-1.0.3.tar.gz" } ] }