From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Format:OpenPGP" |
|---|
| claim | "Per RFC 4880: the first byte of an OpenPGP packet has bit 7 set; bit 6 set means new format (tag in bits 5-0, up to 63), otherwise old format (tag in bits 5-2, so only tags up to 15, length type in bits 1-0: 0,1,2 = 1,2,4-byte length, 3 = indeterminate). RFC 4880 tags: 0 reserved, 1 PKESK, 2 Signature, 3 SKESK, 4 One-Pass Sig, 5 Secret-Key, 6 Public-Key, 7 Secret-Subkey, 8 Compressed, 9 SED, 10 Marker, 11 Literal, 12 Trust, 13 User ID, 14 Public-Subkey, 17 User Attribute, 18 SEIPD, 19 MDC, 60-63 private or experimental. Later revisions of OpenPGP define more tags; they were not read." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:OpenPGP" |
|---|
| observed_in | |
|---|
|
|---|
| data | | trigger | "packet header parse" |
|---|
| effect | "tag and length form selection" |
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "RFC 4880 sections 4.2 and 4.3 read from rfc-editor.org; RFC 9580 not read" |
|---|
| repo | "" |
|---|
| path | "rfc4880.txt" |
|---|
| lines | "722-800, 907-930" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Packet tag byte" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T06:59:37.312Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T08:04:22.415Z" |
|---|
| summary | "Scoped to RFC 4880 (the only text read): the tag list there also has 0 reserved and 60-63 private/experimental; the list is not claimed for later revisions of the standard. Read RFC 4880 sections…" |
|---|
| changed | |
|---|
|
|
|---|