From c26168119320ca5b03e6b420e3c4192d1e2ecc6a Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 30 Sep 2024 02:00:58 +0200 Subject: Current gpgv requires the datafile for detached signatures Otherwise we get the following error: gpgv: no signed data gpgv: can't hash datafile: No data --- plugins/rsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/rsync') diff --git a/plugins/rsync b/plugins/rsync index 2ff5c1a..1c2cae2 100755 --- a/plugins/rsync +++ b/plugins/rsync @@ -15,7 +15,7 @@ rsync -vt --timeout=300 "${URL}" new if [ "${SIGURL}" ]; then rsync -vt --timeout=300 "${SIGURL}" new.sig - gpgv --keyring "${KEYRING}" --status-fd 2 new.sig || exit 1 + gpgv --keyring "${KEYRING}" --status-fd 2 new.sig new || exit 1 # return 1 because it's not clear what other codes may used fi -- cgit v1.2.3