From 568add06c6d622d417582ce55e3cc960686721ed Mon Sep 17 00:00:00 2001 From: Illia Chub Date: Tue, 12 Oct 2021 13:44:06 +0300 Subject: [PATCH] Removed odd spaces at the end of hash --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 34fe5f3..ad914e2 100755 --- a/main.py +++ b/main.py @@ -78,6 +78,7 @@ def createUser(): passwordHashProcessDescriptor = subprocess.Popen(hashingCommand, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) hashedPassword = passwordHashProcessDescriptor.communicate()[0] hashedPassword = hashedPassword.decode("ascii") + hashedPassword = hashedPassword.rstrip() print("[TRACE] {0}".format(hashedPassword))