+[8.5b1] Saved pswd -> can't unpack files with another ps

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

+[8.5b1] Saved pswd -> can't unpack files with another ps

Post by *MVV »

Tested with built-in 7z:
1. Enter pswd-protected archive with encrypted names.
2. Type in a pswd and enable 'remember pswd'.
3. Enter pswd-protected archive w/o encrypted names (with another password).
4. Try to read or unpack any file. TC should ask for password but it fails.

Or another sequence:
1. Enter any pswd-protected archive.
2. Type in a WRONG pswd and enable 'remember pswd'.
3. Same as above.
4. Same as above.

TC doesn't reask wrong password until it 'forgets' remembered one (close/minimize etc).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I can confirm it with RAR, not checked with 7zip yet.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think it is common for all internal packers using new option to remember passwords. TC should check if remembered password is valid for current file and ask for a new one on unpack error.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No, it's not possible - TC has to start unpacking and wait for the error returned by the unpacker.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Unfortunately we have a very serious limitation of password keeping function.

Is it really so hard to ask for a new password in case of encrypted file unpack error?
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Post by *MaxX »

solution:
1. Open any encr. rar
2. Type worng pass
3. Get an error-message
4. Forget that wrong pass
5. Go back (outside) rar to it's dir
6. (if user need) repeat step 1, type valid pass, work good...
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Currently we need to minimize/restore TC to forget password. It is very inconvenient to do such operation every time when you need to enter another password.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Please try with beta 2, it should work better now. It's still possible that you get just an error in some cases - please report situations where that happens.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Thanks, seems to work fine with regular archives.

However it doesn't work in case when different files are encrypted with different passwords. It even causes an infinite password prompt loop sometimes.
Post Reply