Changing debug information

This commit is contained in:
Anton Hvornum 2022-02-09 17:17:54 +01:00
parent f2d867b0a7
commit c2ddf726ef
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 1 additions and 1 deletions

View File

@ -123,6 +123,7 @@ class Filesystem:
else:
loopdev = f"{storage.get('ENC_IDENTIFIER', 'ai')}{pathlib.Path(partition['device_instance'].path).name}"
print(partition['!password'])
partition['device_instance'].encrypt(
password=partition['!password'],
key_size=storage['arguments']['crypt_key_size'],
@ -130,7 +131,6 @@ class Filesystem:
iter_time=storage['arguments']['crypt_iter_time']
)
# Immediately unlock the encrypted device to format the inner volume
print(partition['!password'])
with luks2(partition['device_instance'], loopdev, partition['!password'], auto_unmount=True) as unlocked_device:
if not partition.get('wipe'):
if storage['arguments']['silent']: