Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Support WinZip AE-2 encryption #263

Open
tommaier123 opened this issue Aug 8, 2022 · 1 comment
Open

Support WinZip AE-2 encryption #263

tommaier123 opened this issue Aug 8, 2022 · 1 comment

Comments

@tommaier123
Copy link

I have a zip that has some entries encrypted with AES-256 AE-2. I want to update the unencrypted values and leave the encrypted ones alone.
Currently this doesn't work because the vendor number is always set to AE-1 in ZipEntry.Write.cs line 450.
This causes the encrypted entries to become unreadable.

There are two possible solutions:

  1. support SE-2 as a encryption format
  2. read the vendor number and don't update it when saving the archive
@jshergal
Copy link
Collaborator

Thanks for reporting this bug/problem, and sorry about the delay in getting back to you. This is a self-service repository, where we merge PRs and where the merging of PRs causes nugets to be pushed automatically (if you bump the version number in your PR). I'll leave this issue open until someone (or yourself) fixes it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants