From: Christoph Egger Date: Mon, 5 Jan 2015 17:56:46 +0000 (+0100) Subject: [backup-zfs] Use gpg2 (no particular reason) X-Git-Url: https://git.siccegge.de//index.cgi?p=tools.git;a=commitdiff_plain;h=4abb5d1a4e910e698b98f03b00f313b2743e8d53 [backup-zfs] Use gpg2 (no particular reason) --- 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,