Explorar el Código

Ensure that gpg agent is setup when creating backup key

Bob Mottram hace 7 años
padre
commit
98adf1ec5a
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3
    0
      src/freedombone-utils-backup

+ 3
- 0
src/freedombone-utils-backup Ver fichero

@@ -77,6 +77,9 @@ function configure_backup_key {
77 77
         return
78 78
     fi
79 79
 
80
+    gpg_agent_setup root
81
+    gpg_agent_setup $MY_USERNAME
82
+
80 83
     # Generate a GPG key for backups
81 84
     BACKUP_KEY_EXISTS=$(gpg_key_exists "$MY_USERNAME" "$MY_NAME (backup key)")
82 85
     if [[ $BACKUP_KEY_EXISTS == "no" ]]; then