Changing debug information

This commit is contained in:
Anton Hvornum 2022-02-09 16:53:07 +01:00
parent a817a6ce9e
commit b12346ac89
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ class luks2:
if bytes(f'Enter passphrase for {partition.path}', 'UTF-8') in cryptworker and pw_given is False:
# cryptworker.write(password)
# TODO: Workaround, as cryptsetup doesn't appear to accept any input via os.write(child_cd, data)
print(password.decode())
time.sleep(5)
print(password.decode())
pw_given = True
@ -192,7 +192,7 @@ class luks2:
if bytes(f'Enter passphrase for {partition.path}', 'UTF-8') in cryptworker and pw_given is False:
# cryptworker.write(password)
# TODO: Workaround, as cryptsetup doesn't appear to accept any input via os.write(child_cd, data)
print(password.decode())
time.sleep(5)
print(password.decode())
pw_given = True