[Rpm-maint] [rpm-software-management/rpm] Add --list-keys and --delete-key to rpmkeys (PR #2921)

Panu Matilainen notifications at github.com
Wed Feb 21 07:56:51 UTC 2024


I think I initially wanted to add a sane API for these and then have rpmkeys use that, and when that seemed painful I gave up. But the user wont care *how* it's achieved if it works in a meaningful manner. And, for the user this is far saner than 'rpmkeys --import -> rpm -q -> rpm --erase'. 

Two things:
1) Lets make the option names consistent - either they all should have plural -keys, or none should have it. Since the pre-existing --import doesn't have it, maybe the --delete and --list shouldn't have either? Or, we could add --import-keys as alias to --import.
2) Tests for both added operations.

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

Message ID: <rpm-software-management/rpm/pull/2921/c1956077388 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240220/59b38f20/attachment-0001.html>


More information about the Rpm-maint mailing list