Replying to the first question myself:
`rpmtxnImportPubkey()` is where `replace` is decided, based on whether the key
can be found. That kinda alleviates the need for an atomic rename since only
*new* keys would be inserted with it disabled.
That still doesn't ensure true atomicity but this is the best we can do without
refactoring `rpmtxnImportPubkey()` or other parts. So I guess it's fine.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3437#issuecomment-2470078912
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3437/c2470078...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint