3 ms·
> a bug in “Archive Utility” on macOS prevents it from decompressing the resulting file I looked into this in the past, it's because they check for a "PK" head
by Retr0id 2y ago
> a bug in “Archive Utility” on macOS prevents it from decompressing the resulting file
I looked into this in the past, it's because they check for a "PK" header at the start of the file - which is of course not actually required. I assumed it was deliberate because it does exclude most "weird" ZIPs.
By the way, if you're interested in this sort of file format wrangling, check out Ange Albertini's talk tomorrow at 38c3: https://fahrplan.events.ccc.de/congress/2024/fahrplan/talk/QS9AXX/ https://fahrplan.events.ccc.de/congress/2024/fahrplan/talk/Q...
- Lammy 2y ago> it's because they check for a "PK" header at the start of the file Lots of FOSS tooling will have a similar limitation due to the lack of support in the shared-mime-info spec for reading identifying features from the ends of files. Please vote/comment on this issue to voice your support: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/147#note_1504442 https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues...
- deleted 2y ago[deleted]
- garaetjjte 2y agoBut EOCD is not required to be at the end of file either (well it is, but has stupid comment field).