[Rpm-maint] [rpm-software-management/rpm] Ensure unique tags for in signature header (#1570)

Panu Matilainen notifications at github.com
Fri Mar 5 09:33:13 UTC 2021


Currently a bunch of signature tags overlap with the ones in the main header, making eg type checking harder than it should be. These overlaps need to be eliminated and made illegal in v6.

* RPMSIGTAG_PGP, RPMSIGTAG_GPG (and RPMSIGTAG_PGP5) are no longer created in >= 4.16
* RPMSIGTAG_MD5 is superceded by payload digest in >= 4.14, just needs to be dropped entirely
* RPMSIGTAG_SIZE and RPMSIGTAG_PAYLOADSIZE will go away with #864 
* RPMSIGTAG_RESERVEDSPACE is the only thing left. This needs to be rethought, perhaps borrow an idea from rpm5 where the signature header padding was added as a dribble to the header itself, this padding could also serve the same "reserved space" purpose.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1570
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210305/2563ac5e/attachment-0001.html>


More information about the Rpm-maint mailing list