[Rpm-maint] [rpm-software-management/rpm] Updated v3 and v4 package + header format documentation (PR #2861)

Panu Matilainen notifications at github.com
Mon Jan 22 08:07:28 UTC 2024


@pmatilai commented on this pull request.



> +00000048: 00 00 00 00 00 01 00 05    ........
+```
+
+Bytes 76-77 ("00 01" above) form an int16 that indicates the OS the
+package was built for.  In this case, 1 == Linux.  The next 2 bytes
+(78-79) form an int16 that indicates the signature type.  This tells
+RPM what to expect in the Signature.  For version 3.0 packages, this
+is 5, which indicates the new "Header-style" signatures.
+
+```
+00000050: 04 00 00 00 68 e6 ff bf    ........
+00000058: ab ad 00 08 3c eb ff bf    ........
+```
+
+The remaining 16 bytes (80-95) are currently unused and are reserved
+for future expansion.

Yeah I think I just cut this out from the main doc without much editing, any mention of "currently" is basically an indication of 20+ year old sentence :laughing: 

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

Message ID: <rpm-software-management/rpm/pull/2861/review/1835842224 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240122/52ca84ca/attachment.html>


More information about the Rpm-maint mailing list