python-barbicanclient drops base64 encoding from payload
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-barbicanclient |
Fix Released
|
Medium
|
Douglas Mendizábal |
Bug Description
When using python-
my_payload = base64.
my_secret = client.
my_secret.payload = my_payload
my_secret.
my_secret.
my_ref = my_secret.store()
retrieved_secret = client.
assert retrieved_
The assertion fails because the retrieved secret payload is the actual bytes, not the base64 encoded payload we originally give to the client. My expectation is that the thing I give the client should be the same thing I get back, but because of the payload_
A proposed solution would be to deprecate the payload_
description: | updated |
description: | updated |
Changed in python-barbicanclient: | |
status: | New → In Progress |
assignee: | nobody → Douglas Mendizábal (dougmendizabal) |
importance: | Undecided → Medium |
milestone: | none → 3.0.3 |
Changed in python-barbicanclient: | |
status: | Fix Committed → Fix Released |
Related fix proposed to branch: master /review. openstack. org/153711
Review: https:/