StarlingX Upstream packaging
Go to file
Andy Ning ccf9416b74 Added patch to store barbican data in ascii format in DB
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
2022-05-24 14:02:26 -04:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-04 14:42:03 +02:00
openstack Added patch to store barbican data in ascii format in DB 2022-05-24 14:02:26 -04:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:42:03 +02:00
.gitignore [Doc] Release Notes Management 2018-09-25 14:43:18 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:35 +00:00
.yamllint Add .yamllint file 2021-10-14 12:50:16 +03:00
.zuul.yaml Adding job to upload commits to GitHub 2020-02-07 09:27:22 -05:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:37:19 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:37:19 -07:00
README.rst StarlingX open source release updates 2018-05-31 07:37:19 -07:00
centos_build_layer.cfg Build layering, add layer build config file and srpm lst 2019-10-30 14:26:00 +08:00
centos_dev_docker_images.inc Stop building panko images 2022-03-03 19:03:57 -03:00
centos_helm.inc Infrastructure and Cluster Monitoring 2019-08-21 17:16:37 -04:00
centos_iso_image.inc remove useless clients 2020-04-03 08:19:18 +00:00
centos_pkg_dirs remove useless clients 2020-04-03 08:19:18 +00:00
centos_pkg_dirs_containers Config file changes to remove 'openstack/openstack-helm openstack/openstack-helm-infra ' after relocation to 'openstack-armada-app' 2019-09-04 15:33:15 -04:00
centos_srpms_centos.lst [PATCH 02/16] stx-upstream: upgrade python-keystone for Train 2020-04-02 06:09:30 +00:00
centos_stable_docker_images.inc Stop building panko images 2022-03-03 19:03:57 -03:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:12:42 -04:00
debian_pkg_dirs Update debian_pkg_dirs 2021-11-29 13:10:06 +02:00
test-requirements.txt flake8 codestyle fixes and tox flake8 setting enable 2018-08-24 23:19:50 +08:00
tox.ini Remove unused openstack files that are no longer in use 2019-03-28 08:54:38 -05:00

README.rst

stx-upstream

StarlingX Upstream Packages