Bob Mottram 8 vuotta sitten
vanhempi
commit
5a8d9de8e1
1 muutettua tiedostoa jossa 6 lisäystä ja 6 poistoa
  1. 6
    6
      src/freedombone-config

+ 6
- 6
src/freedombone-config Näytä tiedosto

@@ -122,13 +122,13 @@ source $PROJECT_INSTALL_DIR/${PROJECT_NAME}-vars
122 122
 UTILS_FILES=/usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-*
123 123
 for f in $UTILS_FILES
124 124
 do
125
-  source $f
125
+    source $f
126 126
 done
127 127
 
128 128
 APP_FILES=/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-*
129 129
 for f in $APP_FILES
130 130
 do
131
-  source $f
131
+    source $f
132 132
 done
133 133
 
134 134
 function show_help {
@@ -927,19 +927,19 @@ function reconstruct_key {
927 927
     cd /home/$MY_USERNAME/.gnupg_fragments
928 928
     no_of_shares=$(ls -afq keyshare.asc.* | wc -l)
929 929
     if (( no_of_shares < 4 )); then
930
-        dialog --title $"Encryption keys" --msgbox $'Not enough fragments to reconstruct the key' 6 70
930
+        dialog --title $"Recover Encryption Keys" --msgbox $'Not enough fragments to reconstruct the key' 6 70
931 931
         exit 7348
932 932
     fi
933 933
     apt-get -yq install libgfshare-bin gnupg
934 934
     gfcombine /home/$MY_USERNAME/.gnupg_fragments/keyshare*
935 935
     if [ ! "$?" = "0" ]; then
936
-        dialog --title $"Encryption keys" --msgbox $'Unable to reconstruct the key' 6 70
936
+        dialog --title $"Recover Encryption Keys" --msgbox $'Unable to reconstruct the key' 6 70
937 937
         exit 7348
938 938
     fi
939 939
 
940 940
     KEYS_FILE=/home/$MY_USERNAME/.gnupg_fragments/keyshare.asc
941 941
     if [ ! -f $KEYS_FILE ]; then
942
-        dialog --title $"Encryption keys" --msgbox $'Unable to reconstruct the key' 6 70
942
+        dialog --title $"Recover Encryption Keys" --msgbox $'Unable to reconstruct the key' 6 70
943 943
     fi
944 944
 
945 945
     su -c "gpg --allow-secret-key-import --import $KEYS_FILE" - $MY_USERNAME
@@ -951,7 +951,7 @@ function reconstruct_key {
951 951
     fi
952 952
     shred -zu $KEYS_FILE
953 953
 
954
-    dialog --title $"Encryption keys" --msgbox $'Key has been reconstructed' 6 70
954
+    dialog --title $"Recover Encryption Keys" --msgbox $'Key has been reconstructed' 6 70
955 955
 }
956 956
 
957 957
 function interactive_gpg_from_usb {