This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients alanmcintyre, serhiy.storchaka, twouters, 大野隆弘
Date 2018-08-31.22:54:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
From the official ZIP files specification:

    This form of encryption is considered weak by today's standards
    and its use is recommended only for situations with
    low security needs or for compatibility with older .ZIP

I think that the support of encrypting ZIP files using the traditional PKWARE encryption was intentionally omitted in the zipfile module, because we don't want to encourage using such weak encryption method. If you need to add encrypted data in the ZIP file, use third-party tools for encrypting it before adding to the ZIP file or encrypting the whole ZIP file after creating.

I'm -1 for adding support of weak encrypting.

Of course, adding support for the strong (AES) encryption in ZIP files would be nice. But this task is much more difficult.
Date User Action Args
2018-08-31 22:54:38serhiy.storchakasetrecipients: + serhiy.storchaka, twouters, alanmcintyre, 大野隆弘
2018-08-31 22:54:38serhiy.storchakasetmessageid: <>
2018-08-31 22:54:38serhiy.storchakalinkissue34546 messages
2018-08-31 22:54:38serhiy.storchakacreate