[Rpm-maint] [rpm-software-management/rpm] Make rpmkeys --list show Key fingerprint and sub key IDs (Issue #3332)

Florian Festi notifications at github.com
Mon Oct 7 11:01:26 UTC 2024


OK, this is a private key (aka key in sq lingo) but it looks like there is no way to really list public keys.

The current format of `rpmkeys --list` is

`"%{version}-%{release}: %{summary}\n"`
with %{version} being the short keyid,  %{release} the date of the key in hex and %{summary} the issuer + " public key" resulting in e.g.
`1964c5fc-58e63918: rpm.org RSA testkey <rsa at rpm.org> public key`

I would suggest using "%fingerprint %issuer public key" e.g.
`771b18d3d7baa28734333c424344591e1964c5fc rpm.org RSA testkey <rsa at rpm.org> public key`

Technically the "public key is redundant as we don't really deal with private keys but I think it adds a bit of clarity on what you are looking at. 

I note that the sq output above (whihc is about private keys) seems to list the primary and the sub key side by side without even telling which one is which. So far we have never really listed subkeys of installed (public) keys. But the way sq and rpm deal with public keys are quite different.

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

Message ID: <rpm-software-management/rpm/issues/3332/2396601322 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241007/fba3d597/attachment-0001.html>


More information about the Rpm-maint mailing list