ソースを参照

Remove keys file after use

Bob Mottram 9 年 前
コミット
f2cab5c7e1
共有1 個のファイルを変更した1 個の追加0 個の削除を含む
  1. 1
    0
      src/freedombone-config

+ 1
- 0
src/freedombone-config ファイルの表示

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