zipfile encryption function

Dear all, I would like to use zipfile encryption as python standard library. https://github.com/python/cpython/blob/master/Lib/zipfile.py Below document says "currently" cannot. https://github.com/python/cpython/blob/master/Doc/library/zipfile.rst "but it currently cannot create an encrypted file." Current pythonians like me have to use 3rd party like below, but I believe it is worth to include. https://pypi.org/project/pyminizip/ https://github.com/wllm-rbnt/py-zipcrypt please forgive me if someone have already suggested before. Thanks and Regards, ------------------ Takahiro Ono

On 30.08.2018 03:27, 大野隆弘 wrote:
I think adding zipfile support for the now common per file encryption logic using AES would be useful to have in the stdlib zipfile module. It's used a lot where people do not want to go for the full infrastructure which GPG entails. Could you provide a PR and upload that to bugs.python.org ? Some references: https://en.wikipedia.org/wiki/Zip_%28file_format%29#Encryption https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Experts (#1, Aug 30 2018)
::: We implement business ideas - efficiently in both time and costs ::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ http://www.malemburg.com/

Thank you for responding. I'm afraid that Windows doesn't and won't support AES zip archive and AES implementation itself is not small task(at least for me), so I would say AES support can be next. https://blogs.msdn.microsoft.com/oldnewthing/20180515-00/?p=98755 https://pypi.org/project/pycrypto/
I will follow development instructions (please let me know if I miss something because I'm really newbie) https://devguide.python.org/pullrequest/ Thanks and Regards, ------------------ Takahiro Ono 2018年8月30日(木) 16:42 M.-A. Lemburg <mal@egenix.com>:

On 30.08.2018 03:27, 大野隆弘 wrote:
I think adding zipfile support for the now common per file encryption logic using AES would be useful to have in the stdlib zipfile module. It's used a lot where people do not want to go for the full infrastructure which GPG entails. Could you provide a PR and upload that to bugs.python.org ? Some references: https://en.wikipedia.org/wiki/Zip_%28file_format%29#Encryption https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Experts (#1, Aug 30 2018)
::: We implement business ideas - efficiently in both time and costs ::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ http://www.malemburg.com/

Thank you for responding. I'm afraid that Windows doesn't and won't support AES zip archive and AES implementation itself is not small task(at least for me), so I would say AES support can be next. https://blogs.msdn.microsoft.com/oldnewthing/20180515-00/?p=98755 https://pypi.org/project/pycrypto/
I will follow development instructions (please let me know if I miss something because I'm really newbie) https://devguide.python.org/pullrequest/ Thanks and Regards, ------------------ Takahiro Ono 2018年8月30日(木) 16:42 M.-A. Lemburg <mal@egenix.com>:
participants (2)
-
M.-A. Lemburg
-
大野隆弘