mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
[PR #1059] Add ZIP password encryption support for writing archives #1487
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?
📋 Pull Request Information
Original PR: https://github.com/adamhathcock/sharpcompress/pull/1059
Author: @Copilot
Created: 12/2/2025
Status: 🔄 Open
Base:
master← Head:copilot/add-password-support-zip-files📝 Commits (8)
94b4100Initial plan6efb8beAdd ZIP password encryption support with WinZip AES-128/AES-25642bbfa0Add documentation for NonDisposingStream class0d6b0aaMerge from master and resolve conflicts - update ZStandard API and ArchiveEncoding interface68279e0Merge branch 'master' into copilot/add-password-support-zip-files4910d6bFix .NET Standard 2.0 build error - use compatible Rfc2898DeriveBytes constructorc64cc98back to simpler include0b6831bminor update📊 Changes
8 files changed (+798 additions, -29 deletions)
View changed files
📝
src/SharpCompress/Common/Zip/PkwareTraditionalEncryptionData.cs(+39 -0)➕
src/SharpCompress/Common/Zip/WinzipAesEncryptionStream.cs(+205 -0)➕
src/SharpCompress/Common/Zip/ZipEncryptionType.cs(+30 -0)📝
src/SharpCompress/Common/Zip/ZipHeaderFactory.cs(+2 -2)📝
src/SharpCompress/Writers/Zip/ZipCentralDirectoryEntry.cs(+61 -3)📝
src/SharpCompress/Writers/Zip/ZipWriter.cs(+234 -24)📝
src/SharpCompress/Writers/Zip/ZipWriterOptions.cs(+18 -0)📝
tests/SharpCompress.Test/Zip/ZipWriterTests.cs(+209 -0)📄 Description
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.