|
|
|
|
260
|
fi
|
260
|
fi
|
261
|
|
261
|
|
262
|
# try to recover the key from the servers
|
262
|
# try to recover the key from the servers
|
|
|
263
|
+ apt-get -y install libgfshare-bin gnupg
|
263
|
freedombone-recoverkey -u $MY_USERNAME -l $REMOTE_SERVERS_LIST
|
264
|
freedombone-recoverkey -u $MY_USERNAME -l $REMOTE_SERVERS_LIST
|
264
|
if [ ! "$?" = "0" ]; then
|
265
|
if [ ! "$?" = "0" ]; then
|
265
|
dialog --title "Encryption keys" --msgbox 'Your key could not be recovered' 6 70
|
266
|
dialog --title "Encryption keys" --msgbox 'Your key could not be recovered' 6 70
|
|
|
|
|
282
|
dialog --title "Encryption keys" --msgbox 'Not enough fragments to reconstruct the key' 6 70
|
283
|
dialog --title "Encryption keys" --msgbox 'Not enough fragments to reconstruct the key' 6 70
|
283
|
exit 7348
|
284
|
exit 7348
|
284
|
fi
|
285
|
fi
|
|
|
286
|
+ apt-get -y install libgfshare-bin gnupg
|
285
|
gfcombine /home/$MY_USERNAME/.gnupg_fragments/keyshare*
|
287
|
gfcombine /home/$MY_USERNAME/.gnupg_fragments/keyshare*
|
286
|
if [ ! "$?" = "0" ]; then
|
288
|
if [ ! "$?" = "0" ]; then
|
287
|
dialog --title "Encryption keys" --msgbox 'Unable to reconstruct the key' 6 70
|
289
|
dialog --title "Encryption keys" --msgbox 'Unable to reconstruct the key' 6 70
|