Overview
| Artifact ID: | 22164d8d6cbfc6bf50e06928d3df76cbc0c68a6e2dea16cf8ea4d995a76f9738 |
|---|---|
| Ticket: | 26547532af7fb7d24b2cd101b85abdb1a1af6291
zipfs offsets are a problem |
| User & Date: | juliannoble2 on 2024-10-12 14:59:02 |
Changes
- icomment:
This late in the process (post release Tcl9) I don't genuinely expect there is a high likelihood the project will move in this direction. I request that if possible this be left as a request for enhancement (long term - details below) and effectively at least stand as note that usability of zip-enhanced exes and kits can potentially vacillate between two states depending on how offsets are calculated. That either is generally readable/extractable by tools and zipfs itself is a saving grace. I note also that having tried only a couple of open source zip signing methods - one was pretty compatible with having a prefix exe/script and could still be run after signing; another rust based one put in it's own prefix and seems completely incompatible. I suspect other signing mechanisms not specific to zip might be the better approach. For my own purposes I'll likely use/generate kits that are equivalent to concatenated exe/script and zip. (ie unadjusted offsets) I think a supplementary tool that can convert to either state might also be something I'll work on. (e.g some equivalences to the SDX.kit with things like an easy way to 'split' the zip vs the exe/script - even if offsets have been adjusted one way or the other) For the long term - I think the zip container 'standard' is so loose and variably interpreted, that the request for enhancement is to look to the future possibility of some other container format - such as that used by 7zip with LZMA etc. Given the amount of hard work everyone put into zipfs and our current small programmer base I expect this is a very long term project. My understanding is that the 7z format itself should be free to use - but the practicality of this probably depends on availability of BSD/MIT licensed code. I'll add that despite my apparent frustration here - that's more about the realities of the zip container format - and I really do appreciate the great work and the big step forward that this is for Tcl.
- login: "juliannoble2"
- mimetype: "text/plain"
- type changed to: "RFE"