mirror of
https://github.com/linuxboot/heads.git
synced 2025-04-10 12:50:09 +00:00
also shred LUKS sealed secret when done instead of rm it
This commit is contained in:
parent
b3a6c285c8
commit
8310a3d62e
@ -150,5 +150,5 @@ if ! tpm nv_writevalue \
|
||||
|| die "Unable to write sealed secret to NVRAM"
|
||||
fi
|
||||
|
||||
rm "$TPM_SEALED" \
|
||||
shred -n 10 -z -u "$TPM_SEALED" 2> /dev/null \
|
||||
|| warn "Failed to delete the sealed secret - continuing"
|
||||
|
Loading…
x
Reference in New Issue
Block a user