Skip to content

Commit

Permalink
encrypt: show progress of final key storage
Browse files Browse the repository at this point in the history
  • Loading branch information
sysrich committed Jul 24, 2024
1 parent 82bae12 commit e6cb4d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/lib/tik/modules/post/15-encrypt
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit e6cb4d8

Please sign in to comment.