[Rpm-maint] [rpm-software-management/rpm] RPMTAG_OPENPGP returns legacy non-header signatures via "extension" code (Issue #4137)

Daniel Alley notifications at github.com
Fri Mar 6 22:35:38 UTC 2026


dralley left a comment (rpm-software-management/rpm#4137)

OK, so, this behavior is actually documented, just under the extensions section of tags.md. I suppose in that sense it can't be considered a bug.

However, it is kind of an annoying inconsistency.

It would have been nice if the EXT returned OPENPGP OR, if not present, RSAHEADER / DSAHEADER. That way with one tag you can get "the header signature(s)" whether V4 or V6, and the behavior is consistent between EXT and not-EXT, and still simplifies things.

But w/ the mixing w/ legacy signatures, which are not interesting to my case, I can't rely on this, because I have no idea which type of signature is which, so to actually use them I need to go back to the source and look at OPENPGP, RSAHEADER, and DSAHEADER.


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

Message ID: <rpm-software-management/rpm/issues/4137/4014521797 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260306/77c37b69/attachment-0001.htm>


More information about the Rpm-maint mailing list