[Rpm-maint] [rpm-software-management/rpm] OpenPGP: How to get `can_sign` info? (Issue #2515)

Panu Matilainen notifications at github.com
Fri May 26 09:08:41 UTC 2023


I'm afraid none of that info is exposed as such in the rpm API.
That said, since rpm >= 4.18 rpm only returns signing capable subkeys and in the first place, so you if you restrict version to rpm 4.18 and newer, you can just do "can_sign = TRUE".

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

Message ID: <rpm-software-management/rpm/issues/2515/1564068117 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230526/088dc258/attachment-0001.html>


More information about the Rpm-maint mailing list