Addresses #6579 Disallow vault passwords with newline characters by stripping them in utils

This commit is contained in:
James Tanner
2014-03-19 15:56:14 -04:00
parent 5f428041db
commit 8c2e1e2baa
2 changed files with 5 additions and 0 deletions

View File

@@ -105,6 +105,7 @@ def _read_password(filename):
f = open(filename, "rb")
data = f.read()
f.close
data = data.strip()
return data
def execute_create(args, options, parser):