Artifacts Associated With Ticket c315de9e44
Ticket change [9769972f62] (rid 218791) by apnadkarni on 2023-09-27 15:16:47:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-markdown"
- comment initialized to:
Password protected files are protected from reading but not writing. ``` % zipfs mount ../tests/zipfiles/test-password.zip [zipfs root] % set fd [open [file join [zipfs root] cipher.bin]] decryption failed - no password provided % set fd [open [file join [zipfs root] cipher.bin] w] zipfs_14c_1 % puts $fd "new data" % close $fd % set fd [open [file join [zipfs root] cipher.bin]] zipfs_0_2 % gets $fd new data % close $fd ```
- foundin initialized to: "8.7"
- is_private initialized to: "0"
- login: "apnadkarni"
- priority initialized to: "5 Medium"
- private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to:
Password protected zip files can be modified without the password
- type initialized to: "Bug"
Ticket change [e87fa0ed7a] (rid 218801) by chw on 2023-09-27 16:31:56:
- icomment:
Ashok, I've taken the liberty to change the ticket title replacing modified by rewritten. Why? Since those files can be only written from scratch. Modification would require prior knowledge of content which isn't given due to not having the password for decoding the file. Which brings us to discussion of the use(full|less)ness of being able to non-persistently modifying mounted ZIP filesystems. When I added this (deliberately undocumented) feature I was thinking of temporarily monkey patching stuff, not to have it as an assured property of the ZIP filesystem.
- login: "chw"
- mimetype: "text/plain"
- title changed to:
Password protected zip files can be rewritten without the password
- icomment:
Ticket change [5f51182046] (rid 218844) by apnadkarni on 2023-09-28 11:29:35:
- icomment:
Sure, no problem changing the title. I'm also chewing on the usefulness of a writable zip file system which is not persisted. I feel it would have some uses but is somewhat incomplete at the moment, e.g. write size being limited at open time. Not completely crystallized in my mind as to whether to postpone to a future release or not. Either way manpages need to be updated to either say zipfs is read-only (and change implementation accordingly) or state the limitations (no new files or directories, size limits etc.) Still ruminating on what direction to propose ...
- login: "apnadkarni"
- mimetype: "text/plain"
- icomment:
Ticket change [9a0ac35bc3] (rid 218866) by chw on 2023-09-28 15:45:03:
- icomment:
What about booking this feature under the ::tcl::unsupported::* category then? And indeed is the ZIPFS unwritable as long as the magic *::wrmax isn't changed from its zero default.
- login: "chw"
- mimetype: "text/plain"
- icomment:
Ticket change [083a6db758] (rid 218867) by apnadkarni on 2023-09-28 16:01:13:
- icomment:
That's one possibility. Right now I'm focused on working through the pending bugs. Let's see where things stand after that.
- login: "apnadkarni"
- mimetype: "text/plain"
- icomment:
Ticket change [a1558dcda8] (rid 218888) by apnadkarni on 2023-09-29 03:35:47:
- closedate changed to: "2460216.64985819"
- closer changed to: "apnadkarni"
- icomment: "Fixed in [9c204498a8]."
- login: "apnadkarni"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [7097aa6332] (rid 218895) by jan.nijtmans on 2023-09-29 08:40:21:
- assignee changed to: "apnadkarni"
- closer changed to: "nobody"
- icomment:
MacOS build failure: [https://github.com/tcltk/tcl/actions/runs/6348251441]
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- status changed to: "Pending"
Ticket change [254fc27179] (rid 218910) by apnadkarni on 2023-09-29 12:05:47:
- icomment: "Disabled password related tests on MacOS."
- login: "apnadkarni"
- mimetype: "text/plain"
Ticket change [79c70b534c] (rid 218957) by apnadkarni on 2023-09-30 16:34:47:
- assignee changed to: "nobody"
- icomment:
This bug is assigned to me, presumably by Jan. However, someone with Mac access and familiarity with that platform will need to pick this up. Tests run without error on Windows and Linux.
- login: "apnadkarni"
- mimetype: "text/plain"
Ticket change [b7b7cf9eb4] (rid 259732) by serhiy.storchaka on 2026-10-21 10:03:38:
- icomment:
Fixed in 9.0.0 by [9c204498a8] (trunk: [bea92dfdc5]): encrypted members can no longer be opened for writing without the password. The macOS-only test failures are tracked in [bbe7c6ff9e].
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- icomment: