Improve password-protection status in the properties dialog
ClosedPublic

Authored by elvisangelaccio on Mar 11 2016, 6:57 PM.

Details

Summary

Currently there is a bug in the props dialog (well, in the Archive class actually).
If you create an encrypted archive with CreateDialog, the props dialog claims that is unencrypted.
While looking for a fix, I thought that would be nice to also tell the user whether the
archive is header-encrypted.

To do so, a new EncryptionType enum was introduced as archive property.

Diff Detail

Repository
R36 Ark
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
elvisangelaccio retitled this revision from to Improve password-protection status in the properties dialog.
elvisangelaccio added a reviewer: rthomsen.
elvisangelaccio updated this object.
Restricted Application added a project: Ark. · View Herald TranscriptMar 11 2016, 6:57 PM
Restricted Application added a subscriber: kde-utils-devel. · View Herald Transcript

Screen of the new property about header-encryption

rthomsen accepted this revision.Mar 12 2016, 10:30 AM
rthomsen edited edge metadata.

Code looks good. I tested opening/creating password-protected rar with/without headerenc.

This revision is now accepted and ready to land.Mar 12 2016, 10:30 AM