Skip to content

feat(handler): add Apple IMG4/IM4P handler - #1492

Open
elektrischermoench wants to merge 1 commit into
onekey-sec:mainfrom
elektrischermoench:feat/handler-img4
Open

feat(handler): add Apple IMG4/IM4P handler#1492
elektrischermoench wants to merge 1 commit into
onekey-sec:mainfrom
elektrischermoench:feat/handler-img4

Conversation

@elektrischermoench

Copy link
Copy Markdown
Contributor

Adds a handler for Apple IMG4 containers (DER-encoded ASN.1). Supports both 0x82 (16-bit length) and 0x83 (24-bit length) DER header variants and extracts the raw IM4P payload.

@elektrischermoench
elektrischermoench force-pushed the feat/handler-img4 branch 6 times, most recently from 0522f2d to 9942be3 Compare April 21, 2026 07:48
@qkaiser
qkaiser self-requested a review April 21, 2026 09:40
@qkaiser qkaiser added enhancement New feature or request format:archive python Pull requests that update Python code format:vendor Custom vendor format labels Apr 21, 2026
@qkaiser qkaiser added this to the Big Apple milestone Apr 21, 2026
Comment thread python/unblob/handlers/archive/apple/img4.py
Comment thread python/unblob/handlers/archive/apple/img4.py Outdated
Comment thread python/unblob/handlers/archive/apple/img4.py Outdated
Comment thread python/unblob/handlers/archive/apple/img4.py Outdated
Comment thread python/unblob/handlers/archive/apple/img4.py Outdated
Comment thread python/unblob/handlers/archive/apple/img4.py Outdated
Comment thread python/unblob/handlers/archive/apple/img4.py Outdated
@elektrischermoench
elektrischermoench force-pushed the feat/handler-img4 branch 2 times, most recently from 133a396 to b19a7e4 Compare April 24, 2026 20:34
@elektrischermoench
elektrischermoench force-pushed the feat/handler-img4 branch 2 times, most recently from f7d60c3 to c48ad3f Compare July 1, 2026 21:36
@qkaiser

qkaiser commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

@elektrischermoench if you touch this code, I recommend you squash both commits into one

Adds a handler for Apple IMG4 containers (DER-encoded ASN.1).
Supports both 0x82 (16-bit length) and 0x83 (24-bit length) DER
header variants and extracts the raw IM4P payload.
@elektrischermoench

elektrischermoench commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto latest main (was 92 commits behind, base was the Mach-O merge aa7e12cd). Still a single commit, no conflicts. Handler docs regenerated and in sync. @qkaiser could you take another look when you get a chance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request format:archive format:vendor Custom vendor format python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants