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
2966a0827cMerge [bea92dfdc5efd604]: Fix [6d2ef441cc], [c315de9e44] - zipfs password bugs. check-in2024-08-22 17:25:03bea92dfdc5Merge 8.7 - Fix [6d2ef441cc], [c315de9e44] - zipfs password bugs check-in2023-09-29 03:31:329c204498a8Fix [6d2ef441cc], [c315de9e44] - zipfs password bugs check-in2023-09-29 03:09:165fd2ca4c3dProgress on [6d2ef441cc] check-in2023-09-28 17:11:39
apnadkarniplain2023-09-29 03:35:21
Fixed in [9c204498a8].
jan.nijtmanswiki2023-09-29 08:39:36
MacOS build failure: https://github.com/tcltk/tcl/actions/runs/6348251441
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.