浏览代码

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
 }