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/3...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to