Please use System.IO.Compression! A fork of the DotNetZip project without signing with a solution that compiles cleanly. This project aims to follow semver to avoid versioning conflicts. DotNetZip is a FAST, FREE class library and toolset for manipulating zip files. Use VB, C# or any .NET language to easily create, extract, or update zip files.
Other
545
stars
218
forks
source link
Can't extract data from the password-protected archive created with 7zip using BZip2 compression #248
I need to extract the archives in .Net Framework app but I find out that I can't extract the password-protected archives created with 7zip using BZip2 compression.
The library throws the exception:
Not a valid BZip2 stream. byte 1, expected '90', got '135'
To reproduce it you can create any zip archive with password in 7zip and try to extract it..
For instance, like this:
I need to extract the archives in .Net Framework app but I find out that I can't extract the password-protected archives created with 7zip using BZip2 compression.
The library throws the exception: Not a valid BZip2 stream. byte 1, expected '90', got '135'
To reproduce it you can create any zip archive with password in 7zip and try to extract it.. For instance, like this:![CreatingPasswordProtectedTestArchiveIn7zip](https://user-images.githubusercontent.com/8920254/143394555-fa8222ef-abc2-49ef-ad2b-1715f9c8d769.png)
StackTrace: NotExtractingPasswordProtectedArchiveDataCreatedWith7zip_StackTrace.txt