diff --git a/code/scripts/main/startup.py b/code/scripts/main/startup.py index aed4de5..14237ec 100644 --- a/code/scripts/main/startup.py +++ b/code/scripts/main/startup.py @@ -69,7 +69,7 @@ if __name__ == "__main__": "\n - Public Key: {1}" .format(localconf['system']['key_pvt'], localconf['system']['key_pub'])) print("Passphrase HASH: {0}".format(passhash)) - print("You MUST save your passphrase hash in a security place !") + print("You MUST save your passphrase in a security place !") key_pvt = CritConf.read_private_key(localconf['system']['key_pvt'], passhash) else: print(gen['Error']) @@ -87,7 +87,7 @@ if __name__ == "__main__": """ Step two""" if 'passhash' not in vars(): - passhash = getpass.getpass("This system need a passphrase to start:") + passhash = encodepassphrase(getpass.getpass("This system need a passphrase to start:")) key_pvt = CritConf.read_private_key(localconf['system']['key_pvt'], passhash) if key_pvt['result'] != "OK": print("{0}: {1} "