@ffesti commented on this pull request.
> + for (keystore *ks : std::vector<keystore*>
+ {&ks_fs, &ks_rpmdb, &ks_opengpg}) {
+ if (ks->name == from and ks->name != ts->keystore->name) {
+ ks->load_keys(txn, keyring);
+ found = true;
+ }
+ }
+ if (not found) {
+ rpmlog(RPMLOG_ERR, _("No key store backend %s"), from);
+ rc = RPMRC_FAIL;
+ goto exit;
+ }
+ }
+ for (keystore *ks : std::vector<keystore*>
+ {&ks_fs, &ks_rpmdb, &ks_opengpg}) {
+ ks->delete_store(txn);
Done.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3562#discussion_r1978306805
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3562/review/2655455...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint