SharpZipLib icon indicating copy to clipboard operation
SharpZipLib copied to clipboard

Extract files encrypted with PKWare AES encryption

Open jhudsoncedaron opened this issue 8 months ago • 0 comments

Is your feature request related to a problem? Please describe.

We have a spec ambiguity with a third party spec; it says file in zip file to be encrypted with AES encryption.

There are two different versions of AES encryption; WinZip's version and PKWare's version. Almost everybody uses WinZip's version but this one vendor decided to use PKWare's version for reasons that we probably will never know.

So, we don't need to write these; but we do need to read them.

Describe the solution you'd like

Recognize the flags and initialize the AES decryption stream when opening such a zip entry.

No need to implement the other encryption schemes as far as we are concerned.

Describe alternatives you've considered

Looking for a commercial package as been considered.

Tags

No response

Additional context

No response

jhudsoncedaron avatar May 08 '25 16:05 jhudsoncedaron