commit | 0996ab2857c69a436e9d7090bf266568f4f0730b | [log] [tgz] |
---|---|---|
author | Clark Boylan <clark.boylan@gmail.com> | Thu Oct 19 11:03:10 2017 -0700 |
committer | Clark Boylan <cboylan@sapwetik.org> | Thu Oct 19 18:09:57 2017 +0000 |
tree | 9560e8adf5a18d399f39a7b52beb05e366d07e77 | |
parent | 9f0f4408d53bb09248201eebf7e09c5540b4f60c [diff] |
Make tests' encrypt_secret.py work with python3 This was not compatible with python3 due to encoding issues of the input and the out. Ensure we pass the input plaintext as bytes to the encryption routine and use the base64 module to convert the output to base64. Change-Id: Ie8b3a8e5c93544e448016829c1071240b68e8957