a4be0cb9e8
Decode the encrypted credential value to a string value before handing it over the database, when running under Python 3.x. Otherwise the underlying database driver (e.g. psycopg2) might treat it as binary data. Change-Id: I87425b54f471e66a9ab3974ab46c4b7f3838b962 Closes-Bug: #1833739
10 lines
455 B
YAML
10 lines
455 B
YAML
---
|
|
fixes:
|
|
- |
|
|
[`bug 1833739 <https://bugs.launchpad.net/keystone/+bug/1833739>`_]
|
|
Fix PostgreSQL specifc issue with storing encrypted credentials. In
|
|
Python 3 the psycopg2 module treats bytes strings as binary data. This
|
|
causes issues when storing encrypted credentials in the Database.
|
|
To fix this isseu the credentials sql backend is updated to encode the
|
|
credential into a text string before handing it over to the database.
|