Parcourir la source

Remove keys file after use

Bob Mottram il y a 9 ans
Parent
révision
f2cab5c7e1
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1
    0
      src/freedombone-config

+ 1
- 0
src/freedombone-config Voir le fichier

@@ -300,6 +300,7 @@ function reconstruct_key {
300 300
         rm -rf /home/$MY_USERNAME/.tempgnupg
301 301
         exit 9654
302 302
     fi
303
+    shred -zu $KEYS_FILE
303 304
 
304 305
     dialog --title "Encryption keys" --msgbox 'Key has been reconstructed' 6 70
305 306
 }