I believe the fix is as simple as:
diff --git a/oslo_utils/strutils.py b/oslo_utils/strutils.py index 929b34d..c7d0f55 100644 --- a/oslo_utils/strutils.py +++ b/oslo_utils/strutils.py @@ -58,7 +58,7 @@ SLUGIFY_HYPHENATE_RE = re.compile(r"[-\s]+") _SANITIZE_KEYS = ['adminPass', 'admin_pass', 'password', 'admin_password', 'auth_token', 'new_pass', 'auth_password', 'secret_uuid', 'secret', 'sys_pswd', 'token', 'configdrive', - 'CHAPPASSWORD', 'encrypted_key'] + 'CHAPPASSWORD', 'encrypted_key', 'private_key']
It doesn't even appear that more tests are required, as this list is already adequately tested.
I believe the fix is as simple as:
diff --git a/oslo_ utils/strutils. py b/oslo_ utils/strutils. py utils/strutils. py utils/strutils. py HYPHENATE_ RE = re.compile( r"[-\s] +")
'auth_ token', 'new_pass', 'auth_password', 'secret_uuid',
'secret' , 'sys_pswd', 'token', 'configdrive',
index 929b34d..c7d0f55 100644
--- a/oslo_
+++ b/oslo_
@@ -58,7 +58,7 @@ SLUGIFY_
_SANITIZE_KEYS = ['adminPass', 'admin_pass', 'password', 'admin_password',
- 'CHAPPASSWORD', 'encrypted_key']
+ 'CHAPPASSWORD', 'encrypted_key', 'private_key']
It doesn't even appear that more tests are required, as this list is already adequately tested.