Remove keys file after use

This commit is contained in:
Bob Mottram 2015-07-03 23:33:12 +01:00
parent b376e0ba7c
commit f2cab5c7e1
1 changed files with 1 additions and 0 deletions

View File

@ -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
} }