Bug 391295 - Dolphin not asking for ZIP password ("Open archives as folder" enabled)
Summary: Dolphin not asking for ZIP password ("Open archives as folder" enabled)
Status: CONFIRMED
Alias: None
Product: frameworks-karchive
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-02 12:52 UTC by kolAflash
Modified: 2022-11-20 10:46 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kolAflash 2018-03-02 12:52:31 UTC
Enable:
Settings -> Configure Dolphin -> Navigation -> Open archives as folder

Then open an password protected archive and Dolphin won't ask you for a password when clicking on a file inside the archive.

Example:
  echo hello > hello.txt
  zip -e test.zip hello.txt
  # password: pw
Then open the archive in Dolphin and open hello.txt. hello.txt will show up in Kate (or another editor), but it's content will be encrypted. (you'll see some gibberish)

Possible solutions:
- let Dolphin ask for the password
- open the default ZIP program (e.g. Ark) if it's too difficult to handle this in dolphin

Maybe this is more a KIO bug than Dolphin. But I don't know.
Maybe related: bug 101830 - password not asked for when opening an encrypted zip file

Tested with:
- openSUSE Tumbleweed 2018-02-27 KDE x86_64 LiveCD (Dolphin 17.12.2, KDE 5.12.1)
- openSUSE 42.3 x86_64 (Dolphin 17.04.2, KDE 5.8.7)
Comment 1 Kai Uwe Broulik 2018-03-02 12:56:41 UTC
Re-assigning to kio-extras where the archive KIO (zip:/ URLs) lives
Comment 2 Kai Uwe Broulik 2018-03-02 13:04:21 UTC
Just checked the archive KIO, it seems KArchive does not support encrypted/password-protected archives at all. Re-assigning there.
Comment 3 Justin Zobel 2022-11-15 22:58:59 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 4 Patrick Silva 2022-11-20 10:46:30 UTC
Can reproduce on neon unstable.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Graphics Platform: Wayland