diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-01-07 11:57:23 -0500 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-01-07 11:57:23 -0500 |
commit | deef870d5c8ce3a874878a16abbfb4b126dca4dc (patch) | |
tree | 71120c9a578f2585e33938c6dd15862933032bf2 | |
parent | 3fa9197a3e1ca39bd35915e9ad1281a0177d8ab3 (diff) | |
download | bcfg2-deef870d5c8ce3a874878a16abbfb4b126dca4dc.tar.gz bcfg2-deef870d5c8ce3a874878a16abbfb4b126dca4dc.tar.bz2 bcfg2-deef870d5c8ce3a874878a16abbfb4b126dca4dc.zip |
Encryption: fixed base64 decode failure message
-rwxr-xr-x | src/lib/Bcfg2/Encryption.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Encryption.py b/src/lib/Bcfg2/Encryption.py index a09d652d2..69d40ea37 100755 --- a/src/lib/Bcfg2/Encryption.py +++ b/src/lib/Bcfg2/Encryption.py @@ -123,7 +123,7 @@ def ssl_decrypt(data, passwd, algorithm=ALGORITHM): # encrypted but is not. we don't want to include a plaintext # secret in the error logs. raise TypeError("Could not decode base64 data: %s" % - (data, sys.exc_info()[1])) + sys.exc_info()[1]) salt = data[8:16] # pylint: disable=E1101,E1121 hashes = [md5(passwd + salt).digest()] |