Reviewed: https://review.openstack.org/50877 Committed: http://github.com/openstack/heat/commit/a4090b7189ba64173827f36208bb2320015c8eaa Submitter: Jenkins Branch: stable/grizzly
commit a4090b7189ba64173827f36208bb2320015c8eaa Author: Steven Hardy <email address hidden> Date: Thu Sep 12 15:18:10 2013 +0100
Encode values as utf-8 before encrypting
Ensure strings are correctly encoded before encrypting
This is necessary because some encryption libraries don't handle the unicode conversion appropriately.
Also includes "tolerate None values to _encrypt" fix from bug #1237596, without which the grizzly unit tests fail
Conflicts: heat/db/sqlalchemy/api.py heat/heat/tests/test_sqlalchemy_api.py
Combination of these Change-Id's, Iebbf32e57ba21d955c1984ee32360379579366c8 I39cd4a1bab39def9ad4c214da768e91f411d7697 with a partial backport (one test) from Ie0fdc5068475db7e84f366d1eb2b9ae56db0b3fc to ensure test-coverage of the bugfix.
Closes-Bug: #1237596 Closes-Bug: #1207707 Change-Id: I1efaedc983b60a01944d5ebf88084f52ba909e78
Reviewed: https:/ /review. openstack. org/50877 github. com/openstack/ heat/commit/ a4090b7189ba641 73827f36208bb23 20015c8eaa
Committed: http://
Submitter: Jenkins
Branch: stable/grizzly
commit a4090b7189ba641 73827f36208bb23 20015c8eaa
Author: Steven Hardy <email address hidden>
Date: Thu Sep 12 15:18:10 2013 +0100
Encode values as utf-8 before encrypting
Ensure strings are correctly encoded before encrypting
This is necessary because some encryption libraries don't handle
the unicode conversion appropriately.
Also includes "tolerate None values to _encrypt" fix from
bug #1237596, without which the grizzly unit tests fail
Conflicts:
heat/db/ sqlalchemy/ api.py
heat/heat/ tests/test_ sqlalchemy_ api.py
Combination of these Change-Id's, a21d955c1984ee3 2360379579366c8 39def9ad4c214da 768e91f411d7697 75db7e84f366d1e b2b9ae56db0b3fc
Iebbf32e57b
I39cd4a1bab
with a partial backport (one test) from
Ie0fdc50684
to ensure test-coverage of the bugfix.
Closes-Bug: #1237596 01944d5ebf88084 f52ba909e78
Closes-Bug: #1207707
Change-Id: I1efaedc983b60a