OpenStack library utils
Go to file
Davanum Srinivas e0425691d9 Make strutils.mask_password more secure
Make some enhancements to strutils.mask_password to allow it to catch
more cases of passwords in strings. Test cases have been added to test
for these newly added situations.

The following is a listing of patterns that will be handled. The
keyword that mask_password uses (a list of four now) is represented by
<key> and the password is shown as <password>. Quotes (both single and
double) are represented as <quote>.

--<key> <password>
--<key> <quote><password><quote>
<key> = <password>
<key> = <quote><password><quote>

All existing tests and patterns are still handled.

Originally submitted in If5ea2d91b1d87c995f50d07a1281879493bd7adb

Change-Id: Ifa9a753821484defb5784b136470e3a78ebed3e3
Partial-Bug: #1345233
2014-08-15 13:53:57 -04:00
doc/source Add API docs and clean up other docs 2014-07-23 16:05:59 -04:00
oslo Make strutils.mask_password more secure 2014-08-15 13:53:57 -04:00
oslo.utils/locale Imported Translations from Transifex 2014-08-11 06:10:22 +00:00
tests Make strutils.mask_password more secure 2014-08-15 13:53:57 -04:00
tools Get the tox tests working 2014-06-18 23:12:10 -04:00
.coveragerc exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
.gitignore exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
.gitreview exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
.mailmap exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
.testr.conf Get the tox tests working 2014-06-18 23:12:10 -04:00
babel.cfg exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
CONTRIBUTING.rst Add API docs and clean up other docs 2014-07-23 16:05:59 -04:00
HACKING.rst exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
LICENSE exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
MANIFEST.in exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
openstack-common.conf Switch to oslo.i18n and remove any dependency on oslo-incubator 2014-07-15 19:04:05 +00:00
README.rst exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
requirements.txt Switch to oslo.i18n and remove any dependency on oslo-incubator 2014-07-15 19:04:05 +00:00
setup.cfg Add API docs and clean up other docs 2014-07-23 16:05:59 -04:00
setup.py Get the tox tests working 2014-06-18 23:12:10 -04:00
test-requirements.txt Get the tox tests working 2014-06-18 23:12:10 -04:00
tox.ini Add API docs and clean up other docs 2014-07-23 16:05:59 -04:00

oslo.utils

oslo.utils library