Cannot access the file from an encrypted archive after an invalid password

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

Moderators: Stefan2, white, sheep, Hacker

Post Reply
User avatar
Slam
Junior Member
Junior Member
Posts: 16
Joined: 2013-03-25, 11:43 UTC

Cannot access the file from an encrypted archive after an invalid password

Post by *Slam » 2018-10-31, 11:02 UTC

1. Run WinRAR and here Options / Settings… / Compression / Create default… / Set password…
2. Select option „Encrypt file names“
3. Close WinRAR
4. Run Total Commander and here Configuration / Options… / Packer
5. In RAR section fill valid path (default is „C:\Program Files\WinRAR\WinRAR.exe“) and select option „Use internal un-RAR if possible“
6. Now create and encrypted RAR archive inside TC (ALT+F5)
7. Close TC and run it again
8. Click on created RAR archive
9. Fill valid password and check option „Remember…“
10. You can now access all files inside RAR archive
11. Leave this RAR archive open in one pane and minimize and maximize again TC window
12. Try view/edit any file inside RAR archive
13. Fill invalid password!
14. Now will appear warning message „Disk read error!“ every time, when you will try view/edit previous selected (with invalid password) file inside RAR archive. You must close TC, open it again and fill valid password.

PS: I'm not sure if all of these steps are needed, but the problem is reproduced this way.
NoBoDy Is PeRfEcT! ™

User avatar
Stefan2
Power Member
Power Member
Posts: 2486
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Cannot access the file from an encrypted archive after an invalid password

Post by *Stefan2 » 2018-10-31, 11:10 UTC

Me guess the right question is missing from your steps?

"why don't a valid password works (w/o TC restart) after I entered once a invalid password?"



Right? (just a guess, I didn't tried it myself, just curious)


 

User avatar
Slam
Junior Member
Junior Member
Posts: 16
Joined: 2013-03-25, 11:43 UTC

Re: Cannot access the file from an encrypted archive after an invalid password

Post by *Slam » 2018-10-31, 11:43 UTC

Not so exactly, because TC does not offer me the second opportunity to enter the valid password (until I close TC and run it again).
NoBoDy Is PeRfEcT! ™

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 37363
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Cannot access the file from an encrypted archive after an invalid password

Post by *ghisler(Author) » 2018-11-01, 11:09 UTC

The password is forgotten when you minimize TC, for security reasons. I will check why you aren't asked again. You may have to exit and re-enter the archive.
Author of Total Commander
http://www.ghisler.com

User avatar
Slam
Junior Member
Junior Member
Posts: 16
Joined: 2013-03-25, 11:43 UTC

Re: Cannot access the file from an encrypted archive after an invalid password

Post by *Slam » 2018-11-01, 11:35 UTC

But exit and re-enter the archive will also not help, only closing the TC and run it again.
NoBoDy Is PeRfEcT! ™

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 37363
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Cannot access the file from an encrypted archive after an invalid password

Post by *ghisler(Author) » 2018-11-02, 11:09 UTC

It's because the archive name list is cached. You could enter a different archive and then again this archive as a workaround until I find a solution.
Author of Total Commander
http://www.ghisler.com

User avatar
Slam
Junior Member
Junior Member
Posts: 16
Joined: 2013-03-25, 11:43 UTC

Re: Cannot access the file from an encrypted archive after an invalid password

Post by *Slam » 2018-11-05, 10:04 UTC

I confirm the workround, thanks.
NoBoDy Is PeRfEcT! ™

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 37363
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Cannot access the file from an encrypted archive after an invalid password

Post by *ghisler(Author) » 2019-02-27, 16:22 UTC

This should be fixed in Total Commander 9.22 release candidate 1, please test it!
Author of Total Commander
http://www.ghisler.com

User avatar
Slam
Junior Member
Junior Member
Posts: 16
Joined: 2013-03-25, 11:43 UTC

Re: Cannot access the file from an encrypted archive after an invalid password

Post by *Slam » 2019-05-16, 15:12 UTC

I confirm the fix in current TC 9.22a and Windows 10.
NoBoDy Is PeRfEcT! ™

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 37363
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Cannot access the file from an encrypted archive after an invalid password

Post by *ghisler(Author) » 2019-05-20, 15:18 UTC

Thanks for your feedback!
Author of Total Commander
http://www.ghisler.com

Post Reply