OpenStack library for privilege separation
Go to file
Rodolfo Alonso Hernandez c9cec8e87b Convert dict keys received in _ClientChannel from byte to str
When executing in debug mode, the arguments passed to [1] are stored
in a dictionary populated with bytes instead of strings. When in [2]
"record" is created and updated [3], the values contained in "msg[1]"
are not updated in "record"

This patch converts all keys in byte format to string (Python 3).

[1] 130d7155c4/oslo_privsep/comm.py (L128)
[2] 130d7155c4/oslo_privsep/daemon.py (L210)
[3] b5409dacc4/Lib/logging/__init__.py (L415)

Change-Id: Idec9ecc9fcc8c5b6779e0194a16cd861c7895d7e
Closes-Bug: #1816804
2019-04-04 11:06:08 +00:00
doc/source Added example blogposts 2018-06-06 07:15:13 +02:00
oslo_privsep Convert dict keys received in _ClientChannel from byte to str 2019-04-04 11:06:08 +00:00
releasenotes Update master for stable/stein 2019-03-18 14:46:01 +00:00
.coveragerc Initial cookiecutter project 2015-10-23 18:51:29 +11:00
.gitignore Clean up .gitignore references to personal tools 2018-10-15 11:51:03 +08:00
.gitreview Added .gitreview 2015-10-21 05:24:45 +00:00
.mailmap Initial cookiecutter project 2015-10-23 18:51:29 +11:00
.stestr.conf Switch to stestr 2018-07-03 16:09:28 +07:00
.zuul.yaml add python 3.7 unit test job 2019-02-19 13:56:43 +08:00
CONTRIBUTING.rst Initial cookiecutter project 2015-10-23 18:51:29 +11:00
HACKING.rst Update URLs in documents according to document migration 2017-07-12 23:09:35 +08:00
LICENSE Initial cookiecutter project 2015-10-23 18:51:29 +11:00
README.rst Remove PyPI downloads 2018-08-07 05:56:11 +00:00
babel.cfg Initial cookiecutter project 2015-10-23 18:51:29 +11:00
lower-constraints.txt Add futures as a requirement for Python 2 2018-12-17 08:58:31 +01:00
requirements.txt Add futures as a requirement for Python 2 2018-12-17 08:58:31 +01:00
setup.cfg Expose privsep options for config-generator 2019-01-10 19:56:24 +00:00
setup.py Updated from global requirements 2017-03-03 00:03:13 +00:00
test-requirements.txt Update hacking version 2019-02-13 14:46:48 +08:00
tox.ini Don't quote {posargs} in tox.ini 2018-10-09 13:36:18 +00:00

README.rst

Team and repository tags

image

oslo.privsep

Latest Version

OpenStack library for privilege separation

This library helps applications perform actions which require more or less privileges than they were started with in a safe, easy to code and easy to use manner. For more information on why this is generally a good idea please read over the principle of least privilege and the specification which created this library.