[Rpm-maint] [rpm-software-management/rpm] Implement openpgp.cert.d based keystore (PR #3437)

Panu Matilainen notifications at github.com
Mon Nov 11 08:16:35 UTC 2024


@pmatilai commented on this pull request.



>  
-    if (replace) {
-	rasprintf(&tmppath, "%s.new", path);
-	unlink(tmppath);
+    rc = write_key_to_disk(key, dirstr, keyfmt, replace, flags);
+
+    if (!rc && replace) {
+	/* find and delete the old pubkey entry */

Split any fs::keystore refactor into a separate commit. It wont help the GH review but it'll at least make it 10x more obvious when looking at it on the commit level. Patch readability is an important factor too.

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

Message ID: <rpm-software-management/rpm/pull/3437/review/2426367888 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241111/f92ec2ba/attachment.html>


More information about the Rpm-maint mailing list