Remove keys file after use
This commit is contained in:
parent
b376e0ba7c
commit
f2cab5c7e1
|
@ -300,6 +300,7 @@ function reconstruct_key {
|
||||||
rm -rf /home/$MY_USERNAME/.tempgnupg
|
rm -rf /home/$MY_USERNAME/.tempgnupg
|
||||||
exit 9654
|
exit 9654
|
||||||
fi
|
fi
|
||||||
|
shred -zu $KEYS_FILE
|
||||||
|
|
||||||
dialog --title "Encryption keys" --msgbox 'Key has been reconstructed' 6 70
|
dialog --title "Encryption keys" --msgbox 'Key has been reconstructed' 6 70
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue