Bug 454320

Summary: Trying to decrypt password protected rar fails.
Product: [Applications] ark Reporter: Bernhard Kölbl <besentv>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aacid, besentv, rthomsen6
Priority: NOR    
Version: 22.04.1   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=455467
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bernhard Kölbl 2022-05-24 10:11:57 UTC
SUMMARY
***
Trying to decrypt a password protected rar file causes Ark to yield a "wrong password" error, even though the password is correct.

Sadly, I can't provide the rar file here since it contains copyrighted material, but if you own the game "Amnesia Rebirth" you can try it yourself. Try to unpack _super_secret.rar in the game files using the key 7UI84S3D3AN2XJ36E7G5J26KA3Y9 and Ark will fail to do so. 

(Maybe I can provide some more information about the rar file, but idk what you could need.)

Also, 7-Zip unpacks this file perfectly fine.
***


STEPS TO REPRODUCE
1. Try to unpack _super_secret.rar form "Amnesia Rebirth" with key 7UI84S3D3AN2XJ36E7G5J26KA3Y9

OBSERVED RESULT
Unpacking fails with:

Loading the archive ‘/mnt/Games/SteamLibrary/steamapps/common/Amnesia Rebirth/_super_secret.rar’ failed with the following error:
Wrong password.

EXPECTED RESULT
Unpacking should work.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.15.41-1-MANJARO
(available in About System)
KDE Plasma Version: 5.24.5 
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION
Comment 1 2wxsy58236r3 2022-05-30 02:04:29 UTC
What happens if you use `unrar` (from unrar / rar package) and `unar` (from unarchiver package) commands to extract that file in a terminal?
Comment 2 Bernhard Kölbl 2022-05-30 08:33:33 UTC
Interesting, unrar (6.12 freeware) just wasn't installed, meaning it works now.
Maybe it would be useful to make the error message show, that the program is missing?
Comment 3 Elvis Angelaccio 2022-09-25 20:31:31 UTC

*** This bug has been marked as a duplicate of bug 459613 ***