Fixing broken gpg key search
This commit is contained in:
parent
c8ee6129d0
commit
00429b3989
|
@ -1365,7 +1365,8 @@ function configure_gpg {
|
||||||
if [[ $(is_completed $FUNCNAME) == "1" ]]; then
|
if [[ $(is_completed $FUNCNAME) == "1" ]]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
apt-get -yq install gnupg
|
apt-get -yq install gnupg dirmngr
|
||||||
|
printf '%%Assuan%%\nsocket=/dev/shm/S.dirmngr\n' > ~/.gnupg/S.dirmngr
|
||||||
|
|
||||||
check_email_address_exists
|
check_email_address_exists
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,8 @@ function configure_backup_key {
|
||||||
if [[ $(is_completed $FUNCNAME) == "1" ]]; then
|
if [[ $(is_completed $FUNCNAME) == "1" ]]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
apt-get -yq install gnupg
|
apt-get -yq install gnupg dirmngr
|
||||||
|
printf '%%Assuan%%\nsocket=/dev/shm/S.dirmngr\n' > ~/.gnupg/S.dirmngr
|
||||||
|
|
||||||
BACKUP_KEY_EXISTS=$(gpg_key_exists "root" "$MY_NAME (backup key)")
|
BACKUP_KEY_EXISTS=$(gpg_key_exists "root" "$MY_NAME (backup key)")
|
||||||
if [[ $BACKUP_KEY_EXISTS == "yes" ]]; then
|
if [[ $BACKUP_KEY_EXISTS == "yes" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue