[11.57b1] Unable to extract the encrypted zip file

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

Moderators: petermad, Stefan2, white, Hacker

Post Reply
pulbitz
Junior Member
Junior Member
Posts: 54
Joined: 2009-06-05, 12:19 UTC

[11.57b1] Unable to extract the encrypted zip file

Post by *pulbitz »

Version 11.57b1 has an issue where it cannot extract certain encrypted Zip files.
(Not all encrypted zip files are affected. It is unclear under what conditions a file must be created for this problem to occur.)
Even when entering the correct password, it keeps asking for the password(wrong password?).
Below is a sample file. The password is password.
https://www.mediafire.com/file/xezzvrecmrnb6pc/password+is+password.zip/file
User avatar
white
Power Member
Power Member
Posts: 6404
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [11.57b1] Unable to extract the encrypted zip file

Post by *white »

Confirmed when using Unpack all (cm_UnpackFiles).
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7313
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: [11.57b1] Unable to extract the encrypted zip file

Post by *Horst.Epp »

No problem using cm_UnpackFiles
Windows 11 Home, Version 25H2 (OS Build 26200.7922)
TC 11.57 beta2 x64 / x86
Everything 1.5.0.1406a (x64), Everything Toolbar 2.1.2, Listary Pro 6.3.6.99
QAP 12.2 x64
User avatar
AntonyD
Power Member
Power Member
Posts: 1818
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [11.57b1] Unable to extract the encrypted zip file

Post by *AntonyD »

Confirmed. It can't unpack the first one file "INSTALL.CAB"
Archive itself does not contain any errors.
#146217 personal license
User avatar
petermad
Power Member
Power Member
Posts: 16669
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [11.57b1] Unable to extract the encrypted zip file

Post by *petermad »

I cannot unpack the files in the sample archive with Alt+F9 (cm_UnpackFiles) -TC keeps asking for the password.

If I open the archive with Enter or Ctrl+PgDn I can unpack all files with F5.

If I delete all files in the archive except one - it doesn't matter which one I leave - then I can unpack with Alt+F9.
If I unpack the archive and repack it to a new zip file with encryption (AES256) with the internal Zip-packer I get a zip file that is 3405 bytes smaller, that I can unpack with Alt+F9.
If I unpack the archive and repack it to a new zip file with encryption (AES256) with 7-zip I also get a zip file, that I can unpack with Alt+F9.

I can unpack the sample archive with 7zFM.exe and WinRAR.exe

The files in the sample archive appears to be packed as: AES256, stored - whereas the files in my repacked archives are packed as AES256, deflated
License #524 1994
Danish TC Translator
TC 11.57b1 32+64bit on Windows XP 32bit & Windows 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1405a
TC 3.62 on Android 6, 13, 15 & 16
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3923
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: [11.57b1] Unable to extract the encrypted zip file

Post by *sqa_wizard »

Unpacking works fine with TC 11.56
Unpacking fails with TC 11.57ß1
#5767 Personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 51909
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.57b1] Unable to extract the encrypted zip file

Post by *ghisler(Author) »

Confirmed, I will fix it.
20.11.25 Fixed: Use new faster ZIP unpacker also for archives where the compressed size is stored after the data (streaming archive), e.g. from Google Takeout (32/64)
I'm now using the compressed file sizes from the central directory, but it wasn't copying them correctly in the cm_UnpackFiles function.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 51909
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.57b1] Unable to extract the encrypted zip file

Post by *ghisler(Author) »

This should be fixed in Total Commander 11.57 beta 2, please check!
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 6404
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [11.57b1] Unable to extract the encrypted zip file

Post by *white »

Tested OK using TC 11.57b2 32-bit and 64-bit.
pulbitz
Junior Member
Junior Member
Posts: 54
Joined: 2009-06-05, 12:19 UTC

Re: [11.57b1] Unable to extract the encrypted zip file

Post by *pulbitz »

Fixed in 11.57b2. Thanks!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 51909
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.57b1] Unable to extract the encrypted zip file

Post by *ghisler(Author) »

Great, thanks!

Moderator message from: ghisler(Author) » 2026-03-05, 08:29 UTC

Moved to fixed bugs
Author of Total Commander
https://www.ghisler.com
Post Reply