Skip to content
Snippets Groups Projects
Commit f2cab5c7 authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove keys file after use

parent b376e0ba
No related branches found
No related tags found
No related merge requests found
......@@ -300,6 +300,7 @@ function reconstruct_key {
rm -rf /home/$MY_USERNAME/.tempgnupg
exit 9654
fi
shred -zu $KEYS_FILE
dialog --title "Encryption keys" --msgbox 'Key has been reconstructed' 6 70
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment