ccf9416b74
Currently Barbican stores base64 encoded secret data (plugin_meta and cypher_text) as hex bytes in database. But when these data is retrieved from database for base64 decoding, it is not converted back to ascii format, causing the decoding failed with error: binascii.Error: Invalid base64-encoded string: number of data characters (273) cannot be 1 more than a multiple of 4. This commit added a patch to Barbican to store these data in ascii format in the database so they can be decoded when retrieved. Test Plan for Debian: PASS: trigger mtcAgent to store a password secret in Barbican by system host-update controller-0 bm_type=dynamic bm_ip=<bm IP> bm_username=root bm_password=root. PASS: retrieve the secret with "--payload" option by openstack secret get <secret URL> --payload. PASS: AIO-SX deployment and unlock. Closes-Bug: 1975611 Signed-off-by: Andy Ning <andy.ning@windriver.com> Change-Id: I1c2fa112caa8700b1c21130aec041fd7d2a52a19 |
||
---|---|---|
.. | ||
barbican/debian | ||
cinder_conf_dummy | ||
keystone/debian | ||
openstack-aodh/centos | ||
openstack-ironic/centos | ||
openstack-os-vif/centos | ||
openstack-pkg-tools/debian | ||
openstack-ras | ||
python-aodhclient | ||
python-barbican/centos | ||
python-barbicanclient | ||
python-ceilometer/centos | ||
python-cinder/centos | ||
python-cinderclient | ||
python-glance/centos | ||
python-glanceclient | ||
python-gnocchi/centos | ||
python-gnocchiclient | ||
python-heat/openstack-heat/centos | ||
python-heatclient | ||
python-horizon | ||
python-ironicclient | ||
python-keystone/centos | ||
python-keystoneauth1/centos | ||
python-keystoneclient | ||
python-neutron/centos | ||
python-neutronclient | ||
python-nova/centos | ||
python-novaclient | ||
python-openstackclient | ||
python-openstackdocstheme/centos | ||
python-openstacksdk | ||
python-osc-lib | ||
python-oslo-messaging | ||
python-pankoclient | ||
python-placement/centos | ||
python-platformclients/centos | ||
python-wsme | ||
rabbitmq-server |