Re: [Rpm-maint] [rpm-software-management/rpm] Implement merging of new key material when importing pubkeys (PR #3083)

2024-05-08 Thread Panu Matilainen
Oh, nice. Didn't look at details yet but the functionality is pretty 
desperately needed indeed.
The current behavior of just bailing out if main keyid is already there 
predates the subkey support by many years and was only ever intended as a 
stop-gap behavior until something better gets done. Well, here we are, finally 
:+1: 

@nwalfield , thoughts from rpm-sequoia POV (or otherwise)?

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

Message ID: ___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] Implement merging of new key material when importing pubkeys (PR #3083)

2024-05-08 Thread Michael Schroeder
This currently only makes a difference if the legacy backend is 
used.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Fix error handling in rpmtsImportPubkey
  * Make subkeys available right away when a pubkey is imported
  * Split subkey initialization into its own function
  * Add rpmKeyringModify to change the keys of a keyring
  * Add a method to lookup a key from the keyring
  * Support pubkey merging in the keyring code
  * Merge keys and update the database in rpmtsImportPubkey()

-- File Changes --

M include/rpm/rpmkeyring.h (35)
M include/rpm/rpmpgp.h (13)
M lib/rpmts.c (103)
M rpmio/rpmkeyring.c (78)
M rpmio/rpmpgp_dummy.c (5)
M rpmio/rpmpgp_sequoia.c (8)

-- Patch Links --

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3083
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


Re: [Rpm-maint] [rpm-software-management/rpm] Use an STL vector for the transaction main rpmte pointer storage (PR #3081)

2024-05-08 Thread Panu Matilainen
Merged #3081 into master.

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

Message ID: 
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Use an STL vector for the transaction main rpmte pointer storage (PR #3081)

2024-05-08 Thread Panu Matilainen
@pmatilai pushed 2 commits.

28a786b73ead3aba89e2401a98027083b7ffb532  Use an STL vector for the transaction 
main rpmte pointer storage
ae207825b46202e62c3da8873ab7feadf18fae31  Convert orderInfo array to a vector

-- 
View it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3081/files/64961459fd3219355aee87641e7e682ef441a30b..ae207825b46202e62c3da8873ab7feadf18fae31
You are receiving this because you are subscribed to this thread.

Message ID: 
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Replace the annoying keyid stash with an STL set (PR #3080)

2024-05-08 Thread Panu Matilainen
Merged #3080 into master.

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

Message ID: 
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Simplify rpmfi replaced sized management (PR #3079)

2024-05-08 Thread Panu Matilainen
Merged #3079 into master.

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

Message ID: 
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Replace rpmhash with STL unordered_map in headerformat cache (PR #3078)

2024-05-08 Thread Panu Matilainen
Merged #3078 into master.

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

Message ID: 
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] Convert packageHash to STL unordered_map (PR #3077)

2024-05-08 Thread Panu Matilainen
Merged #3077 into master.

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

Message ID: 
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint