Cannot view encypted zip file
Brought to you by:
herrekberg
Thanks for this excellent program!!
I use 4.0.4 with ubuntu.
It works perfectly. But cannot read the picture in encypted zip file.
There is no prompt for 'enter the key words'
I hope comix support encrypted zip file in the future
Python's standard library cannot open encrypted ZIP files, and alternate ZIP libraries seem sparse.
If I'm reading this correctly support for encrypted zip files was added to Python 2.6
http://www.python.org/doc//current/library/zipfile.html
(That that doesn't necessarily mean it works well enough or in the ways needed to add support to Comix though.)
The decryption fuctionality is limited - as oddegamra warned - and I've found an email that explains in a bit more detail.
http://mail.python.org/pipermail/python-dev/2009-August/091329.html
"The zipfile module does not support the various later encryption
schemes that use actual crypto algorithms."
> There are several encryption algorithms defined, such as
> "traditional PKWARE", DES, 3DES, "original RC2", RC4, AES,
> "corrected RC2", "corrected RC2-64", blowfish, twofish.
>
> In the file header general purpose bits , bit 0 indicates "file is
> encrypted" (which means "traditional PKWARE"), bit 6 indicates "strong
> encryption" (an additional header then giving details).
oddegamra has added support for password protected files to MComix
http://mcomix.sourceforge.net/