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