Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Password protected zifps files cannot be opened in a+ mode

Closed / Fixed6d2ef441cc67523991e71170cba571b8cf98838eCreated 3 years agoUpdated 43 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.