Skip to content

Conversation

@Numpsy
Copy link
Contributor

@Numpsy Numpsy commented Jun 15, 2019

Change ZipFile.TestLocalHeader to use entry.CompressionMethodForHeader rather than CompressionMethod, to handle the two being different for AES encrypted entries.

Fixes #317

I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.

@Numpsy Numpsy changed the title Aes test archive Change ZipFile.TestLocalHeader to use entry.CompressionMethodForHeader rather than CompressionMethodAes test archive Jun 15, 2019
@Numpsy Numpsy changed the title Change ZipFile.TestLocalHeader to use entry.CompressionMethodForHeader rather than CompressionMethodAes test archive Change ZipFile.TestLocalHeader to use entry.CompressionMethodForHeader rather than entry.CompressionMethod Jun 15, 2019
@piksel piksel self-requested a review December 30, 2019 20:22
@piksel piksel added encryption zip Related to ZIP file format labels Dec 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

encryption ready PR ready for merging when appropriate zip Related to ZIP file format

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ZipFile.TestArchive seems to always return false for AES encrypted zips

2 participants