public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/duplicity] epel10.3: Verify the source archive signature
Date: Fri, 09 Oct 2026 15:57:11 GMT	[thread overview]
Message-ID: <179156143198.1.3703874648346829623.rpms-duplicity-ebd05d1db8e5@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/duplicity
Branch : epel10.3
Commit : ebd05d1db8e549a7c83a03bef601986c0e6b96ed
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2022-12-13T09:43:42-05:00
Stats  : +22/-0 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/duplicity/c/ebd05d1db8e549a7c83a03bef601986c0e6b96ed?branch=epel10.3

Log:
Verify the source archive signature

---
diff --git a/.gitignore b/.gitignore
index bce186e..5f8d3af 100644
--- a/.gitignore
+++ b/.gitignore
@@ -48,3 +48,4 @@
 /duplicity-1.0.0.tar.gz
 /duplicity-1.0.1.tar.gz
 /duplicity-1.2.1.tar.gz
+/duplicity-1.2.1.tar.gz.sig

diff --git a/duplicity.gpg b/duplicity.gpg
new file mode 100644
index 0000000..4e863f4
Binary files /dev/null and b/duplicity.gpg differ

diff --git a/duplicity.spec b/duplicity.spec
index 51e393a..89b173c 100644
--- a/duplicity.spec
+++ b/duplicity.spec
@@ -21,6 +21,22 @@ Summary:        Encrypted bandwidth-efficient backup using rsync algorithm
 License:        GPL-2.0-or-later AND MIT AND GPL-3.0-or-later
 URL:            https://duplicity.gitlab.io/
 Source0:        https://launchpad.net/duplicity/1.0/%{version}/+download/duplicity-%{version}.tar.gz
+Source1:        https://launchpad.net/duplicity/1.0/%{version}/+download/duplicity-%{version}.tar.gz.sig
+# Trust on first use: keyring created on 2022-12-13 with:
+#   workdir="$(mktemp --directory)"
+#   gpg2 --with-fingerprint duplicity-1.2.1.tar.gz.sig 2>&1 |
+#     awk '$2 == "using" { print "0x" $NF }' |
+#     xargs gpg2 --homedir="${workdir}" \
+#         --keyserver=hkps://keyserver.ubuntu.com --recv-keys
+#   gpg2 --homedir="${workdir}" --export --export-options export-minimal \
+#       > duplicity.gpg
+#   rm -rf "${workdir}"
+# Inspect keys using:
+#   gpg2 --list-keys --no-default-keyring --keyring ./duplicity.gpg
+# Contains:
+#   8B6F8FF4E654E600: public key "Duplicity Test (no password) <duplicity@loafman.com>"
+# The key name does not inspire confidence, but it is better than nothing!
+Source2:        duplicity.gpg
 # chg:test: Add test case for issue #683.
 # https://gitlab.com/duplicity/duplicity/-/commit/e6671cdf4ed8b21b4a8bd1973bd458f62792cd29
 Patch0:         e6671cdf4ed8b21b4a8bd1973bd458f62792cd29.patch
@@ -37,6 +53,9 @@ Recommends:     python3dist(boto3)
 Recommends:     python3dist(dropbox)
 Recommends:     python3dist(paramiko)
 
+# For verifying the source archive signature:
+BuildRequires:  gnupg2
+
 BuildRequires:  gcc
 BuildRequires:  gettext
 BuildRequires:  python3-devel
@@ -66,6 +85,7 @@ unix permissions, directories, symbolic links, fifos, device files,
 but not hard links.
 
 %prep
+%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
 %autosetup -p1
 
 %generate_buildrequires

diff --git a/sources b/sources
index f1c7dff..d5c08dc 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 SHA512 (duplicity-1.2.1.tar.gz) = f63effd029787243be3f056ffd2f6899f324f217424104b69cd4c69a6ca1d0372971067045a3a7b45ae38b622473e799ed174504cfc656f91361dc4f97e03569
+SHA512 (duplicity-1.2.1.tar.gz.sig) = 774f80680e27c9a52df078ee91a1481933d7f7444947774aebf8e1bf1da4e6c432cade5db17ed7351e5612bc2c2279448392602805975b5f2c972a11bc4272e6

                 reply	other threads:[~2026-10-09 15:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179156143198.1.3703874648346829623.rpms-duplicity-ebd05d1db8e5@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox