fancycode / pylzma

Python bindings for the LZMA library
http://www.joachim-bauch.de/projects/pylzma/
GNU Lesser General Public License v2.1
234 stars 72 forks source link

Pylzma cannot decrypt encrypted headers from 7z #28

Closed KenV99 closed 8 years ago

KenV99 commented 9 years ago

If I include the -mhe switch to encrypt headers, I get an 'invalid block data error' from Archive7z.__init__() in py7zlib.py.

In what may be a side note, in class Header.__init__() in the line self.properties = ArchiveProperties(file), ArchiveProperties is not defined in py7zlib.py.

Are encrypted headers not supported? Thanks again for all of your help.

fancycode commented 8 years ago

I think this was just fixed together with #33. Please reopen if you still get the error (and provide a minimal sample archive).