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

Reply via email to