Bug 165074

Summary: Ark not handles encripted 7z archives
Product: [Applications] ark Reporter: AndreY <andreythinking>
Component: generalAssignee: Yew Ming Chen <fusion82>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description AndreY 2008-06-27 04:30:57 UTC
Version:           2.6.4 (using 3.5.9, compiled sources)
Compiler:          Target: i586-manbo-linux-gnu
OS:                Linux (i686) release 2.6.24.4-desktop-1mnb

It possible to create archives with password (i.e. encripted) with 7z command line archiver. Ark can't extract such archive by any way: there is not password request and not extraction occurs.
Comment 1 AndreY 2008-06-27 07:38:43 UTC
It relate to 7z archives with encripted headers (7z a -mhe=on -pQWERTY FILES.7z FILES) and with not encripted headers (7z a -pQWERTY FILES.7z FILES).
Comment 2 Yew Ming Chen 2008-08-23 12:53:00 UTC
KDE4 ark's new 7zip plugin should be able to extract password protected files but not for encrypted headers yet.
Comment 3 Yew Ming Chen 2008-11-12 15:52:35 UTC
SVN commit 883280 by ymchen:

7zip-plugin uses KPtyProcess to enable password querying. Now can list 
archives with encrypted headers (-mhe option)
CCBUG: 165074


 M  +2 -0      kerfuffle/archivebase.cpp  
 M  +2 -0      part/archivemodel.cpp  
 M  +157 -45   plugins/7zipplugin/7zipplugin.cpp  
 M  +21 -0     plugins/7zipplugin/7zipplugin.h  
 M  +3 -0      plugins/7zipplugin/CMakeLists.txt  


WebSVN link: http://websvn.kde.org/?view=rev&revision=883280
Comment 4 Yew Ming Chen 2009-01-08 19:59:16 UTC
tested working:
created an encrypted file with:
7z a -mhe -p12345 encrypted.7z  *.txt

then it can be opened and extracted with ark