You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository adds support for WinZip AES encrypred archives. Including it here would get rid of needing additional libraries to deal with common archive types.
If there's a maintained fork of archive/zip that supports password protection, or a separate library that wraps archive/zip (preferred over a fork), I'd be open to trying it.
Reacted by Jonathan Peters and Rayhan Kinan Muhannad
Any updates regarding this feature enhancement?
I found a relatively maintained fork of Go's archive/zip that is more up to date than the one provided before: https://github.com/yeka/zip
Is it possible that we try to integrate this library sometime in the near future?
That lib still hasn't been updated in 3 years, whereas archive/zip is actively maintained. A package should still use archive/zip from the std library and just layer encryption on top. Maybe that's impossible, but it at least has to be maintained. zip is too important a format to just use an old, third party, unmaintained library IMO. Ideally, the std lib or at least the extended std lib would implement the encryption capability.
@unxed That looks promising, though it is very new (and vibe-coded by the looks of it), so I wouldn't mind if it has some production experience for a bit first.
Activity
cod3nym commentedon Oct 27, 2025
Supporting the WinZip AES extension for encrypted zip files would be a nice to have.
https://github.com/ahilananantha/zip
This repository adds support for WinZip AES encrypred archives. Including it here would get rid of needing additional libraries to deal with common archive types.
mholt commentedon Oct 27, 2025
Looks like it hasn't been updated in 3 years...
If there's a maintained fork of archive/zip that supports password protection, or a separate library that wraps archive/zip (preferred over a fork), I'd be open to trying it.
rayhankinan commentedon Feb 11, 2026
Any updates regarding this feature enhancement?
I found a relatively maintained fork of Go's
archive/zipthat is more up to date than the one provided before: https://github.com/yeka/zipIs it possible that we try to integrate this library sometime in the near future?
mholt commentedon Feb 11, 2026
That lib still hasn't been updated in 3 years, whereas archive/zip is actively maintained. A package should still use archive/zip from the std library and just layer encryption on top. Maybe that's impossible, but it at least has to be maintained. zip is too important a format to just use an old, third party, unmaintained library IMO. Ideally, the std lib or at least the extended std lib would implement the encryption capability.
rayhankinan commentedon Feb 18, 2026
I think this is a bit hard to implement, as seen on this proposed issue: golang/go#12081
rayhankinan commentedon Feb 18, 2026
Yeah, I'm still searching Golang libraries that use this approach instead of forking
archive/zipunxed commentedon May 7, 2026
One more go zip lib with support for AES and more
http://GitHub.com/unxed/zip
mholt commentedon May 26, 2026
@unxed That looks promising, though it is very new (and vibe-coded by the looks of it), so I wouldn't mind if it has some production experience for a bit first.
unxed commentedon May 30, 2026
Of cource! Also you are welcome to send any bugs found or suggest something.
Currently I use it in f4, asyncronious cross-platform Far Manager clone:
https://github.com/unxed/f4
It already has enough users that I receive bug reports, for example, from BSDs.