[Rpm-maint] [rpm-software-management/rpm] Support updating individual IDs in a digest bundle (PR #3855)

Panu Matilainen notifications at github.com
Thu Jul 3 09:02:02 UTC 2025


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
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/3855

-- Commit Summary --

  * Support updating individual IDs in a digest bundle

-- File Changes --

    M include/rpm/rpmcrypto.h (11)
    M rpmio/digest.cc (13)
    M tests/CMakeLists.txt (2)
    A tests/rpmdig.c (40)
    M tests/rpmsigdig.at (15)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/3855.patch
https://github.com/rpm-software-management/rpm/pull/3855.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3855
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3855 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250703/8730078a/attachment.htm>


More information about the Rpm-maint mailing list