[Rpm-maint] [rpm-software-management/rpm] rpmKeyring: Support keys with the same key ID (PR #3398)

Florian Festi notifications at github.com
Tue Oct 22 09:44:40 UTC 2024


Loop over the candidates during signature verification and use the one verifying it - iff any. Otherwise use last key with matching key ID (basically a random one).
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * rpmKeyring: Support keys with the same key ID

-- File Changes --

    M rpmio/rpmkeyring.cc (69)
    A tests/data/keys/keyidcollision1.asc (8)
    A tests/data/keys/keyidcollision1.pub (8)
    A tests/data/keys/keyidcollision2.asc (8)
    A tests/data/keys/keyidcollision2.pub (8)
    M tests/rpmsigdig.at (68)

-- Patch Links --

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

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

Message ID: <rpm-software-management/rpm/pull/3398 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241022/097f2f0f/attachment.html>


More information about the Rpm-maint mailing list