https://bugs.kde.org/show_bug.cgi?id=446264

--- Comment #4 from 2wxsy5823...@opayq.com ---
I tested using p7zip 7z / 7-Zip 7zz and also Ark with p7zip plugin, and I guess
it may be related to upstream issues, e.g.
- https://sourceforge.net/p/p7zip/bugs/105/
- https://sourceforge.net/p/sevenzip/bugs/2316/

However, I guess Ark may also have an issue - Ark does not show the
"Unsupported Method" error returned by p7zip.

Password issue: Maybe upstream issue
Empty files issue: Maybe upstream issue
Unsupported method issue: Maybe Ark issue

----- ----- -----
Case 1 - ZIP using Deflate and AES256:
If using p7zip plugin to extract the file, and a wrong password is entered, Ark
shows an error that the password is incorrect, but empty (0B) files are still
created.
If using Info-Zip plugin to extract the file,  Ark shows an error that the
encryption method is unsupported.
If using p7zip 7z / 7-Zip 7zz to extract the file, and a wrong password is
entered, it shows "ERROR: Wrong password" but empty files are still created.

Case 2 - ZIP using Zstd and AES256:
If using p7zip plugin to extract the file, and ...
Wrong password is entered: Ark does not show an error that the password is
incorrect or the compression method is unsupported, empty files are still
created.
Correct password is entered: Ark does not show an error that the compression
method is unsupported, empty files are still created.
If using Info-Zip plugin to extract the file,  Ark shows an error that the
encryption method is unsupported.
If using p7zip 7z / 7-Zip 7zz to extract the file, and ...
Wrong password is entered: p7zip does not show "ERROR: Wrong password", only
"ERROR: Unsupported Method", empty files are still created.
Correct password is entered: it shows "ERROR: Unsupported Method", empty files
are still created.

Case 3 - ZIP using Zstd and unencrypted:
If using p7zip plugin to extract the file, Ark does not show an error that the
compression method is unsupported, empty files are still created.
If using Info-Zip plugin to extract the file,  Ark shows an error that the
compression method is unsupported.
If using p7zip 7z / 7-Zip 7zz to extract the file, it shows "ERROR: Unsupported
Method".
----- ----- -----
Test environment:
- Ark 21.08.3
- p7zip 16.02 (Original p7zip)
- 7-Zip 21.06 (developed by Igor Pavlov) (see also Bug 440135)
----- ----- -----

Note:
Some distros (e.g. Arch Linux) provide jinfeihan57's fork of p7zip
(https://github.com/jinfeihan57/p7zip).
That fork supports Zstd in ZIP while the original p7zip does not support Zstd
in ZIP.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to