Changaco / python-libarchive-c

Python interface to libarchive
Other
70 stars 37 forks source link

Ability to decrypt zip and 7z files #87

Closed kbalk closed 3 years ago

kbalk commented 5 years ago

Is it possible to decrypt and decompress zip and 7z files? There is a libarchive function archive_read_add_passphrase(struct archive _a, const char passphrase) that allows a caller to provide a password. Is that something you would consider adding/supporting?

ION28 commented 5 years ago

The other Python Libarchive project has an open PR that adds encryption support here: https://github.com/dsoprea/PyEasyArchive/pull/34

Changaco commented 3 years ago

Done in #109 and released in version 3.0.

AngelineNinu commented 7 months ago

Hi everyone, Does the passphrase you are trying can be non ascii, will we be able to decrypt zip file using it when use this libarry