Search 1.9 billion lines of Odoo code on GitHub

security_safe_password

Author: Trobz, Odoo Community Association (OCA)
License: AGPL-3
Branch: 9.0-security_safe_password
Repository: trobz/server-tools
Dependencies: base
Languages: Python (98, 62.0%), XML (13, 8.2%), and reStructuredText (47, 29.7%)

<a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> </a> <a name="security-safe-password"></a> <h2>Security Safe Password</h2> <dl class="docutils"> <dt>This module adds some constraints below for user password</dt> <dd><ul class="first last simple"> <li>at least 7 characters. The number of characters is set in a system parameter.</li> <li>at least one letter in lower case</li> <li>at least one letter in upper case</li> <li>at least one number</li> </ul> </dd> </dl> <p>There is also an configure parameter to check the password strength with the python package &quot;cracklib&quot;.</p> <a name="installation"></a> <h3>Installation</h3> <p>To install this module, you need to:</p> <ul class="simple"> <li><dl class="first docutils"> <dt>Install the python package &quot;cracklib&quot; first</dt> <dd><ul class="first last"> <li>sudo apt-get install libcrack2-dev</li> <li>pip install cracklib==2.9.3</li> </ul> </dd> </dl> </li> </ul> <a name="usage"></a> <h3>Usage</h3> <p>To use this module, you need to:</p> <ul class="simple"> <li><dl class="first docutils"> <dt>Go to Settings / Technical / Parameter / System Parameters, then update</dt> <dd><ul class="first last"> <li>length_password: to specify the number of characters in user password</li> <li>password_check_cracklib: to enable the check from cracklib</li> </ul> </dd> </dl> </li> </ul> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/{repo_id}/{branch}"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-tools/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/server-tools/issues/new?body=module:%20{module_name}%0Aversion:%20{branch}%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <a name="credits"></a> <h3>Credits</h3> <a name="images"></a> <h4>Images</h4> <ul class="simple"> <li>Odoo Community Association: <a class="reference external" href="https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg">Icon</a>.</li> </ul> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Trobz &lt;<a class="reference external" href="mailto:contact&#64;trobz.com">contact&#64;trobz.com</a>&gt;</li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>This module is maintained by the OCA.</p> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>