Cannot cancel synchronize encrypted RAR

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Cannot cancel synchronize encrypted RAR

Post by *ts4242 »

Steps to reproduce:
1- Pack some files to encrypted RAR (no problem with encrypted ZIP)
2- Start TC with fresh ini
3- Synchronize RAR contents with files on the drive, check "by contents" option.
4- In the password dialog check "Remember" option then enter wrong password.
5- TC asks for the password again, press Cancel, TC asks again and again as many as the files count in the RAR.

Windows 10 Version 1709 (OS Build 16299.371)
TC 9.12 32x and 64x
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I couldn't reproduce it. In step 5, when I click "Cancel", it just stops comparing.

Maybe it depends on the RAR file? Did you use header (file name) encryption? Solid archives? Subdirectories? Anything other? I used a simple RAR4 file with just encrypted content, about 8 files in the root of the archive.
Author of Total Commander
https://www.ghisler.com
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

I have tested again with encrypted RAR packed using older version WinRAR 4.00 x64, no problem.
I'm using WinRAR 5.50 x64, here is a RAR file packed with WinRAR 5.50 x64 (the passowrd is aaa)

Code: Select all

MIME-Version: 1.0
Content-Type: application/octet-stream; name="winrar_550_x64.rar"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="winrar_550_x64.rar"

UmFyIRoHAQAzkrXlCgEFBgAFAQGAgACxDScLUgIDPKAABIwAIHiN8M+AAwAFMS50eHQwAQADD9z1
Ik9RzfDHC79UKC2l32+Ab+R9N3iQWM1g+2tJz37wq7ke4XJGRLgMz1MECgMC/iB7jmre0wHu7yr4
dsdmkz/kV/RIsowbBZxZpODHh+NIFOtol8ov6YDW/s1SAgM8oAAEjAAgeI3wz4ADAAUyLnR4dDAB
AAMP3PUiT1HN8McLv1QoLaXfbyFWBUzgqAkExYxr8JDvUMqruR7hckZEuAzPUwQKAwL+IHuOat7T
AaRFaY+LK2brmxF8diBLNhSwXElRB6Ap/g7xRulhbvcr40q1H1ICAzygAASMACB4jfDPgAMABTMu
dHh0MAEAAw/c9SJPUc3wxwu/VCgtpd9vcDigdwFvVjZrU9sesS1Hk6u5HuFyRkS4DM9TBAoDAv4g
e45q3tMBGbSWZKUOWeTbrGniKm98mbKct2zPl08sT0MerqkApY3lGTLrUgIDPKAABIwAIHiN8M+A
AwAFNC50eHQwAQADD9z1Ik9RzfDHC79UKC2l328Blbm84gbf8JfDQB6VQx32q7ke4XJGRLgMz1ME
CgMC/iB7jmre0wFh5N27TtKTXlDVqVvOxElHNwgIykkzwRjTTqGNcVNKjR13VlEDBQQA
It is contain 4 files, you have to press Cancel 5 times to abort!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks, I can reproduce it with 9.12, but not with 9.20 beta 1. Can you check it please?
Author of Total Commander
https://www.ghisler.com
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

I also can not reproduce with 9.20 beta 1, maybe it was fixed accidentally with other fixes.
Post Reply