{
"info": {
"author": "Pierre-Francois Carpentier",
"author_email": "carpentier.pf@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7"
],
"description": "*****************************\n ldapcherry-ppolicy-cracklib\n*****************************\n\nCracklib password policy plugin for LdapCherry\n\n.. image:: https://travis-ci.org/kakwa/ldapcherry-ppolicy-cracklib.svg?branch=master\n :target: https://travis-ci.org/kakwa/ldapcherry-ppolicy-cracklib\n \n.. image:: https://coveralls.io/repos/kakwa/ldapcherry-ppolicy-cracklib/badge.svg \n :target: https://coveralls.io/r/kakwa/ldapcherry-ppolicy-cracklib\n\n.. image:: https://img.shields.io/pypi/dm/lcppolicy_cracklib.svg\n :target: https://pypi.python.org/pypi/lcppolicy_cracklib\n :alt: Number of PyPI downloads\n \n.. image:: https://img.shields.io/pypi/v/lcppolicy_cracklib.svg\n :target: https://pypi.python.org/pypi/lcppolicy_cracklib\n :alt: PyPI version\n\n.. image:: https://readthedocs.org/projects/ldapcherry-ppolicy-cracklib/badge/?version=latest\n :target: http://ldapcherry-ppolicy-cracklib.readthedocs.org/en/latest/?badge=latest\n :alt: Documentation Status\n\n----\n\n:Doc: `Documentation on ReadTheDoc `_\n:Dev: `Source code on GitHub `_\n:PyPI: `Package on Pypi `_\n:License: MIT\n:Author: Pierre-Francois Carpentier - copyright \u00a9 2015\n\n----\n\n\nInstall\n=======\n\nFrom pypi:\n\n.. sourcecode:: bash\n\n pip install lcppolicy_cracklib\n\nFrom sources:\n\n.. sourcecode:: bash\n\n $ python setup.py install\n\nConfigure\n=========\n\nEnable module\n-------------\n\nTo enable this module, set **ppolicy.module** to **lcppolicy_cracklib** in section **[ppolicy]**\nof *ldapcherry.ini*\n\nParameters\n----------\n\nThis plugin takes the following parameters in *ldapcherry.ini* (all the parameters are optional):\n\n+------------+---------+-----------------------------------------+---------+----------------------------------------------+\n| Parameter | Section | Description | Values | Comment |\n+============+=========+=========================================+=========+==============================================+\n| min_length | ppolicy | Minimum length of password | integer | Default: 0 |\n+------------+---------+-----------------------------------------+---------+----------------------------------------------+\n| min_upper | ppolicy | Minimum number of upper case characters | Integer | Default: 0 |\n+------------+---------+-----------------------------------------+---------+----------------------------------------------+\n| min_digit | ppolicy | Minimum number of digit characters | Integer | Default: 0 |\n+------------+---------+-----------------------------------------+---------+----------------------------------------------+\n| min_lower | ppolicy | Minimum number of lower case characters | Integer | Default: 0 |\n+------------+---------+-----------------------------------------+---------+----------------------------------------------+\n| min_other | ppolicy | Minimum number of non alphanumeric | Integer | Default: 0 |\n| | | characters | | |\n+------------+---------+-----------------------------------------+---------+----------------------------------------------+\n| dict_path | ppolicy | Path to dictionary | Path | Default: default cracklib dictionary |\n| | | | | usually '/var/cache/cracklib/cracklib_dict'. |\n| | | | | |\n| | | | | If pointing, for example, to */path/dict*, |\n| | | | | then */path/dict.hwm*, */path/dict.pwd* and |\n| | | | | */path/dict.pwi* must exist. |\n+------------+---------+-----------------------------------------+---------+----------------------------------------------+\n\nExample\n-------\n\n.. sourcecode:: ini\n\n [ppolicy]\n\n # password policy module\n ppolicy.module = 'lcppolicy_cracklib'\n # minimum password length (optional default: 0)\n min_length = 10\n # minimum number of upper case characters (optional default: 0)\n min_upper = 1\n # minimum number of lower case characters (optional default: 0)\n min_lower = 2\n # minimum number of digits (optional default: 0)\n min_digit = 1\n # minimum number of non alphanumeric characters (optional default: 0)\n min_other = 1\n # path to dictionary (optional)\n dict_path = '/var/cache/cracklib/cracklib_dict'\n\nCustom dictionary\n=================\n\nTo build custom cracklib dictionaries:\n\n* Get one or many word list files (for example here: http://www.winedt.org/Dict/).\n* If necessary, encode it to UTF-8.\n* Generate the cracklib dictionary.\n\nexample:\n\n.. sourcecode:: bash\n \n # Just create a work directory\n $ mkdir dict/\n $ cd dict/\n\n # Recover and unzip the word list\n $ wget http://www.winedt.org/Dict/unicode/fr.zip\n $ unzip fr.zip\n\n # UTF-8 encoding\n $ file *\n fr.dic: Little-endian UTF-16 Unicode text\n fr.txt: ASCII text, with CRLF line terminators\n fr.zip: Zip archive data, at least v2.0 to extract\n $ iconv -f UTF-16 -t UTF-8 fr.dic >fr2.dic\n\n # Create the dictionary\n $ cat fr2.dic | cracklib-packer mydict\n\n # Result\n $ ls mydict*\n mydict.hwm mydict.pwd mydict.pwi\n\n.. warning::\n\n Most distributions already provide dictionaries and a cron script\n to update cracklib dictionary (see '*apt-cache search 'dictionary' | egrep '^w'*' \n and '*/etc/cron.daily/cracklib-runtime*' in Debian/Ubuntu for example)",
"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/kakwa/ldapcherry-ppolicy-cracklib",
"keywords": null,
"license": "The MIT License (MIT)\n\nCopyright (c) 2015 Carpentier Pierre-Francois\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.",
"maintainer": null,
"maintainer_email": null,
"name": "lcppolicy_cracklib",
"package_url": "https://pypi.org/project/lcppolicy_cracklib/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/lcppolicy_cracklib/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/kakwa/ldapcherry-ppolicy-cracklib"
},
"release_url": "https://pypi.org/project/lcppolicy_cracklib/0.1.0/",
"requires_dist": null,
"requires_python": null,
"summary": "Cracklib password policy plugin for LdapCherry.",
"version": "0.1.0"
},
"last_serial": 1801639,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "a06bdc0d320abb73299fe781f1e9bb19",
"sha256": "c3b34d363ca1eaca0da323f90ddda0094e022965e73c4c02be98dedef1d91290"
},
"downloads": -1,
"filename": "lcppolicy_cracklib-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "a06bdc0d320abb73299fe781f1e9bb19",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 189436,
"upload_time": "2015-11-04T23:46:54",
"url": "https://files.pythonhosted.org/packages/c4/69/daa4ab148a6758493bdf5439b93daea39210c014649fc0fd07611fb9fa01/lcppolicy_cracklib-0.1.0.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "a06bdc0d320abb73299fe781f1e9bb19",
"sha256": "c3b34d363ca1eaca0da323f90ddda0094e022965e73c4c02be98dedef1d91290"
},
"downloads": -1,
"filename": "lcppolicy_cracklib-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "a06bdc0d320abb73299fe781f1e9bb19",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 189436,
"upload_time": "2015-11-04T23:46:54",
"url": "https://files.pythonhosted.org/packages/c4/69/daa4ab148a6758493bdf5439b93daea39210c014649fc0fd07611fb9fa01/lcppolicy_cracklib-0.1.0.tar.gz"
}
]
}