public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pam_mount] rawhide: Verify source signatures with openpgpverify
@ 2026-10-30 11:30 Jakub Jelen
  0 siblings, 0 replies; only message in thread
From: Jakub Jelen @ 2026-10-30 11:30 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/pam_mount
            Branch : rawhide
            Commit : 606be0f9924f352ca6043cce3276d48eaa0fc329
            Author : Jakub Jelen <jjelen@redhat.com>
            Date   : 2026-10-29T13:28:16+01:00
            Stats  : +7/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/pam_mount/c/606be0f9924f352ca6043cce3276d48eaa0fc329?branch=rawhide

            Log:
            Verify source signatures with openpgpverify

Replace the direct GnuPG verification with %openpgpverify, which
uses Sequoia sqv, as part of the Fedora 45 Change
https://fedoraproject.org/wiki/Changes/Sequoia_openpgpverify

Release bumped with a changelog entry.

Assisted-by: Claude Opus 5.5

---
diff --git a/pam_mount.spec b/pam_mount.spec
index 0673578..a568654 100644
--- a/pam_mount.spec
+++ b/pam_mount.spec
@@ -1,6 +1,6 @@
 Name:           pam_mount
 Version:        2.20
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        A PAM module that can mount volumes for a user session
 
 # The library and binaries are LGPLv2.1+ with these Exceptions:
@@ -15,12 +15,12 @@ Source2:        gpgkey-BCA0C5C309CAC569E74A921CF76EFE5D0C223A8F.asc
 # AM_PROG_LIBTOOL is obsolete
 Patch0:         pam_mount-2.16-LTINIT.patch
 
-# For source verification with gpgv
+# For source verification with %%openpgpverify
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  cryptsetup-devel
 BuildRequires:  gcc
-BuildRequires:  gpg
+BuildRequires:  openpgpverify
 BuildRequires:  libHX-devel >= 3.12.1
 BuildRequires:  libmount-devel >= 2.20
 BuildRequires:  libtool
@@ -68,8 +68,7 @@ potential threats.
 
 
 %prep
-rm -f %{SOURCE2}.gpg ; gpg --dearmor %{SOURCE2}
-xzcat %{SOURCE0} | gpgv --quiet --keyring %{SOURCE2}.gpg %{SOURCE1} -
+xzcat %{SOURCE0} | %{openpgpverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data=-
 %setup -q
 %patch -P0 -p1 -b.LTINIT
 ./autogen.sh
@@ -150,6 +149,9 @@ and transparent use of the OS's crypto layer.
 
 
 %changelog
+* Mon Oct 26 2026 Jakub Jelen <jjelen@redhat.com> - 2.20-9
+- Verify upstream source signatures with openpgpverify
+
 * Thu Sep 10 2026 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.20-8
 - Rebuilt for libxml-2.5.4
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-30 11:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-30 11:30 [rpms/pam_mount] rawhide: Verify source signatures with openpgpverify Jakub Jelen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox