{ "info": { "author": "metagriffin", "author_email": "mg.pypi@metagriffin.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "=================\nejabberd-htpasswd\n=================\n\nYet another ejabberd authentication bridge that uses apache-style\n.htpasswd files.\n\n.. WARNING::\n\n Currently, **ONLY** bcrypt-type hash passwords are supported in the\n htpasswd file, i.e. hashes that start with ``$2a$`` or ``$2y$``.\n\n\nProject\n=======\n\n* Homepage: https://github.com/metagriffin/ejabberd-htpasswd\n* Bugs: https://github.com/metagriffin/ejabberd-htpasswd/issues\n\n\nInstallation\n============\n\n.. code:: bash\n\n $ sudo apt-get install libffi-dev\n $ pip install ejabberd-htpasswd\n\n\nConfiguration\n=============\n\nUpdate the authentication configuration in your\n``/etc/ejabberd/ejabberd.cfg`` file:\n\n.. code:: erlang\n\n {auth_method, external}.\n {extauth_program, \"/usr/local/bin/ejabberd-htpasswd /path/to/htpasswd\"}.\n %% optional -- update as appropriate\n %% {extauth_instances, 2}.\n %% {extauth_cache, 300}.\n\n\nOptions\n=======\n\nThe `ejabberd-htpasswd` script takes one optional positional argument,\nthe fully-qualified path to the \".htpasswd\" file, and several optional\nparameters:\n\n* ``-d``, ``--debug``:\n\n Enable debug mode for more stuff in the log files.\n\n* ``-l {FILENAME}``, ``--log-file {FILENAME}``:\n\n The log file name, which will be rotated as defined by ``-s`` and\n ``-c``; default: ``/var/log/ejabberd/auth-htpasswd.log``.\n\n* ``-s BYTES``, ``--log-size BYTES``:\n\n specify the maximum size of the log file in bytes before the log\n file is rotated; default: 1048576 (1 MB).\n\n* ``-c NUMBER``, ``--log-count NUMBER``:\n\n specify the maximum number of log rotation files; default: 10.\n\n* ``-t EXPR``, ``--domain-transform EXPR``:\n\n specify a \"sed\"-style substitution expression for domain name\n transformation; example: ``/.*\\.example\\.com$/example\\.com/``. Note\n that when placed in the ejabberd config file, several layers of\n escaping must be done, so you'll need something like this to\n accomplish the above:\n\n .. code:: erlang\n\n {extauth_program,\n \"/usr/local/bin/ejabberd-htpasswd \\\\\n -t /.*\\\\\\\\.example\\\\\\\\.com$/example.com/ \\\\\n /path/to/htpasswd\"}.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/metagriffin/ejabberd-htpasswd", "keywords": "ejabberd external authentication apache htpasswd", "license": "GPLv3+", "maintainer": "", "maintainer_email": "", "name": "ejabberd_htpasswd", "package_url": "https://pypi.org/project/ejabberd_htpasswd/", "platform": "any", "project_url": "https://pypi.org/project/ejabberd_htpasswd/", "project_urls": { "Homepage": "http://github.com/metagriffin/ejabberd-htpasswd" }, "release_url": "https://pypi.org/project/ejabberd_htpasswd/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "Yet another ejabberd authentication bridge that uses apache-style htpasswd files", "version": "0.1.3" }, "last_serial": 2503252, "releases": { "0.1.0": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "b988f7c4ffdb400eb5feea73f7b24e4b", "sha256": "eb5d33d2b06c863188e924e42762edd25966fe2f96415bf5a55d071b854fce34" }, "downloads": -1, "filename": "ejabberd_htpasswd-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b988f7c4ffdb400eb5feea73f7b24e4b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18590, "upload_time": "2016-06-09T18:32:04", "url": "https://files.pythonhosted.org/packages/7d/bb/563d98402bb19cfc118f0fa1e628f3256a11b72ec6e094ccc65a18a732ed/ejabberd_htpasswd-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "9ddc49ab6507a65fcb4773de3398a5e9", "sha256": "6a65439d6ac75e3129d49aaf42d1c1748bdb2d4235aed1e4c82fa4bd91ee20c1" }, "downloads": -1, "filename": "ejabberd_htpasswd-0.1.2.tar.gz", "has_sig": false, "md5_digest": "9ddc49ab6507a65fcb4773de3398a5e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18761, "upload_time": "2016-06-09T19:01:50", "url": "https://files.pythonhosted.org/packages/d2/63/4de18f710dea54a39e2f8ab5fdc7c0236d962158c7df74ba4229f974155f/ejabberd_htpasswd-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "266aeb6fd5197e03557323b9695d91bb", "sha256": "4ae834bf6ae33cef1053b7481c3a95d210fcdc7e456019e72297f581239a477b" }, "downloads": -1, "filename": "ejabberd_htpasswd-0.1.3.tar.gz", "has_sig": false, "md5_digest": "266aeb6fd5197e03557323b9695d91bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17360, "upload_time": "2016-12-06T18:57:28", "url": "https://files.pythonhosted.org/packages/9c/78/798542f931c089f6e84b8bf38fcd52a324a045f5a2b364ab62c962acbf4b/ejabberd_htpasswd-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "266aeb6fd5197e03557323b9695d91bb", "sha256": "4ae834bf6ae33cef1053b7481c3a95d210fcdc7e456019e72297f581239a477b" }, "downloads": -1, "filename": "ejabberd_htpasswd-0.1.3.tar.gz", "has_sig": false, "md5_digest": "266aeb6fd5197e03557323b9695d91bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17360, "upload_time": "2016-12-06T18:57:28", "url": "https://files.pythonhosted.org/packages/9c/78/798542f931c089f6e84b8bf38fcd52a324a045f5a2b364ab62c962acbf4b/ejabberd_htpasswd-0.1.3.tar.gz" } ] }