Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#9 Cannot view encypted zip file

open
nobody
None
5
2010-09-23
2010-09-23
Anonymous
No

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

Discussion

  • Oddegamra
    Oddegamra
    2010-09-24

    Python's standard library cannot open encrypted ZIP files, and alternate ZIP libraries seem sparse.

     
  • Alan Horkan
    Alan Horkan
    2011-04-29

    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.)

     
  • Alan Horkan
    Alan Horkan
    2011-04-29

    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).

     
  • Alan Horkan
    Alan Horkan
    2011-06-05

    oddegamra has added support for password protected files to MComix
    http://mcomix.sourceforge.net/