Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change ZipFile.TestLocalHeader to use entry.CompressionMethodForHeader rather than entry.CompressionMethod #353

Merged
merged 2 commits into from
Aug 9, 2020

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
@piksel piksel added the ready PR ready for merging when appropriate label Jul 23, 2020
@piksel piksel merged commit cfc5112 into icsharpcode:master Aug 9, 2020
@piksel piksel added this to the v1.3 milestone Aug 9, 2020
@Numpsy Numpsy deleted the aes_test_archive branch August 9, 2020 19:04
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