mirror of
https://github.com/linuxboot/heads.git
synced 2025-04-07 19:34:26 +00:00
unseal-totp: fix indentation
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
parent
6d7f9be414
commit
9523b4fee2
@ -10,7 +10,7 @@ TRACE "Under /bin/unseal-totp"
|
||||
if [ "$CONFIG_TPM" = "y" ]; then
|
||||
tpmr unseal 4d47 0,1,2,3,4,7 312 "$TOTP_SECRET" ||
|
||||
die "Unable to unseal TOTP secret"
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! totp -q <"$TOTP_SECRET"; then
|
||||
shred -n 10 -z -u "$TOTP_SECRET" 2>/dev/null
|
||||
|
Loading…
x
Reference in New Issue
Block a user