Browse Source

Fixing broken gpg key search

Bob Mottram 7 years ago
parent
commit
00429b3989
2 changed files with 4 additions and 2 deletions
  1. 2
    1
      src/freedombone-base-email
  2. 2
    1
      src/freedombone-utils-backup

+ 2
- 1
src/freedombone-base-email View File

1365
     if [[ $(is_completed $FUNCNAME) == "1" ]]; then
1365
     if [[ $(is_completed $FUNCNAME) == "1" ]]; then
1366
         return
1366
         return
1367
     fi
1367
     fi
1368
-    apt-get -yq install gnupg
1368
+    apt-get -yq install gnupg dirmngr
1369
+    printf '%%Assuan%%\nsocket=/dev/shm/S.dirmngr\n' > ~/.gnupg/S.dirmngr
1369
 
1370
 
1370
     check_email_address_exists
1371
     check_email_address_exists
1371
 
1372
 

+ 2
- 1
src/freedombone-utils-backup View File

70
     if [[ $(is_completed $FUNCNAME) == "1" ]]; then
70
     if [[ $(is_completed $FUNCNAME) == "1" ]]; then
71
         return
71
         return
72
     fi
72
     fi
73
-    apt-get -yq install gnupg
73
+    apt-get -yq install gnupg dirmngr
74
+    printf '%%Assuan%%\nsocket=/dev/shm/S.dirmngr\n' > ~/.gnupg/S.dirmngr
74
 
75
 
75
     BACKUP_KEY_EXISTS=$(gpg_key_exists "root" "$MY_NAME (backup key)")
76
     BACKUP_KEY_EXISTS=$(gpg_key_exists "root" "$MY_NAME (backup key)")
76
     if [[ $BACKUP_KEY_EXISTS == "yes" ]]; then
77
     if [[ $BACKUP_KEY_EXISTS == "yes" ]]; then