Commit Graph
22 Commits
Author SHA1 Message Date
blacktop e18f1031f8 fix(magic): don't error on non-IMG4/IM4P files
IsImg4 and IsIm4p returned errors when ASN.1 parsing failed,
but parse failure just means the file isn't that format. This
broke callers like `kernel kmutil inspect -x` on x86_64 Macs
where the kernel collection is a Mach-O .kc file, not IMG4.

Return (false, nil) for parse failures; only error on I/O failure.

Closes #1081
2026-04-05 22:43:55 -06:00
blacktop 9af921e053 chore: check for more lzfse start block types in magic pkg 2025-06-29 13:39:22 -06:00
blacktopandGitHub 3cded00f59 feat: revamp ipsw img4 commands to bring inline with tools like img4lib (#784) 2025-06-28 01:54:40 -06:00
blacktop 9e8f87dc8b fix: ipsw ota ls for newer YAA/YOP files 2025-06-04 20:42:23 -06:00
blacktop d4a0c85a8f feat: add ability to decrypt DMG with --key in ipsw disk dmg cmd 2025-02-26 21:14:06 -07:00
blacktop 6c315630b7 feat: add --remote URL support to ipsw fw c1 cmd 2025-02-24 19:13:33 -07:00
blacktop 8f5c0d97ef feat: add IPSW input support to ipsw fw aop cmd + add initial file extraction support 2025-02-24 12:57:22 -07:00
blacktop c26436c8d9 feat: add support for encrypted DMGs in the ipsw disk dmg cmd 2025-02-16 17:04:11 -07:00
blacktop 2ca5265856 feat: 🆕 'hidden' ipsw disk apfs cmd 2025-02-14 22:52:43 -07:00
blacktop 5f06d2741b feat: 🆕 ipsw disk hfs cmd to list/extract files from an HFS+ drive 2025-02-14 10:50:31 -07:00
blacktopandGitHub 4740288b4b feat: 🆕 pkg cmd (#638) 2025-02-08 13:40:53 -07:00
blacktop 190024704e feat: add --json flag to ipsw fw tc cmd + fix macOS img4 support 2024-10-05 13:30:31 -06:00
blacktop 2a97b9f441 fix: magic detection for im4p files 2024-10-02 14:49:35 -06:00
blacktop 8ff9047bfb chore: minor cleanup 2024-07-28 19:27:23 -06:00
blacktop 36d0eef0bf chore: add error message about using ipsw dl ota --kernel etc on AEA OTAs 2024-07-28 10:12:02 -06:00
blacktopandGitHub ba79d3c3b0 feat: add support for 🆕 AEA OTA files (#521) 2024-07-27 23:29:26 -06:00
blacktop 3d5116606d chore: add a few more file detections to the magic pkg 2024-07-26 14:09:50 -06:00
blacktop 10321063bf chore: working on fw cmds 2024-06-29 11:32:18 -06:00
blacktop baf648358c chore: add some more type identifiers 2024-05-28 13:16:48 -06:00
blacktop 7545afc2f2 feat: add IPSW macho diffs to ipsw diff command #371 2023-12-17 15:19:12 -07:00
blacktop 911448130f Update magic.go 2022-12-17 20:55:03 -07:00
blacktop c7505b6787 feat: for ipsw macho cmds try and detect non-macho or img4/im4p file and let use know next steps 2022-12-14 17:40:21 -07:00