[Rpm-maint] [rpm-software-management/rpm] Migrate keystores to operate by fingerprint instead of short keyid (PR #3390)

Panu Matilainen notifications at github.com
Fri Oct 18 06:00:49 UTC 2024


Details in commit messages and the ticket, but in short: 
- use fingerprint for differentiating keys in the keystore
- load all keys whether short keyid or fingerprint (needed for migration period)
- migrate from short keyid to fingerprint on --import

Fixes: #3360 
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Pass rpmPubkeys one layer down when creating the gpg-pubkey headers
  * Drop subkey gpg(keyid) provides from gpg-pubkey headers
  * Use full key fingerprint for gpg-pubkey version and keystore
  * Migrate from short keyid to fingerprint on key update

-- File Changes --

    M lib/rpmts.cc (41)
    M tests/data/misc/rpmdb.sqlite (0)
    M tests/rpmdb.at (6)
    M tests/rpmsigdig.at (87)

-- Patch Links --

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

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

Message ID: <rpm-software-management/rpm/pull/3390 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241017/1043fc31/attachment.html>


More information about the Rpm-maint mailing list