[Rpm-maint] [rpm-software-management/rpm] Implement rpmkeys --rebuild (PR #3474)
Panu Matilainen
notifications at github.com
Thu Nov 28 14:04:30 UTC 2024
@pmatilai commented on this pull request.
> + ks_fs.load_keys(txn, keyring);
+
+ keystore_rpmdb ks_rpmdb = {};
+ rpmKeyring keyring_rpmdb = rpmKeyringNew();
+ ks_rpmdb.load_keys(txn, keyring_rpmdb);
+
+ keystore_openpgp_cert_d ks_opengpg = {};
+ rpmKeyring keyring_openpgp = rpmKeyringNew();
+ ks_opengpg.load_keys(txn, keyring_openpgp);
+
+ for (auto kr: {keyring_fs, keyring_rpmdb, keyring_openpgp}) {
+ rpmKeyringIterator iter = rpmKeyringInitIterator(kr, 0);
+ rpmPubkey key = NULL;
+ const unsigned char * pkt = NULL;
+ size_t pktlen = 0;
+ char *lints = NULL;
pkt, pktlen and lints belong inside the while() loop.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3474#pullrequestreview-2468266115
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3474/review/2468266115 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241128/5b5fcfb5/attachment.htm>
More information about the Rpm-maint
mailing list