mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-20 17:22:53 +00:00
also shred LUKS key when done instead of rm it
This commit is contained in:
parent
9fbfb41a71
commit
b3a6c285c8
@ -117,7 +117,7 @@ tpm sealfile2 \
|
||||
-ix 7 X \
|
||||
|| die "Unable to seal secret"
|
||||
|
||||
rm -f "$KEY_FILE" \
|
||||
shred -n 10 -z -u "$KEY_FILE" 2> /dev/null \
|
||||
|| die "Failed to delete key file"
|
||||
|
||||
# try it without the owner password first
|
||||
|
Loading…
x
Reference in New Issue
Block a user