From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:RPM package" |
|---|
| claim | "Tags of the signature header: signature base 256 plus an offset (DSA 267, RSA 268, SHA1 269 string, LONGSIZE 270, LONGARCHIVESIZE 271, SHA256 273 string, FILESIGNATURES 274, VERITYSIGNATURES 276, OPENPGP 278, SHA3_256 279) and the old 1000s (SIZE 1000, PGP 1002, MD5 1004, GPG 1005, PAYLOADSIZE 1007, RESERVEDSPACE 1008). SHA256 is 256+17 = 273, not 272 (272 is reserved)." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:RPM package" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "rpmSigTag_e" |
|---|
| values | | 62 | "RPMTAG_HEADERSIGNATURES" |
|---|
| 264 | "RPMSIGTAG_BADSHA1_1" |
|---|
| 265 | "RPMSIGTAG_BADSHA1_2" |
|---|
| 267 | "RPMSIGTAG_DSA" |
|---|
| 268 | "RPMSIGTAG_RSA" |
|---|
| 269 | "RPMSIGTAG_SHA1" |
|---|
| 270 | "RPMSIGTAG_LONGSIZE" |
|---|
| 271 | "RPMSIGTAG_LONGARCHIVESIZE" |
|---|
| 273 | "RPMSIGTAG_SHA256" |
|---|
| 274 | "RPMSIGTAG_FILESIGNATURES" |
|---|
| 275 | "RPMSIGTAG_FILESIGNATURELENGTH" |
|---|
| 276 | "RPMSIGTAG_VERITYSIGNATURES" |
|---|
| 277 | "RPMSIGTAG_VERITYSIGNATUREALGO" |
|---|
| 278 | "RPMSIGTAG_OPENPGP" |
|---|
| 279 | "RPMSIGTAG_SHA3_256" |
|---|
| 1000 | "RPMSIGTAG_SIZE" |
|---|
| 1002 | "RPMSIGTAG_PGP" |
|---|
| 1004 | "RPMSIGTAG_MD5" |
|---|
| 1005 | "RPMSIGTAG_GPG" |
|---|
| 1007 | "RPMSIGTAG_PAYLOADSIZE" |
|---|
| 1008 | "RPMSIGTAG_RESERVEDSPACE" |
|---|
|
|---|
| complete | false |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "HEADER_SIGBASE is 256; each RPMTAG_* is RPMTAG_SIG_BASE plus an offset, SHA256HEADER is +17; values computed from the read lines" |
|---|
| repo | "https://github.com/rpm-software-management/rpm" |
|---|
| commit | "3a7ddfd1c9260c429855bf7811f31de86b453e37" |
|---|
| path | "include/rpm/rpmtag.h" |
|---|
| lines | "20-26, 44-72, 444-467" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Signature header tag numbers" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T02:05:20.231Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T12:16:10.839Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read rpmtag.h at 3a7ddfd: HEADER_SIGBASE 256; RPMTAG_SIG_BASE+11 DSA=267, +12 RSA=268, +13 SHA1=269, +14 LONGSIGSIZE=270, +15 LONGARCHIVESIZE=271, +16 reserved, +17 SHA256=273, +18/+19 FILESIGNATURES/LENGTH=274/275, +20 VERITYSIGNATURES=276, +21 ALGO=277, +22 OPENPGP=278, +23 SHA3_256=279, BADSHA1 264/265; rpmSigTag_e 1000-1008 as listed. All match; legacy 1001/1003/1006 and 999 omitted (complete:false)." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T08:16:42.009Z" |
|---|
| summary | "rpmtag.h also has RPMSIGTAG_LEMD5_1 1001, LEMD5_2 1003, PGP5 1006 (legacy) and RPMSIGTAG_RESERVED 999, and the older 257-263/266 base+offset tags (SIGSIZE..SIGPGP5, PUBKEYS) that are absent from the…" |
|---|
| changed | |
|---|
|
|
|---|