It's possible this is an issue in barbican. Possibly this call:
opaque_data.OpaqueData(secret_dto.secret)
needs to be changed to:
opaque_data.OpaqueData(secret_dto.secret.encode('utf-8'))
https://github.com/openstack/barbican/blob/7.0.0/barbican/plugin/castellan_secret_store.py#L86
** Also affects: barbican
Importance: Undecided
Status: New
** No longer affects: barbican
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1799746
Title:
PY3: when uploading file as secret: TypeError: a bytes-like object is
required, not 'str'
To manage notifications about this bug go to:
https://bugs.launchpad.net/castellan/+bug/1799746/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs