[Rpm-maint] [rpm-software-management/rpm] Implement merging of new key material when importing pubkeys (PR #3083)
Michael Schroeder
notifications at github.com
Wed May 22 12:37:24 UTC 2024
@mlschroe commented on this pull request.
> @@ -509,6 +509,19 @@ int pgpSignatureType(pgpDigParams sig);
*/
char *pgpIdentItem(pgpDigParams digp);
+/** \ingroup rpmpgp
+ * Merge the PGP packets of two public keys
+ * @param pkts1 OpenPGP pointer to a buffer of first certificates
+ * @param pkts1len length of the buffer with first certificates
+ * @param pkts2 OpenPGP pointer to a buffer of second certificates
+ * @param pkts2len length of the buffer with second certificates
+ * @param pktsm[out] merged certificates (malloced)
+ * @param pktsmlen[out] length of merged certificates
+ * @param flags merge flags (currently not implemented)
We can also drop the flags. I added them because we could use them in the future to change the merge operation. E.g. have a flag to ignore all non-self signatures or similar.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3083#discussion_r1609873045
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3083/review/2071065964 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240522/a4ca1638/attachment.html>
More information about the Rpm-maint
mailing list