[Rpm-maint] [rpm-software-management/rpm] Reserving space in the signature header (#183)

Jeff Johnson notifications at github.com
Tue Mar 28 16:01:30 UTC 2017


Ah, you have added RPMSIGTAG_RESERVEDSPACE already which I was not expecting.

The (minor but annoying problems) with the assignment to 1008 is that RPMSIGTAG_RESERVEDSPACE collides with RPMTAG_INSTALLTIME, and will not sort correctly to the end of an immutable region data section as a "free space" tag through headerReload-like operations if any other RPMSIGTAG_FOO is defined. Meanwhile -- because of the tagno assignment collisions between signature and metadata headers -- its rather unlikely that any other RPMSIGTAG_FOO assignments will ever be needed.

The functionally equivalent RPMTAG_SIGPADDING was assigned 0x3fffffff for uniqueness and to permit assigned metadata tags (e.g. RPMTAG_PUBKEYS) to be more easily moved between signature and metadata headers without explicit remapping.

-- 
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/183#issuecomment-289818402
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170328/56c1fd3b/attachment.html>


More information about the Rpm-maint mailing list