Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-10-21
10:03 • Closed ticket [6d2ef441cc]: Password protected zifps files cannot be opened in a... artifact: 3523a50f6e user: serhiy.storchaka
2024-08-22
17:25
Merge [bea92dfdc5efd604]: Fix [6d2ef441cc], [c315de9e44] - zipfs password bugs. check-in: 2966a0827c user: pooryorick tags: unchained, INCOMPATIBLE_LICENSE
2023-09-30
16:38 • Ticket [6d2ef441cc] Password protected zifps files cannot be opened in a+ mode</... artifact: 0e61eea66f user: apnadkarni
2023-09-29
12:05 • Ticket [6d2ef441cc]: 3 changes artifact: 7434dbfe9e user: apnadkarni
08:39 • Pending ticket [6d2ef441cc]. artifact: 79660a63f7 user: jan.nijtmans
03:35 • Closed ticket [6d2ef441cc]. artifact: 9c42eb3d29 user: apnadkarni
03:31
Merge 8.7 - Fix [6d2ef441cc], [c315de9e44] - zipfs password bugs check-in: bea92dfdc5 user: apnadkarni tags: trunk, main
03:09
Fix [6d2ef441cc], [c315de9e44] - zipfs password bugs check-in: 9c204498a8 user: apnadkarni tags: core-8-branch
2023-09-28
17:11
Progress on [6d2ef441cc] check-in: 5fd2ca4c3d user: apnadkarni tags: apn-zipfs-password
16:15 • New ticket [6d2ef441cc] Password protected zifps files cannot be opened in a+ mo... artifact: 70eb03feec user: apnadkarni

Password protected zifps files cannot be opened in a+ mode

Closed / Fixed6d2ef441cc67523991e71170cba571b8cf98838eCreated 3 years agoUpdated 42 days ago
Descriptionmarkdown2023-09-28 16:15:03

(Note this is different from [5d308081e4] as files that are not password protected can be opened in a+ mode.)

% zipfs mount ../tests/zipfiles/test-password.zip / password
% set fd [open //zipfs:/cipher.bin a+]
invalid CRC

CRC error is a false positive. File can be read fine in read-only mode.

Referenced by4
apnadkarniplain2023-09-29 03:35:21
Fixed in [9c204498a8].
jan.nijtmanswiki2023-09-29 08:39:36
apnadkarniplain2023-09-29 12:05:24
Disabled password related tests on MacOS.
apnadkarniplain2023-09-30 16:38:38
Root cause for macos is likely the same as for [c315de9e44]. And repeating what I said there...

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.

Also raising severity as it appears this is a password issue.
serhiy.storchakawiki2026-10-21 10:03:38

Fixed in 9.0.0 by [9c204498a8] (trunk: [bea92dfdc5]). The remaining macOS-only failures of the password tests are tracked in [bbe7c6ff9e].

Log in (anonymous is fine) to add a comment.