Skip to content

Support for large files (ZIP64) #30

Closed
archiverjs/node-compress-commons
#90
@i4rilu

Description

@i4rilu

AES-256 password-protected zip archive with a >4GB file inside is not correctly recognized / unpacked with the latest version of 7-Zip (21.07).
Tried to force ZIP64 with forceZip64: true with no luck (ZIP64 headers are added but 7-Zip still can't correctly recognize it).

✔️ AES-256 password-protected zip archive with a small file:

7-Zip 21.07 (x64) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26

Scanning the drive for archives:
1 file, 61183895 bytes (59 MiB)

Listing archive: *202201040400.bak.zip

--
Path = *202201040400.bak.zip
Type = zip
Physical Size = 61183895

----------
Path = *202201040400.bak
Folder = -
Size = 615973376
Packed Size = 61183691
Modified = 2022-01-04 04:03:42
Created =
Accessed =
Attributes =  -rw-r--r--
Encrypted = +
Comment =
CRC = 06D9EE07
Method = AES-256 Deflate
Characteristics = WzAES : Encrypt Descriptor
Host OS = Unix
Version = 51
Volume Index = 0
Offset = 0

❌ AES-256 password-protected zip archive with a >4GB file:

7-Zip 21.07 (x64) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26

Scanning the drive for archives:
1 file, 849018230 bytes (810 MiB)

Listing archive: *202201060617.bak.zip

--
Path = *202201060617.bak.zip
Type = zip
WARNINGS:
Headers Error
Physical Size = 849018230

----------
Path = *202201060617.bak
Folder = -
Size = 4369926656
Packed Size = 849017997
Modified = 2022-01-06 06:20:34
Created =
Accessed =
Attributes =  -rw-r--r--
Encrypted = +
Comment =
CRC = 1456C009
Method = ZipCrypto LZFSE
Characteristics = Extra_ERROR Zip64_ERROR : Encrypt Descriptor
Host OS = Unix
Version = 45
Volume Index = 0
Offset = 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions