public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fuse-sshfs] epel9: Check GPG signature
@ 2026-11-03 7:14 Peter Lemenkov
0 siblings, 0 replies; only message in thread
From: Peter Lemenkov @ 2026-11-03 7:14 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/fuse-sshfs
Branch : epel9
Commit : a67fc62cde3c572910d19e88492c29054e11c1bf
Author : Peter Lemenkov <lemenkov@gmail.com>
Date : 2023-10-21T01:32:27+02:00
Stats : +19/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/fuse-sshfs/c/a67fc62cde3c572910d19e88492c29054e11c1bf?branch=epel9
Log:
Check GPG signature
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
---
diff --git a/ED31791B2C5C1613AF388B8AD113FCAC3C4E599F.gpg b/ED31791B2C5C1613AF388B8AD113FCAC3C4E599F.gpg
new file mode 100644
index 0000000..eeac4bf
Binary files /dev/null and b/ED31791B2C5C1613AF388B8AD113FCAC3C4E599F.gpg differ
diff --git a/fuse-sshfs.spec b/fuse-sshfs.spec
index f4b3c5c..d520810 100644
--- a/fuse-sshfs.spec
+++ b/fuse-sshfs.spec
@@ -1,11 +1,24 @@
Name: fuse-sshfs
Version: 3.7.3
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: FUSE-Filesystem to access remote filesystems via SSH
License: GPLv2
URL: https://github.com/libfuse/sshfs
Source0: https://github.com/libfuse/sshfs/releases/download/sshfs-%{version}/sshfs-%{version}.tar.xz
Source1: https://github.com/libfuse/sshfs/releases/download/sshfs-%{version}/sshfs-%{version}.tar.xz.asc
+# Find which key was used for signing the release:
+#
+# $ LANG=C gpg --verify sshfs-3.7.3.tar.xz.asc sshfs-3.7.3.tar.xz
+# gpg: Signature made Thu May 26 15:23:53 2022 CEST
+# gpg: using RSA key ED31791B2C5C1613AF388B8AD113FCAC3C4E599F
+# gpg: Can't check signature: No public key
+#
+# Now export the key required as follows:
+#
+# gpg --no-default-keyring --keyring ./keyring.gpg --keyserver keyserver.ubuntu.com --recv-key ED31791B2C5C1613AF388B8AD113FCAC3C4E599F
+# gpg --no-default-keyring --keyring ./keyring.gpg --output ED31791B2C5C1613AF388B8AD113FCAC3C4E599F.gpg --export
+Source2: ED31791B2C5C1613AF388B8AD113FCAC3C4E599F.gpg
+
Patch1: sshfs-0001-Refer-to-mount.fuse3-instead-of-mount.fuse.patch
Provides: sshfs = %{version}-%{release}
@@ -13,6 +26,7 @@ Requires: fuse3 >= 3.1.0
Requires: openssh-clients
BuildRequires: gcc
+BuildRequires: gnupg2
BuildRequires: meson
BuildRequires: fuse3-devel >= 3.1.0
BuildRequires: glib2-devel >= 2.0
@@ -32,6 +46,7 @@ mounting the filesystem is as easy as logging into the server with ssh.
%prep
+%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup -p1 -n sshfs-%{version}
# fix tests
sed -i "s/'fusermount'/'fusermount3'/g" test/util.py
@@ -61,6 +76,9 @@ python3 -m pytest test/
%changelog
+* Sat Oct 21 2023 Peter Lemenkov <lemenkov@gmail.com> - 3.7.3-5
+- Check GPG signature
+
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-03 7:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 7:14 [rpms/fuse-sshfs] epel9: Check GPG signature Peter Lemenkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox