diff --git a/test/gpg/docker-compose.yml b/test/gpg/docker-compose.yml index 2a53971..e37edb2 100644 --- a/test/gpg/docker-compose.yml +++ b/test/gpg/docker-compose.yml @@ -9,7 +9,7 @@ services: BACKUP_FILENAME: test.tar.gz BACKUP_LATEST_SYMLINK: test-latest.tar.gz.gpg BACKUP_RETENTION_DAYS: ${BACKUP_RETENTION_DAYS:-7} - GPG_PASSPHRASE: 1234secret + GPG_PASSPHRASE: 1234#$$ecret volumes: - ./local:/archive - app_data:/backup/app_data:ro diff --git a/test/gpg/run.sh b/test/gpg/run.sh index f2559ae..318c123 100755 --- a/test/gpg/run.sh +++ b/test/gpg/run.sh @@ -17,7 +17,7 @@ expect_running_containers "2" tmp_dir=$(mktemp -d) -echo 1234secret | gpg -d --pinentry-mode loopback --yes --passphrase-fd 0 ./local/test.tar.gz.gpg > ./local/decrypted.tar.gz +echo "1234#\$ecret" | gpg -d --pinentry-mode loopback --yes --passphrase-fd 0 ./local/test.tar.gz.gpg > ./local/decrypted.tar.gz tar -xf ./local/decrypted.tar.gz -C $tmp_dir ls -lah $tmp_dir if [ ! -f $tmp_dir/backup/app_data/offen.db ]; then