Ver código fonte

Remove keys file after use

Bob Mottram 9 anos atrás
pai
commit
f2cab5c7e1
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1
    0
      src/freedombone-config

+ 1
- 0
src/freedombone-config Ver arquivo

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