Skip to content

chevah/zipfile-aes

Repository files navigation

zipfile-aes

Extend stdlib zipfile to support WinZip AES encryption.

This is an alternative to pyzipper, with the difference that zipfile-aes uses the cryptography library. The code from here is based on pyzipper.

This code can't be included in Python stdlib since there is no crypto support. The stdlib ssl library only exposes the TLS part.

Supported operations (check the automated tests for details):

  • WinZIP AES V2 and V1 read without seek.

Contribution

Setup Python and uv

python3 -m venv .venv
. .venv/bin/activate
pip install uv
uv sync
uv pip install -e .[dev]
uv run patch_zipfile.py

Use dev tools

uv run pytest
uv run ruff format .
uv run ruff check

About

Extend stdlib zipfile to support WinZip AES encryption

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages