Bug 253694 - Ark should allow to create a password-protected archive
Summary: Ark should allow to create a password-protected archive
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 2.17
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Raphael Kubo da Costa
URL:
Keywords:
: 336595 345004 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-09 20:03 UTC by Christopher Yeleighton
Modified: 2020-07-22 11:01 UTC (History)
15 users (show)

See Also:
Latest Commit:
Version Fixed In: 15.08
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Yeleighton 2010-10-09 20:03:06 UTC
Version:           2.14 (using KDE 4.4.4) 
OS:                Linux

Ark does not allow to create a password-protected archive even if the underlying engine supports it.

Reproducible: Always

Steps to Reproduce:
  1. 
Tell Ark to create archive.7z.

  2. 
Tell Ark to add the file /usr/share/doc/packages/ark/README with password 'ark'.

Actual Results:  
  2. No way.

Expected Results:  
  2. The Add file dialogue should allow to enter a password.

OS: Linux (x86_64) release 2.6.34.7-0.3-desktop
Compiler: gcc

Workaround: { 7z 'a' '-park' 'archive.7z' '/usr/share/doc/packages/ark/README'; }
Comment 1 Raphael Kubo da Costa 2010-12-08 02:19:43 UTC
Changing the default assignee in the currently open Ark bug reports to me.
Comment 2 rockonthemoonfm 2013-05-27 11:24:52 UTC
yes, please. I assume it is a must-have feature.
4.11 features window should be still opened for few days more ..
Comment 3 ulliber25 2014-03-10 12:03:57 UTC
This is a must have feature :D
Comment 4 Christoph Feck 2014-06-22 21:28:15 UTC
*** Bug 336595 has been marked as a duplicate of this bug. ***
Comment 5 Arturo 2015-02-28 17:19:25 UTC
I cant believe its not possible yet to protect your compressed files with KDE out-of-the box!
Comment 6 Elvis Angelaccio 2015-03-02 22:56:02 UTC
(In reply to Arturo from comment #5)
> I cant believe its not possible yet to protect your compressed files with
> KDE out-of-the box!
This feature is actually being reviewed and will be available as soon as possible.
Comment 7 Christoph Feck 2015-03-10 12:05:22 UTC
*** Bug 345004 has been marked as a duplicate of this bug. ***
Comment 8 jeremy9856 2015-06-08 15:19:50 UTC
> This feature is actually being reviewed and will be available as soon as possible.
Any news on this ?
Comment 9 Elvis Angelaccio 2015-06-08 15:22:06 UTC
(In reply to jeremy9856 from comment #8)
> > This feature is actually being reviewed and will be available as soon as possible.
> Any news on this ?

Ark should include this patch with the upcoming Applications 15.08 release.
Comment 10 jeremy9856 2015-06-08 15:23:08 UTC
Thank you very much !
Comment 11 Elvis Angelaccio 2015-07-22 12:36:28 UTC
Git commit 402bbe84bed878827664b849b8fb5e910bde1882 by Elvis Angelaccio.
Committed on 22/07/2015 at 12:26.
Pushed by elvisangelaccio into branch 'Applications/15.08'.

Create password-protected archives with Ark

This feature allows Ark to create a password-protected archive from
scratch.
The 7z and rar plugins support both header encryption and entries-only
encryption, while the zip one supports only the latter.

An encrypted archive can be created through the CreateDialog (within Ark) or
through the AddDialog (from e.g. Dolphin).

REVIEW: 120204
FIXED-IN: 15.08
GUI:

M  +30   -11   app/mainwindow.cpp
M  +13   -8    kerfuffle/CMakeLists.txt
M  +11   -133  kerfuffle/adddialog.cpp
M  +5    -24   kerfuffle/adddialog.h
M  +33   -52   kerfuffle/adddialog.ui
M  +19   -2    kerfuffle/addtoarchive.cpp
M  +4    -0    kerfuffle/addtoarchive.h
M  +51   -0    kerfuffle/archive_kerfuffle.cpp
M  +3    -0    kerfuffle/archive_kerfuffle.h
M  +10   -0    kerfuffle/archiveinterface.cpp
M  +4    -0    kerfuffle/archiveinterface.h
M  +85   -0    kerfuffle/cliinterface.cpp
M  +21   -1    kerfuffle/cliinterface.h
A  +256  -0    kerfuffle/createdialog.cpp     [License: BSD]
C  +32   -21   kerfuffle/createdialog.h [from: kerfuffle/adddialog.h - 070% similarity]
A  +122  -0    kerfuffle/createdialog.ui
M  +7    -0    kerfuffle/kerfufflePlugin.desktop
M  +12   -0    part/archivemodel.cpp
M  +3    -0    part/archivemodel.h
M  +9    -0    part/part.cpp
M  +3    -2    plugins/cli7zplugin/cliplugin.cpp
M  +2    -0    plugins/cli7zplugin/kerfuffle_cli7z.desktop.cmake
M  +3    -2    plugins/clirarplugin/cliplugin.cpp
M  +3    -1    plugins/clirarplugin/kerfuffle_clirar.desktop.cmake
M  +1    -1    plugins/clizipplugin/cliplugin.cpp
M  +3    -1    plugins/clizipplugin/kerfuffle_clizip.desktop.cmake

http://commits.kde.org/ark/402bbe84bed878827664b849b8fb5e910bde1882
Comment 12 Ettore Atalan 2015-07-22 14:39:25 UTC
Thanks!
Comment 13 noric 2015-11-04 22:24:12 UTC
Thanks a lot, Elvis!
Is it possible to compile the latest Ark for Kubuntu 14.04 (Trusty)?
Comment 14 Elvis Angelaccio 2015-11-04 23:01:05 UTC
(In reply to noric from comment #13)
> Thanks a lot, Elvis!
> Is it possible to compile the latest Ark for Kubuntu 14.04 (Trusty)?
In theory it's possible, yes. But you would have to compile all the Framework dependencies first. It's not something I would recommend to non-experienced users.