Changaco / python-libarchive-c

Python interface to libarchive
Other
70 stars 37 forks source link

Inconsistent behavior for encrypted rar/zip/7z #98

Closed ganego closed 3 years ago

ganego commented 4 years ago

With a zip file you can only encrypt the entries' data - so you can still see all file names.
With rar and 7z (and maybe others) you can encrypt the data and - optionally - the file name.

Behavior when getting blocks for an entry via entry.get_blocks():


EDIT: It's probably some libarchive issue, yes?

Changaco commented 3 years ago

Yes, this is a libarchive issue, so it should be reported upstream: https://github.com/libarchive/libarchive/issues/new.

(Sorry I completely forgot to respond to this issue when it was opened.)