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: white, Hacker, petermad, Stefan2

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 »

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: 4124
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 »

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 »

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: 48012
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) »

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
https://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 »

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: 48012
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) »

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
https://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 »

I confirm the workround, thanks.
NoBoDy Is PeRfEcT! ™
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48012
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) »

This should be fixed in Total Commander 9.22 release candidate 1, please test it!
Author of Total Commander
https://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 »

I confirm the fix in current TC 9.22a and Windows 10.
NoBoDy Is PeRfEcT! ™
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48012
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) »

Thanks for your feedback!
Author of Total Commander
https://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 »

I don't know how this is possible (Probably some Windows 10 update? I have Windows 10 Pro 1803 Build 17134.829 and WinRAR v5.71, both 64bit), but this problem is back in the current v9.22a last few days! :shock:
NoBoDy Is PeRfEcT! ™
User avatar
tuska
Power Member
Power Member
Posts: 3733
Joined: 2007-05-21, 12:17 UTC

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

Post by *tuska »

Slam wrote: 2019-07-10, 11:54 UTC ... (Probably some Windows 10 update? ) ...
I am not using WinRAR, but Windows 10 Pro.

Maybe it already helps to check the Windows updates (WIN + i, "Update and Security", "Check for updates")
and install further updates?
https://docs.microsoft.com/en-us/windows/release-information/

Windows 10 May 2019 Update
https://www.microsoft.com/en-us/software-download/windows10/


Windows 10 Pro (x64) Version 1903 (OS Build 18362.239)
Intel(R) Core(TM) i7-4770 CPU @ 3.4OGHz, 16 GB RAM
TC 9.22a x64/x86 | Everything - Version 1.4.1.947 (x64)
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 »

I'm sorry, but I'm in the corporate environment (red warning "*Some settings are managed by your organization") and I can't install updates myself.
NoBoDy Is PeRfEcT! ™
User avatar
tuska
Power Member
Power Member
Posts: 3733
Joined: 2007-05-21, 12:17 UTC

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

Post by *tuska »

Slam wrote:16.05.2019 17:12 I confirm the fix in current TC 9.22a and Windows 10.
Slam wrote:10.07.2019 13:54 ... (Probably some Windows 10 update? ) ...
Slam wrote:11.07.2019 16:20 I'm sorry, but I'm in the corporate environment (red warning "*Some settings are managed by your organization")
and I can't install updates myself.
If you suspect it's related to a Windows update:
Have you looked through the "Kb articles" that have been published since then?

Version 1803 (OS build 17134)
17134.765 2019-05-14 KB 4499167
17134.766 2019-05-19 KB 4505064
17134.799 2019-05-21 KB 4499183
17134.829 2019-06-11 KB 4503286
User avatar
tuska
Power Member
Power Member
Posts: 3733
Joined: 2007-05-21, 12:17 UTC

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

Post by *tuska »

2Slam
You could also try it with a TC_clean.ini (32 bit and 64 bit).
I'm out of here then because I don't use WinRAR.

Regards,
Karl
Post Reply