[Rpm-maint] [rpm-software-management/rpm] Drill pubkeys one level deeper into the keystore APIs (PR #3404)

Panu Matilainen notifications at github.com
Thu Oct 24 13:47:15 UTC 2024


Pass pubkeys down to the keystore on import, and let the keystore handle the actual format. For rpmdb keystore this remains the header, so it's a no-op there, but on the fs keystore we drop the trailing "time or something" hex garbage from the filename because we no longer have it at hand but also because it's just not relevant for anything. The key load glob is relaxed enough that we still pick the old format keys too.

Related: #3342
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Drill pubkeys one level deeper into the keystore APIs

-- File Changes --

    M lib/keystore.cc (47)
    M tests/rpmsigdig.at (6)

-- Patch Links --

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

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

Message ID: <rpm-software-management/rpm/pull/3404 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241024/218a1e78/attachment.html>


More information about the Rpm-maint mailing list