Skip to content

ZipFile.TestArchive fails when using encryption #404

@AqlaSolutions

Description

@AqlaSolutions

Steps to reproduce

  1. Archive files with ZipOutputStream (~350 mb), set password "test", AESKeySize = 256, UseZip64 = On
  2. Open archive with ZipFile
  3. Call ZipFile.TestArchive(false)

Expected behavior

Should return true.

Actual behavior

Returns false because WinZipAES compression method doesn't match Deflated method specified in entry header.

Version of SharpZipLib

dll version 1.2.0.246

Obtained from (only keep the relevant lines)

  • Package installed using NuGet

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions