public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libfido2] rawhide: Migrate to using sequoia openpgpverify from legacy gpgverify
@ 2026-10-03  2:35 Gary Buhrmaster
  0 siblings, 0 replies; only message in thread
From: Gary Buhrmaster @ 2026-10-03  2:35 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libfido2
Branch : rawhide
Commit : a0b6b286fb6849bf0d7aaa841383ee2e3e8e7faf
Author : Gary Buhrmaster <gary.buhrmaster@gmail.com>
Date   : 2026-10-03T02:34:59+00:00
Stats  : +19/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/libfido2/c/a0b6b286fb6849bf0d7aaa841383ee2e3e8e7faf?branch=rawhide

Log:
Migrate to using sequoia openpgpverify from legacy gpgverify

---
diff --git a/libfido2.spec b/libfido2.spec
index 2e7e700..baed54e 100644
--- a/libfido2.spec
+++ b/libfido2.spec
@@ -1,7 +1,7 @@
 Name:           libfido2
 
 Version:        1.17.0
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        FIDO2 library
 
 License:        BSD-2-Clause
@@ -12,14 +12,25 @@ Source1:        https://developers.yubico.com/%{name}/Releases/%{name}-%{version
 # Yubico does not provide a central gpg keyring download file. Instead, they
 # provide a list of individuals that release code and their fingerprints at
 #   https://developers.yubico.com/Software_Projects/Software_Signing.html
+#
 # One must import all the keys and then export into the keyfile.
 #   gpg2 --homedir /tmp/ --receive-keys "keyid0"
 #   gpg2 --homedir /tmp/ --receive-keys "keyid1"
 #   gpg2 --homedir /tmp/ --export --armor --output yubico-release-gpgkeys.asc
 #
+# or using the equivalent Sequoia CLI:
+#
+#   sq network keyserver search "keyid0" --output keyid0.pgp
+#   sq network keyserver search "keyid1" --output keyid1.pgp
+#   (and combine all the pgp kets into yubico-release-gpgkeys.asc)
+#
 Source2:        yubico-release-gpgkeys.asc
 
+%if 0%{?fedora} >= 45
+BuildRequires:  openpgpverify
+%else
 BuildRequires:  gnupg2
+%endif
 BuildRequires:  cmake
 BuildRequires:  make
 BuildRequires:  gcc
@@ -61,7 +72,11 @@ authentication device.
 
 
 %prep
+%if 0%{?fedora} >= 45
+%{openpgpverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
+%else
 %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
+%endif
 %autosetup -p1 -n %{name}-%{version}
 
 
@@ -106,6 +121,9 @@ find %{buildroot} -type f -name "*.a" -delete -print
 
 
 %changelog
+* Sat Oct 03 2026 Gary Buhrmaster <gary.buhrmaster@gmail.com> - 1.17.0-6
+- Migrate to using sequoia openpgpverify from legacy gpgverify
+
 * Tue Jul 21 2026 Gary Buhrmaster <gary.buhrmaster@gmail.com> - 1.17.0-5
 - Update the signing keys (remove expired, update to current)
 

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

only message in thread, other threads:[~2026-10-03  2:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-03  2:35 [rpms/libfido2] rawhide: Migrate to using sequoia openpgpverify from legacy gpgverify Gary Buhrmaster

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