From af1e240611db842b60a2955586bd6b3ab4e06105 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 9 Feb 2022 15:44:09 +0100 Subject: [PATCH] Changing debug information --- archinstall/lib/luks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archinstall/lib/luks.py b/archinstall/lib/luks.py index 48ed4800..c3863159 100644 --- a/archinstall/lib/luks.py +++ b/archinstall/lib/luks.py @@ -109,9 +109,9 @@ class luks2: while cryptworker.is_alive(): with open('debug_outer.txt', 'a') as silent_output: found = bytes(f'Enter passphrase for {partition.path}', 'UTF-8') in cryptworker - silent_output.write(f"Found string in worker: {found} / {pw_given}\r\n", line_ending=False) + silent_output.write(f"Found string in worker: {found} / {pw_given}") if found and pw_given is False: - cryptworker.write(password) + cryptworker.write(password + b'\r\n', line_ending=False) pw_given = True if cryptworker.exit_code == 256: