Removed odd spaces at the end of hash

This commit is contained in:
Illia Chub 2021-10-12 13:44:06 +03:00
parent 2f526c7bcd
commit 568add06c6

View file

@ -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))