Now that the user ID for shadowed, federated users is no longer a random
UUID but a sha256 hash, the token formatter shouldn't be trying to
convert it to a byte string, and yet on python3 msgpack does anyway, so
we need to convert it back to a string.
Reviewed: https:/ /review. openstack. org/650615 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=44c1b3d2840 7b66d2a854105f2 10d53f7cdd6b6f
Committed: https:/
Submitter: Zuul
Branch: master
commit 44c1b3d28407b66 d2a854105f210d5 3f7cdd6b6f
Author: Colleen Murphy <email address hidden>
Date: Sun Apr 7 23:19:47 2019 -0700
Convert user_id back to string
Now that the user ID for shadowed, federated users is no longer a random
UUID but a sha256 hash, the token formatter shouldn't be trying to
convert it to a byte string, and yet on python3 msgpack does anyway, so
we need to convert it back to a string.
Related-bug: #1641639
Change-Id: Icb2a591642df96 d5bbd02428d2b0d 0e8090009c0