mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
Pkware encryption for Zip files didn't allow for multiple reads of an entry #147
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alexmgerasimov on GitHub (Nov 18, 2016).
Hello!
I tried to use this library and faced some issues. Basically repeated reading of some zip archive entries leads to crashes. It seems that this is related to encrypted zips somehow. I'm using the following test code to reproduce the crashes:
Exception from Archive1.zip:
I have several other archives with confidential data and can't share them. They produce exceptions with another messages. For example:
Can you fix this, please?
@adamhathcock commented on GitHub (Nov 21, 2016):
I reproduced this.
This is specific to PKWare encryption as the encryptor is stateful and reused on multiple runs. I'll fix that.
I'm still getting an error. Probably something else is stateful and needs to be reset.
@alexmgerasimov commented on GitHub (Nov 21, 2016):
Thank you for the quick response!
Is there any chance you can fix this issues in the near future?
@adamhathcock commented on GitHub (Nov 21, 2016):
I'm doing this in my free time as I take breaks from work. Not sure when I'll fix it. This one I haven't figured out yet.
@alexmgerasimov commented on GitHub (Nov 25, 2016):
Thank you for merging our pull request to the master!
Can you please advise when the new version of the Nuget package will be released?
@adamhathcock commented on GitHub (Nov 26, 2016):
I will try to do a release Monday.