From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Format:Flatpak bundle" |
|---|
| claim | "A .flatpak single-file bundle has no magic: flatpak reads the whole file as a GVariant of type OSTREE_STATIC_DELTA_SUPERBLOCK_FORMAT, child 3 is the 32-byte target commit checksum and child 0 an a{sv} dictionary with ostree.endianness, ref, origin, runtime-repo, collection-id, metadata and gpg-keys." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Flatpak bundle" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "parse the file as an OSTree static delta superblock GVariant and look for a 'ref' key" |
|---|
| indicator | "child 0 dictionary key 'ref' like app/<id>/<arch>/<branch>" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "flatpak_bundle_load" |
|---|
| repo | "https://github.com/flatpak/flatpak" |
|---|
| commit | "ed564f7cce7e6f81926fc4a2d58125a4adf64649" |
|---|
| path | "common/flatpak-repo-utils.c" |
|---|
| lines | "3681-3815" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Bundle is an OSTree delta superblock" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T02:06:27.539Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T02:52:57.505Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read flatpak_bundle_load in common/flatpak-repo-utils.c at the cited commit: g_variant_new_from_bytes with OSTREE_STATIC_DELTA_SUPERBLOCK_FORMAT, child 3 is the target checksum, child 0 the metadata a{sv} with ostree.endianness, ref, origin, runtime-repo, collection-id, metadata and gpg-keys lookups." |
|---|
|
|
|---|