diff options
author | James Tanner <tanner.jc@gmail.com> | 2014-03-19 14:36:52 -0400 |
---|---|---|
committer | James Tanner <tanner.jc@gmail.com> | 2014-03-19 14:38:11 -0400 |
commit | 409044155d2b6df49f63cc24d347e8cd715fe6a5 (patch) | |
tree | 2df008c517a69ded8550edea51b4847a07643c0b /bin/ansible-vault | |
parent | 2998466811d1423588daf6e2354ec51e830ce590 (diff) | |
download | ansible-409044155d2b6df49f63cc24d347e8cd715fe6a5.tar.gz |
Fixes #6579 allow for vault passwords ending with newline chars
Also add a unit test for vaulteditor to verify 1.0 passwords with newline chars.
Diffstat (limited to 'bin/ansible-vault')
-rwxr-xr-x | bin/ansible-vault | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/ansible-vault b/bin/ansible-vault index 2c8094d13b..9be2a172fb 100755 --- a/bin/ansible-vault +++ b/bin/ansible-vault @@ -105,8 +105,6 @@ def _read_password(filename): f = open(filename, "rb") data = f.read() f.close - # get rid of newline chars - data = data.strip() return data def execute_create(args, options, parser): |