keystone/releasenotes/notes/bug-1833739-f962e8caf3e22068.yaml
Ralf Haferkamp a4be0cb9e8 Fix PostgreSQL specifc issue with credentials encoding
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
2019-09-18 11:43:52 +02:00

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.