public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Fix OpenPGP v6 signature verification
@ 2026-11-23 9:36 Panu Matilainen
0 siblings, 0 replies; only message in thread
From: Panu Matilainen @ 2026-11-23 9:36 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 8ba41cdcb2a887585162082a5a00781f96bcb824
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2025-08-05T13:47:46+03:00
Stats : +427/-4 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/8ba41cdcb2a887585162082a5a00781f96bcb824?branch=pmatilai-v6
Log:
Fix OpenPGP v6 signature verification
Cherry-pick three upstream patches to actually enable verifying OpenPGP v6
signatures, and bump rpm-sequoia dependency to 1.9 to match.
---
diff --git a/0001-Only-ever-call-pgpDigParamsSalt-on-signatures.patch b/0001-Only-ever-call-pgpDigParamsSalt-on-signatures.patch
new file mode 100644
index 0000000..b222984
--- /dev/null
+++ b/0001-Only-ever-call-pgpDigParamsSalt-on-signatures.patch
@@ -0,0 +1,53 @@
+From fd1d728f2e929e6162376f45716d1904421ba891 Mon Sep 17 00:00:00 2001
+Message-ID: <fd1d728f2e929e6162376f45716d1904421ba891.1754390785.git.pmatilai@redhat.com>
+From: Panu Matilainen <pmatilai@redhat.com>
+Date: Tue, 5 Aug 2025 13:22:36 +0300
+Subject: [PATCH] Only ever call pgpDigParamsSalt() on signatures
+
+Ensure the verification item is a signature before calling
+pgpDigParamsSalt(). Otherwise we can end up calling it with the
+character array of a digest instead, which may not end well.
+
+The test relies on debug output from rpm-sequoia so it's a bit feeble,
+but it's the best we can do here.
+
+Should've been in c36c717f41683953b9c23e447a8df0d0ac7c845c.
+---
+ lib/rpmvs.cc | 2 +-
+ tests/rpmsigdig.at | 7 +++++++
+ 2 files changed, 8 insertions(+), 1 deletion(-)
+
+diff --git a/lib/rpmvs.cc b/lib/rpmvs.cc
+index dae9cd647..99a325099 100644
+--- a/lib/rpmvs.cc
++++ b/lib/rpmvs.cc
+@@ -462,7 +462,7 @@ void rpmvsInitRange(struct rpmvs_s *sis, int range)
+
+ rpmDigestBundleAddID(sis->bundle, sinfo->hashalgo, sinfo->id, 0);
+ /* OpenPGP v6 signatures need a grain of salt to go */
+- if (sinfo->sig) {
++ if (sinfo->type == RPMSIG_SIGNATURE_TYPE && sinfo->sig) {
+ const uint8_t *salt = NULL;
+ size_t slen = 0;
+ if (pgpDigParamsSalt(sinfo->sig, &salt, &slen) == 0 && salt) {
+diff --git a/tests/rpmsigdig.at b/tests/rpmsigdig.at
+index 13f47c885..f9dfff2c5 100644
+--- a/tests/rpmsigdig.at
++++ b/tests/rpmsigdig.at
+@@ -89,6 +89,13 @@ runroot rpmkeys -Kv --nosignature /data/RPMS/hello-1.0-1.i386.rpm
+ Legacy MD5 digest: NOTFOUND
+ ],
+ [])
++
++RPMTEST_CHECK([
++RPM_TRACE=1 rpmkeys -K --nosignature /data/RPMS/hello-2.0-1.x86_64.rpm 2>&1 | grep -q pgpDigParamsSalt
++],
++[1],
++[],
++[])
+ RPMTEST_CLEANUP
+
+ RPMTEST_SETUP_RW([rpmkeys key update and delete (rpmdb)])
+--
+2.50.1
+
diff --git a/0001-Support-updating-individual-IDs-in-a-digest-bundle.patch b/0001-Support-updating-individual-IDs-in-a-digest-bundle.patch
new file mode 100644
index 0000000..9111163
--- /dev/null
+++ b/0001-Support-updating-individual-IDs-in-a-digest-bundle.patch
@@ -0,0 +1,162 @@
+From 28e4f05c71202b2614619e9d9a51af9443014f34 Mon Sep 17 00:00:00 2001
+Message-ID: <28e4f05c71202b2614619e9d9a51af9443014f34.1754384752.git.pmatilai@redhat.com>
+From: Panu Matilainen <pmatilai@redhat.com>
+Date: Tue, 1 Jul 2025 11:48:12 +0300
+Subject: [PATCH 1/2] Support updating individual IDs in a digest bundle
+
+Up to now, rpm digest bundles have only needed to support data from a
+single stream - just covering different ranges and algorithms. But
+OpenPGP v6 signature salt is a random per-signature thing that we need
+to feed into the digest before the actual data, so we need to be able to
+update each ID in a bundle individually too.
+
+Luckily this is easy to do. Add a small test-program to exercise it,
+we can't yet actually use it for testing a real-world V6 scenario
+anyway.
+
+Fixes: #3845
+---
+ include/rpm/rpmcrypto.h | 11 +++++++++++
+ rpmio/digest.cc | 11 +++++++++++
+ tests/CMakeLists.txt | 2 +-
+ tests/rpmdig.c | 40 ++++++++++++++++++++++++++++++++++++++++
+ tests/rpmsigdig.at | 15 +++++++++++++++
+ 5 files changed, 78 insertions(+), 1 deletion(-)
+ create mode 100644 tests/rpmdig.c
+
+diff --git a/include/rpm/rpmcrypto.h b/include/rpm/rpmcrypto.h
+index d8e31a222..e9ab646fc 100644
+--- a/include/rpm/rpmcrypto.h
++++ b/include/rpm/rpmcrypto.h
+@@ -144,6 +144,17 @@ int rpmDigestBundleAddID(rpmDigestBundle bundle, int algo, int id,
+ */
+ int rpmDigestBundleUpdate(rpmDigestBundle bundle, const void *data, size_t len);
+
++/** \ingroup rpmcrypto
++ * Update context of an individual ID within bundle with next plain text buffer.
++ * @param bundle digest bundle
++ * @param id id of digest (arbitrary, must be > 0)
++ * @param data next data buffer
++ * @param len no. bytes of data
++ * @return 0 on success
++ */
++int rpmDigestBundleUpdateID(rpmDigestBundle bundle, int id,
++ const void *data, size_t len);
++
+ /** \ingroup rpmcrypto
+ * Return digest from a bundle and destroy context, see rpmDigestFinal().
+ *
+diff --git a/rpmio/digest.cc b/rpmio/digest.cc
+index 47e4df913..ac9ad07e0 100644
+--- a/rpmio/digest.cc
++++ b/rpmio/digest.cc
+@@ -66,6 +66,17 @@ int rpmDigestBundleUpdate(rpmDigestBundle bundle, const void *data, size_t len)
+ return rc;
+ }
+
++int rpmDigestBundleUpdateID(rpmDigestBundle bundle, int id,
++ const void *data, size_t len)
++{
++ int rc = -1;
++ if (bundle && data && len > 0 && id > 0) {
++ auto it = bundle->digs.find(id);
++ if (it != bundle->digs.end())
++ rc = rpmDigestUpdate(it->second, data, len);
++ }
++ return rc;
++}
+ int rpmDigestBundleFinal(rpmDigestBundle bundle, int id,
+ void ** datap, size_t * lenp, int asAscii)
+ {
+diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
+index bef9c8bd2..5def091d9 100644
+--- a/tests/CMakeLists.txt
++++ b/tests/CMakeLists.txt
+@@ -62,7 +62,7 @@ foreach(at ${TESTSUITE_AT})
+ FILE(APPEND ${CMAKE_CURRENT_BINARY_DIR}/rpmtests.at "m4_include([${at}])\n")
+ endforeach()
+
+-set(TESTPROGS rpmpgpcheck rpmpgppubkeyfingerprint readpkgnullts)
++set(TESTPROGS rpmpgpcheck rpmpgppubkeyfingerprint readpkgnullts rpmdig)
+ foreach(prg ${TESTPROGS})
+ add_executable(${prg} EXCLUDE_FROM_ALL ${prg}.c)
+ target_link_libraries(${prg} PRIVATE librpm)
+diff --git a/tests/rpmdig.c b/tests/rpmdig.c
+new file mode 100644
+index 000000000..fc04797d5
+--- /dev/null
++++ b/tests/rpmdig.c
+@@ -0,0 +1,40 @@
++#include <stddef.h>
++#include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
++
++#include <rpm/rpmcrypto.h>
++
++static void printID(rpmDigestBundle b, int id)
++{
++ char *s = NULL;
++ if (rpmDigestBundleFinal(b, id, (void **)&s, NULL, 1) == 0) {
++ printf("%d: %s\n", id, s);
++ free(s);
++ }
++}
++
++int main(int argc, char *argv[])
++{
++ const char *AAA = "AAA";
++ const char *BBB = "BBB";
++
++ if (rpmInitCrypto())
++ return EXIT_FAILURE;
++
++ rpmDigestBundle b = rpmDigestBundleNew();
++ rpmDigestBundleAddID(b, RPM_HASH_SHA256, 1, 0);
++ rpmDigestBundleAddID(b, RPM_HASH_SHA256, 2, 0);
++ rpmDigestBundleAddID(b, RPM_HASH_SHA256, 3, 0);
++ rpmDigestBundleAddID(b, RPM_HASH_SHA512, 4, 0);
++
++ rpmDigestBundleUpdateID(b, 2, BBB, strlen(BBB));
++ rpmDigestBundleUpdate(b, AAA, strlen(AAA));
++
++ for (int i = 1; i < 5; ++i)
++ printID(b, i);
++
++ rpmDigestBundleFree(b);
++ rpmFreeCrypto();
++ return 0;
++}
+diff --git a/tests/rpmsigdig.at b/tests/rpmsigdig.at
+index d0154aeec..cbb4d4c07 100644
+--- a/tests/rpmsigdig.at
++++ b/tests/rpmsigdig.at
+@@ -7,6 +7,20 @@ m4_define([RPMOUTPUT_SEQUOIA], [m4_if(RPM_PGP, [sequoia], [$1
+ m4_define([RPMOUTPUT_LEGACY], [m4_if(RPM_PGP, [legacy], [$1
+ ])])
+
++RPMTEST_SETUP([Digest bundle])
++AT_KEYWORDS([digest])
++RPMTEST_CHECK([
++rpmdig
++],
++[0],
++[1: cb1ad2119d8fafb69566510ee712661f9f14b83385006ef92aec47f523a38358
++2: e6c9f16ad216ab08c2511d9e67b450dbef6e0522a735ae2b0a61cef453fbcaa2
++3: cb1ad2119d8fafb69566510ee712661f9f14b83385006ef92aec47f523a38358
++4: 8d708d18b54df3962d696f069ad42dad7762b5d4d3c97ee5fa2dae0673ed46545164c078b8db3d59c4b96020e4316f17bb3d91bf1f6bc0896bbe75416eb8c385
++],
++[])
++RPMTEST_CLEANUP
++
+ RPMTEST_SETUP([seen signer id tracking])
+ AT_KEYWORDS([query signature])
+ RPMTEST_CHECK([
+@@ -2455,3 +2469,4 @@ runroot rpmkeys --delete 036824f0ac60aed6f1a3256f88190469f6d7255e3d8e41c577233aa
+ [],
+ [])
+ RPMTEST_CLEANUP
++
+--
+2.50.1
+
diff --git a/0002-Support-OpenPGP-v6-signature-pre-salting.patch b/0002-Support-OpenPGP-v6-signature-pre-salting.patch
new file mode 100644
index 0000000..3bb9331
--- /dev/null
+++ b/0002-Support-OpenPGP-v6-signature-pre-salting.patch
@@ -0,0 +1,202 @@
+From c36c717f41683953b9c23e447a8df0d0ac7c845c Mon Sep 17 00:00:00 2001
+Message-ID: <c36c717f41683953b9c23e447a8df0d0ac7c845c.1754384752.git.pmatilai@redhat.com>
+In-Reply-To: <28e4f05c71202b2614619e9d9a51af9443014f34.1754384752.git.pmatilai@redhat.com>
+References: <28e4f05c71202b2614619e9d9a51af9443014f34.1754384752.git.pmatilai@redhat.com>
+From: Panu Matilainen <pmatilai@redhat.com>
+Date: Tue, 1 Jul 2025 12:15:03 +0300
+Subject: [PATCH 2/2] Support OpenPGP v6 signature pre-salting
+
+OpenPGP v6 signature salt is a random per-signature thing that we need
+to feed into the digest before the actual data. For that we need
+rpm-sequoia support, the first version to have it is 1.9.0.
+
+The tests for this are already written, just need to be adjusted a bit
+and uncommented, so do that. Kudos to Jakub for covering this part via
+PR #3844 (squashed into this commit)!
+
+Co-authored-by: Jakub Jelen <jjelen@redhat.com>
+
+Fixes: #3846
+---
+ INSTALL | 2 +-
+ include/rpm/rpmpgp.h | 2 ++
+ lib/rpmvs.cc | 14 ++++++++--
+ rpmio/CMakeLists.txt | 2 +-
+ rpmio/rpmpgp_sequoia.cc | 3 ++
+ tests/Dockerfile.fedora | 2 +-
+ tests/rpmsigdig.at | 61 ++++++++++++++++-------------------------
+ 7 files changed, 44 insertions(+), 42 deletions(-)
+
+diff --git a/INSTALL b/INSTALL
+index 0fbb72dcf..bfd129b95 100644
+--- a/INSTALL
++++ b/INSTALL
+@@ -42,7 +42,7 @@ The scdoc manual page generator, available from
+ https://git.sr.ht/~sircmpwn/scdoc
+
+ You will need a cryptographic library to support digests and an OpenPGP
+-implementation to support signatures. rpm-sequoia (>= 1.3.0 required) is
++implementation to support signatures. rpm-sequoia (>= 1.9.0 required) is
+ the most complete option, covering both, and also the default:
+ https://github.com/rpm-software-management/rpm-sequoia
+
+diff --git a/include/rpm/rpmpgp.h b/include/rpm/rpmpgp.h
+index f5efbbf68..ee9d8f5a5 100644
+--- a/include/rpm/rpmpgp.h
++++ b/include/rpm/rpmpgp.h
+@@ -489,6 +489,8 @@ int pgpDigParamsVersion(pgpDigParams digp);
+ */
+ uint32_t pgpDigParamsCreationTime(pgpDigParams digp);
+
++int pgpDigParamsSalt(pgpDigParams digp, const uint8_t **datap, size_t *lenp);
++
+ /** \ingroup rpmpgp
+ * Destroy parsed OpenPGP packet parameter(s).
+ * @param digp parameter container
+diff --git a/lib/rpmvs.cc b/lib/rpmvs.cc
+index 5d7079206..dae9cd647 100644
+--- a/lib/rpmvs.cc
++++ b/lib/rpmvs.cc
+@@ -457,8 +457,18 @@ void rpmvsInitRange(struct rpmvs_s *sis, int range)
+ for (int i = 0; i < sis->nsigs; i++) {
+ struct rpmsinfo_s *sinfo = &sis->sigs[i];
+ if (sinfo->range & range) {
+- if (sinfo->rc == RPMRC_OK)
+- rpmDigestBundleAddID(sis->bundle, sinfo->hashalgo, sinfo->id, 0);
++ if (sinfo->rc != RPMRC_OK)
++ continue;
++
++ rpmDigestBundleAddID(sis->bundle, sinfo->hashalgo, sinfo->id, 0);
++ /* OpenPGP v6 signatures need a grain of salt to go */
++ if (sinfo->sig) {
++ const uint8_t *salt = NULL;
++ size_t slen = 0;
++ if (pgpDigParamsSalt(sinfo->sig, &salt, &slen) == 0 && salt) {
++ rpmDigestBundleUpdateID(sis->bundle, sinfo->id, salt, slen);
++ }
++ }
+ }
+ }
+ }
+diff --git a/rpmio/CMakeLists.txt b/rpmio/CMakeLists.txt
+index 3148522dd..65d22f620 100644
+--- a/rpmio/CMakeLists.txt
++++ b/rpmio/CMakeLists.txt
+@@ -22,7 +22,7 @@ if (EXISTS ${CMAKE_SOURCE_DIR}/rpmio/rpmpgp_legacy/CMakeLists.txt)
+ endif()
+
+ if (WITH_SEQUOIA)
+- pkg_check_modules(RPMSEQUOIA REQUIRED IMPORTED_TARGET rpm-sequoia>=1.8.0)
++ pkg_check_modules(RPMSEQUOIA REQUIRED IMPORTED_TARGET rpm-sequoia>=1.9.0)
+ target_sources(librpmio PRIVATE rpmpgp_sequoia.cc)
+ target_link_libraries(librpmio PRIVATE PkgConfig::RPMSEQUOIA)
+ else()
+diff --git a/rpmio/rpmpgp_sequoia.cc b/rpmio/rpmpgp_sequoia.cc
+index d7f362994..84313e6a5 100644
+--- a/rpmio/rpmpgp_sequoia.cc
++++ b/rpmio/rpmpgp_sequoia.cc
+@@ -37,6 +37,9 @@ W(const uint8_t *, pgpDigParamsSignID, (pgpDigParams digp), (digp))
+ W(const char *, pgpDigParamsUserID, (pgpDigParams digp), (digp))
+ W(int, pgpDigParamsVersion, (pgpDigParams digp), (digp))
+ W(uint32_t, pgpDigParamsCreationTime, (pgpDigParams digp), (digp))
++W(int, pgpDigParamsSalt,
++ (pgpDigParams digp, const uint8_t **datap, size_t *lenp),
++ (digp, datap, lenp))
+ W(rpmRC, pgpVerifySignature,
+ (pgpDigParams key, pgpDigParams sig, DIGEST_CTX hashctx),
+ (key, sig, hashctx))
+diff --git a/tests/Dockerfile.fedora b/tests/Dockerfile.fedora
+index 8fc61ba2b..0e8041b1d 100644
+--- a/tests/Dockerfile.fedora
++++ b/tests/Dockerfile.fedora
+@@ -60,7 +60,7 @@ RUN dnf -y install \
+ # Incapacitate IMA, needed until #3234 lands in fedora
+ RUN rm -f /usr/lib/rpm/macros.d/macros.transaction_ima
+ # If updates to specific packages are needed, do it here
+-RUN dnf -y --enablerepo=rawhide install "sequoia-sq >= 1.3" "rpm-sequoia >= 1.8" "crypto-policies >= 20250402"
++RUN dnf -y --enablerepo=rawhide install "sequoia-sq >= 1.3" "rpm-sequoia >= 1.9" "crypto-policies >= 20250402"
+ RUN dnf clean all
+
+ # Workaround for pkgconf(1)'s unlisted dependency on rpm.
+diff --git a/tests/rpmsigdig.at b/tests/rpmsigdig.at
+index cbb4d4c07..13f47c885 100644
+--- a/tests/rpmsigdig.at
++++ b/tests/rpmsigdig.at
+@@ -2408,28 +2408,20 @@ runroot rpmsign --addsign --rpmv6 /tmp/hello-2.0-1.x86_64.rpm
+ [],
+ [])
+
+-# The test reflects what I *assume* this should return as v6 key ids are the
+-# first 64 bits of the fingerprint, but this is very cursory skim through
+-# rfc-9580 and might not be right. What we're currently getting as the
+-# signer key is the last 64bit as with v4 keys, and when this doesn't match
+-# with what we get from the subkey ids, rpm does not find the key.
+-# In addition, rpm-sequoia 1.8 doesn't handle the v6 trailer so it's BAD
+-# instead of NOKEY.
+-# Header OpenPGP V6 Ed25519/SHA512 signature, key ID 0e00df3ed2d7b65e: BAD
+-#RPMTEST_CHECK([
+-#runroot rpmkeys -Kv /tmp/hello-2.0-1.x86_64.rpm
+-#],
+-#[0],
+-#[/tmp/hello-2.0-1.x86_64.rpm:
+-# Header OpenPGP V6 Ed25519/SHA512 signature, key ID 6118abe481c41473: NOKEY
+-# Header OpenPGP RSA signature: NOTFOUND
+-# Header OpenPGP DSA signature: NOTFOUND
+-# Header SHA256 digest: OK
+-# Payload SHA256 digest: OK
+-# Legacy OpenPGP RSA signature: NOTFOUND
+-# Legacy OpenPGP DSA signature: NOTFOUND
+-#],
+-#[])
++RPMTEST_CHECK([
++runroot rpmkeys -Kv /tmp/hello-2.0-1.x86_64.rpm
++],
++[1],
++[/tmp/hello-2.0-1.x86_64.rpm:
++ Header OpenPGP V6 Ed25519/SHA512 signature, key ID 6118abe481c41473: NOKEY
++ Header OpenPGP RSA signature: NOTFOUND
++ Header OpenPGP DSA signature: NOTFOUND
++ Header SHA256 digest: OK
++ Payload SHA256 digest: OK
++ Legacy OpenPGP RSA signature: NOTFOUND
++ Legacy OpenPGP DSA signature: NOTFOUND
++],
++[])
+
+ RPMTEST_CHECK([
+ runroot rpmkeys --import /data/keys/rpm.org-v6-ed25519-test.asc
+@@ -2446,21 +2438,16 @@ runroot rpmkeys --list 036824f0ac60aed6f1a3256f88190469f6d7255e3d8e41c577233aa03
+ ],
+ [])
+
+-# This is currently failing, see the NOKEY case above
+-#RPMTEST_CHECK([
+-#runroot rpmkeys -Kv /tmp/hello-2.0-1.x86_64.rpm
+-#],
+-#[0],
+-#[/tmp/hello-2.0-1.x86_64.rpm:
+-# Header OpenPGP V6 Ed25519/SHA512 signature, key fingerprint 036824f0ac60aed6f1a3256f88190469f6d7255e3d8e41c577233aa03e0bb9d3 OK
+-# Header OpenPGP RSA signature: NOTFOUND
+-# Header OpenPGP DSA signature: NOTFOUND
+-# Header SHA256 digest: OK
+-# Payload SHA256 digest: OK
+-# Legacy OpenPGP RSA signature: NOTFOUND
+-# Legacy OpenPGP DSA signature: NOTFOUND
+-#],
+-#[])
++RPMTEST_CHECK([
++runroot rpmkeys -Kv /tmp/hello-2.0-1.x86_64.rpm
++],
++[0],
++[/tmp/hello-2.0-1.x86_64.rpm:
++ Header OpenPGP V6 Ed25519/SHA512 signature, key fingerprint: 036824f0ac60aed6f1a3256f88190469f6d7255e3d8e41c577233aa03e0bb9d3: OK
++ Header SHA256 digest: OK
++ Payload SHA256 digest: OK
++],
++[])
+
+ RPMTEST_CHECK([
+ runroot rpmkeys --delete 036824f0ac60aed6f1a3256f88190469f6d7255e3d8e41c577233aa03e0bb9d3
+--
+2.50.1
+
diff --git a/rpm.spec b/rpm.spec
index b09120d..659baa8 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -24,7 +24,7 @@
%global rpmver 5.99.91
#global snapver rc1
-%global baserelease 2
+%global baserelease 3
%global sover 10
%global srcver %{rpmver}%{?snapver:-%{snapver}}
@@ -84,7 +84,7 @@ BuildRequires: sqlite-devel
%endif
BuildRequires: doxygen scdoc
-BuildRequires: rpm-sequoia-devel >= 1.4.0
+BuildRequires: rpm-sequoia-devel >= 1.9.0
# Couple of patches change makefiles so, require for now...
BuildRequires: automake libtool
@@ -124,6 +124,9 @@ rpm-6.0-rpmformat.patch
0001-Revert-Add-a-deprecation-warning-for-clamp_mtime_to_.patch
# Patches already upstream:
+0001-Support-updating-individual-IDs-in-a-digest-bundle.patch
+0002-Support-OpenPGP-v6-signature-pre-salting.patch
+0001-Only-ever-call-pgpDigParamsSalt-on-signatures.patch
# These are not yet upstream
rpm-4.7.1-geode-i686.patch
@@ -146,8 +149,8 @@ License: GPL-2.0-or-later OR LGPL-2.1-or-later
# Either full systemd or systemd-standalone-sysusers
Requires: /usr/bin/systemd-sysusers
Requires(meta): %{name} = %{version}-%{release}
-# >= 1.4.0 required for pgpVerifySignature2() and pgpPrtParams2()
-Requires: rpm-sequoia%{_isa} >= 1.4.0
+# >= 1.9.0 required for pgpDigParamsSalt()
+Requires: rpm-sequoia%{_isa} >= 1.9.0
# Most systems should have a central package operations log
Recommends: rpm-plugin-audit
@@ -621,6 +624,9 @@ fi
%doc %{_defaultdocdir}/rpm/API/
%changelog
+* Tue Aug 05 2025 Panu Matilainen <pmatilai@redhat.com> - 5.99.91-3
+- Fix OpenPGP v6 signature verification, requires rpm-sequoia >= 1.9
+
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.99.91-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 9:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 9:36 [rpms/rpm] pmatilai-v6: Fix OpenPGP v6 signature verification Panu Matilainen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox