Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
>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 applications. 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. ---------- nosy: +alanmcintyre, serhiy.storchaka, twouters _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34546> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com