Ensure that libgfshare is installed
This commit is contained in:
parent
0f4039d608
commit
ab0874427e
|
@ -260,6 +260,7 @@ function interactive_gpg_from_remote {
|
|||
fi
|
||||
|
||||
# try to recover the key from the servers
|
||||
apt-get -y install libgfshare-bin gnupg
|
||||
freedombone-recoverkey -u $MY_USERNAME -l $REMOTE_SERVERS_LIST
|
||||
if [ ! "$?" = "0" ]; then
|
||||
dialog --title "Encryption keys" --msgbox 'Your key could not be recovered' 6 70
|
||||
|
@ -282,6 +283,7 @@ function reconstruct_key {
|
|||
dialog --title "Encryption keys" --msgbox 'Not enough fragments to reconstruct the key' 6 70
|
||||
exit 7348
|
||||
fi
|
||||
apt-get -y install libgfshare-bin gnupg
|
||||
gfcombine /home/$MY_USERNAME/.gnupg_fragments/keyshare*
|
||||
if [ ! "$?" = "0" ]; then
|
||||
dialog --title "Encryption keys" --msgbox 'Unable to reconstruct the key' 6 70
|
||||
|
|
Loading…
Reference in New Issue