Overview
| Artifact ID: | 255901158d919bd2174dfbaa51483e5bc7e67c53234887785367f00d5874292a |
|---|---|
| Ticket: | b3c74292558fedac648a424642ca7923624ff1ad
Read of a password protected zipfs file with a bad password does not raise an error |
| User & Date: | apnadkarni on 2023-09-15 03:13:00 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
``` % zipfs mount ../tests/zipfiles/test-password.zip mt badpass % set fd [open //zipfs:/mt/cipher.bin] zipfs_14c_2 % read $fd (junk returned) ``` This is bad because application has no way of knowing a bad password was entered and the data is bogus. It should raise an error just as when a password is not supplied: ``` % zipfs mount ../tests/zipfiles/test-password.zip mt % set fd [open //zipfs:/mt/cipher.bin] decryption failed ```
- foundin changed to: "8.7"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Severe"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "- New Builtin Commands"
- title changed to:
Read of a password protected zipfs file with a bad password does not raise an error
- type changed to: "Bug"