+[8.50ß1-3] TC asks for RAR file pw using external packer

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Bluestar
Senior Member
Senior Member
Posts: 388
Joined: 2007-06-10, 15:26 UTC
Location: Hungary
Contact:

+[8.50ß1-3] TC asks for RAR file pw using external packer

Post by *Bluestar »

Hi,

In case you try to extract a simple RAR file using ALT+F9 (alias cm_UnpackFiles) then a Password dialog pops up, even if I have previously unchecked the "Use internal un-RAR if possible" option in Configuration/Packer.

Then after typing in the correct password it also starts the associated "WinRAR.exe" file, which also asks for the correct password.


Reproduce:
01. cm_PackerConfig
02. Set the RAR packer path to your WinRAR.exe file
03. Uncheck the "Use internal un-RAR if possible" option and save the settings
04. Create a RAR file with filenames having encrypted in it (cannot reproduce in case of a simple password protection where filenames can be seen!)

For example (pass: tc):

Code: Select all

UmFyIRoHAM6Zc4AADQAAAAAAAADpJw6fn9ss9KNLd1Zv48mSdOH0qxfQHZqQP/2wIM9L+OL03z4F
mNS3/3fcyIc1Q2pivbJbq4r73BdIPHICKQGwFAlJwHr07NmT1+bedew11a8+0fWt5BPo6ScOn5/b
LPT0GGzrJIidBWQn//KBcYZz
05. Try to extract it using Alt + F9 -> TC asks for password, even if it shouldn't in this case -> you type in the pw -> it doesn't pass it to WinRAR, so it asks for password again -> successful extract


(btw I'd gladly use TC's built-in unpacker, but it doesn't have a pw manager for example, which has been added to winrar recently & i use this function a lot, since I work with encrypted archives all the time...)

The problem exists in TC8.50ß1-ß3 (tested under W7SP1x86 & TCx86).


Regards,
Bluestar
Last edited by Bluestar on 2013-09-17, 21:23 UTC, edited 2 times in total.
» Developer of Total Updater & extDir utility.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think TC reads archive structure itself anyway (there's no way to get contents from external unpackers), and only performs unpacking using external unpacker. So, it needs the password to read archive contents.
User avatar
Bluestar
Senior Member
Senior Member
Posts: 388
Joined: 2007-06-10, 15:26 UTC
Location: Hungary
Contact:

Post by *Bluestar »

But why should it read the structure of the archive itself, in case I disabled the internal unpacker & just wants to unpack the whole archive, without knowing the exact files it contains?

Shouldn't it just have to pass the file to the associated executable, as it did so in 7.56 / 7.57a & the final 8.01? That approach seemed much better to me...
» Developer of Total Updater & extDir utility.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think ignore list etc may be used only in case when TC reads contents itself. And it doesn't do any differences between whole and partial unpacking.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will check it - there should be no need to ask for the password on Alt+F9.
Author of Total Commander
https://www.ghisler.com
User avatar
Bluestar
Senior Member
Senior Member
Posts: 388
Joined: 2007-06-10, 15:26 UTC
Location: Hungary
Contact:

Post by *Bluestar »

I can confirm it has been fixed in TC 8.50ß4 - thank you Mr. Ghisler! :)
» Developer of Total Updater & extDir utility.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply