From 38d797b054b0659423b00a0794c685739a64983b Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 May 2017 13:36:34 +0200 Subject: Do not use unavailable GPG agent and set null signing passphrase --- backup-dataset.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backup-dataset.sh b/backup-dataset.sh index b87cdcc..8d8102e 100755 --- a/backup-dataset.sh +++ b/backup-dataset.sh @@ -19,8 +19,9 @@ backup_dataset() ( sudo snap.sh snap "$DATASET" - PASSPHRASE="null" duplicity $DUPLICITY_OPTIONS \ - --use-agent --sign-key="$SIGNING_KEY" --encrypt-key="$ENCRYPTION_KEY" \ + PASSPHRASE="null" SIGN_PASSPHRASE="null" \ + duplicity $DUPLICITY_OPTIONS \ + --sign-key="$SIGNING_KEY" --encrypt-key="$ENCRYPTION_KEY" \ "$SNAPSHOT_DIRECTORY/$DATASET" "$DESTINATION" sudo snap.sh free "$DATASET" -- cgit v1.2.3