Re: [Python-ideas] zipfile encryption function
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/ >Could you provide a PR and upload that to bugs.python.org ? Sure, I have created issue just now. https://bugs.python.org/issue34546 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 : > On 30.08.2018 03:27, 大野隆弘 wrote: > > 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. > > 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) > >>> Python Projects, Coaching and Consulting ... http://www.egenix.com/ > >>> Python Database Interfaces ... http://products.egenix.com/ > >>> Plone/Zope Database Interfaces ... http://zope.egenix.com/ > > > ::: 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/ > > ___ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
Re: [Python-ideas] zipfile encryption function
On 30.08.2018 03:27, 大野隆弘 wrote: > 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. 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) >>> Python Projects, Coaching and Consulting ... http://www.egenix.com/ >>> Python Database Interfaces ... http://products.egenix.com/ >>> Plone/Zope Database Interfaces ... http://zope.egenix.com/ ::: 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/ ___ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
[Python-ideas] 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 ___ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/