Menu

#2566 7-Zip Portable fails to encrypt

None
open-rejected
nobody
5
2025-05-20
2025-05-19
No

Portable version fails to encrypt ZIP files

Project Name: 7-Zip
Package: Core Archiving Functionality (ZIP Encryption)
Version: 24.09 (x64), portable

Operating System: Windows 10 22H2

Expected Result:
Attempting to open a 7-zip created ZIP file in Windows File Explorer should prompt the user to enter the password, since a password was given.

Actual Result:
The ZIP file opens without prompting for any password.

Steps to Reproduce:
Open 7-Zip 24.09 (x64) -- portable.
Navigate to a directory containing files to be archived.
Select one or more files.
Right-click on the selected files.
Choose '7-Zip' from the context menu.
Select 'Add to archive...'.
In the 'Add to Archive' dialog:
Set the 'Archive' field to a desired name (e.g., 'test.zip').
Set the 'Archive format' dropdown to 'zip'.
In the 'Encryption' section:
Attempt 1: Click the 'Show password' checkbox and enter a password (with spaces) in the 'Enter password' field once. Leave method as 'ZipCrypto'.
Attempt 2: Leave the 'Show password' checkbox unchecked and enter the same password (with spaces) in both the 'Enter password' and 'Re-enter password' fields. Change method to 'AES-256'.
Click the 'OK' button.
Navigate to the created ZIP file ('test.zip' or your chosen name) in File Explorer.
Double-click on the ZIP file to open it using the default ZIP handler (Windows Explorer).

See the attached test.zip file, which should have been encrypted with "This is the password."

1 Attachments

Discussion

  • Stephen Walker

    Stephen Walker - 2025-05-19

    Test repeated.

    Version: 24.09 (x64), regular / non-portable

    Results: SAME as portable version

     
  • Stephen Walker

    Stephen Walker - 2025-05-19

    Test with no spaces in the password.

    Results: SAME

     
  • Igor Pavlov

    Igor Pavlov - 2025-05-20

    File names are not encrypted, but data is encrypted.

     
  • Igor Pavlov

    Igor Pavlov - 2025-05-20
    • status: open --> open-rejected
    • Group: -->
     

Log in to post a comment.

MongoDB Logo MongoDB