From e6cb4d8e9f65dd1168aa990944c2ce5d4e7aba24 Mon Sep 17 00:00:00 2001 From: Richard Brown Date: Wed, 24 Jul 2024 11:36:53 +0200 Subject: [PATCH] encrypt: show progress of final key storage --- usr/lib/tik/modules/post/15-encrypt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/tik/modules/post/15-encrypt b/usr/lib/tik/modules/post/15-encrypt index 2ce6f51..83fa472 100644 --- a/usr/lib/tik/modules/post/15-encrypt +++ b/usr/lib/tik/modules/post/15-encrypt @@ -202,7 +202,7 @@ add_key() { prun /usr/sbin/cryptsetup luksAddKey --key-file=${tik_keyfile} --batch-mode --force-password "${cryptpart}" <<<"${key}" else log "[add_key] Default Mode - Enrolling ${cryptpart} to TPM 2.0" - prun /usr/bin/systemd-cryptenroll --unlock-key-file=${tik_keyfile} --tpm2-device=auto ${cryptpart} + prun /usr/bin/systemd-cryptenroll --unlock-key-file=${tik_keyfile} --tpm2-device=auto ${cryptpart} > >(d --progress --title="Finalising Encryption" --text="Enrolling to TPM 2.0" --pulsate --auto-close --no-cancel --width=400) fi }