commit 8b289237ed6d53738c22878decf0c429301cf3d0
Author: Matt Riedemann <email address hidden>
Date: Mon Nov 16 13:11:09 2015 -0800
xen: mask passwords in volume connection_data dict
The connection_data dict can have credentials in it, so we need to scrub
those before putting the stringified dict into the StorageError message
and raising that up and when logging the dict.
Note that strutils.mask_password converts the dict to a string using
six.text_type so we don't have to do that conversion first.
Reviewed: https:/ /review. openstack. org/245987 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=8b289237ed6 d53738c22878dec f0c429301cf3d0
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8b289237ed6d537 38c22878decf0c4 29301cf3d0
Author: Matt Riedemann <email address hidden>
Date: Mon Nov 16 13:11:09 2015 -0800
xen: mask passwords in volume connection_data dict
The connection_data dict can have credentials in it, so we need to scrub
those before putting the stringified dict into the StorageError message
and raising that up and when logging the dict.
Note that strutils. mask_password converts the dict to a string using
six.text_type so we don't have to do that conversion first.
SecurityImpact
Change-Id: Ic5f4d4c2679455 0a92481bf2b725e f5eafa581b2
Closes-Bug: #1516765