Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

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

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. 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
    ```
    
  5. foundin changed to: "8.7"
  6. is_private changed to: "0"
  7. login: "apnadkarni"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
  10. resolution changed to: "None"
  11. severity changed to: "Severe"
  12. status changed to: "Open"
  13. submitter changed to: "apnadkarni"
  14. subsystem changed to: "- New Builtin Commands"
  15. title changed to:
    Read of a password protected zipfs file with a bad password does not raise an error
    
  16. type changed to: "Bug"