Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Encrypted ZIP shows contents structure #635

Closed
Timbervolt opened this issue Sep 8, 2020 · 2 comments
Closed

[BUG] Encrypted ZIP shows contents structure #635

Timbervolt opened this issue Sep 8, 2020 · 2 comments

Comments

@Timbervolt
Copy link

Configuration

  • Keka version: Version 1.1.30 (3477)
  • macOS version: 10.15.6 (19G2021)

After zipping a folder with password protection, I am asked for the password on unzipping on the mac.
I transfer it to a usb stick to use on a Windows 10 Home, and it asks me for the password on unzipping also (right click, extract files).
However, I can double left click the zip file, and the files are listed, and I can open the files inside it without being asked for a password.

Expected behavior

I should be asked for a password on double clicking the file in windows.

@Timbervolt Timbervolt added the bug label Sep 8, 2020
@aonez aonez changed the title [BUG] [BUG] Encrypted ZIP shows contents structure Sep 8, 2020
@aonez aonez added this to the How-to milestone Sep 8, 2020
@aonez aonez added the blessed label Sep 8, 2020
@aonez
Copy link
Owner

aonez commented Sep 8, 2020

@Timbervolt encrypted ZIP files have the contents structure (filenames) unencrypted by design. That's why you can see the structure of the file without needing the password. You can't (should not be able) to extract them without the password in any case.

If you want to also encrypt the filenames I suggest you use 7Z with the "Encrypt filenames" option enabled.

Hope this helps 😊

Dupe of #592

@Timbervolt
Copy link
Author

Thank you.
I checked it again just now and I am prompted for the password when I open (not extract) a file in the zip file.
I may have been mistaken to think I was looking in a zip file when probably I was looking in the extracted folder when I was testing the protection.
Apologies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants