Skip to content

Password-protected archives #60

Open

Description

@Vetalb60

What would you like to have changed?

It's necessary to obtain a stream file inside of password-protected archive.

Why is this feature a useful, necessary, and/or important addition to this project?

To obtain a stream file inside a password-protected archive, you now need to extract it using third-party tools.

What alternatives are there, or what are you doing in the meantime to work around the lack of this feature?

I'm using C# language tools.

Please link to any relevant issues, pull requests, or other discussions.

I don't have this one.

Activity

  1. cod3nym commented on Oct 27, 2025

    @cod3nym

    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.

  2. mholt commented on Oct 27, 2025

    @mholt
    Owner

    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.

  3. added
    enhancement
    on Oct 27, 2025
  4. rayhankinan commented on Feb 11, 2026

    @rayhankinan

    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?

  5. mholt commented on Feb 11, 2026

    @mholt
    Owner

    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.

  6. rayhankinan commented on Feb 18, 2026

    @rayhankinan

    Ideally, the std lib or at least the extended std lib would implement the encryption capability.

    I think this is a bit hard to implement, as seen on this proposed issue: golang/go#12081

  7. rayhankinan commented on Feb 18, 2026

    @rayhankinan

    A package should still use archive/zip from the std library and just layer encryption on top

    Yeah, I'm still searching Golang libraries that use this approach instead of forking archive/zip

  8. unxed commented on May 7, 2026

    @unxed

    One more go zip lib with support for AES and more

    http://GitHub.com/unxed/zip

  9. mholt commented on May 26, 2026

    @mholt
    Owner

    @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.

  10. unxed commented on May 30, 2026

    @unxed

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions