Skip to content
Snippets Groups Projects
Commit 98adf1ec authored by Bob Mottram's avatar Bob Mottram
Browse files

Ensure that gpg agent is setup when creating backup key

parent c01b22cd
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,9 @@ function configure_backup_key {
return
fi
gpg_agent_setup root
gpg_agent_setup $MY_USERNAME
# Generate a GPG key for backups
BACKUP_KEY_EXISTS=$(gpg_key_exists "$MY_USERNAME" "$MY_NAME (backup key)")
if [[ $BACKUP_KEY_EXISTS == "no" ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment