From 4abb5d1a4e910e698b98f03b00f313b2743e8d53 Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Mon, 5 Jan 2015 18:56:46 +0100 Subject: [PATCH] [backup-zfs] Use gpg2 (no particular reason) --- backup-zfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup-zfs b/backup-zfs index b530bc9..49c1656 100755 --- a/backup-zfs +++ b/backup-zfs @@ -93,7 +93,7 @@ def sftp_send(dataset, reference=None): zfs = subprocess.Popen(zfscommand, stdout=subprocess.PIPE, bufsize=2*BUFFER) print(zfscommand) - gpgcommand = [ 'gpg', '--batch', '--compress-algo', 'ZLIB', + gpgcommand = [ 'gpg2', '--batch', '--compress-algo', 'ZLIB', '--sign', '--encrypt', '--recipient', GPGUSER ] gpg = subprocess.Popen(gpgcommand, bufsize=2*BUFFER, stdout=subprocess.PIPE, -- 2.39.5