Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: Pyarmor, guard your python scripts Date: Tue, 15 Sep 2015 16:40:37 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 29 Message-ID: References: <42f12eba-2504-4a97-a5bc-e7b9bfe2f1f9@googlegroups.com> NNTP-Posting-Host: 67-130-15-94.dia.static.qwest.net X-Trace: reader1.panix.com 1442335237 21598 67.130.15.94 (15 Sep 2015 16:40:37 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Tue, 15 Sep 2015 16:40:37 +0000 (UTC) User-Agent: slrn/1.0.2 (Linux) Xref: csiph.com comp.lang.python:96644 On 2015-09-15, Chris Angelico wrote: > >> I you may be underestimating the laziness and overestimating the >> cleverness of most people. ;) > > Heh :) But in that case, you can probably get away with just > zipimport. Deflation sure isn't encryption, but the code is pretty > thoroughly concealed anyway. I agree completely. There are three categories of protection: 1) The program never leaves your computer. 2) Obfuscation to deter the idle curious from mucking about. 3) Put the source code on the interwebs. In category 2 you find the single-file/directory-app bundlers[1] (which IIRC mostly use something like zipimport) and various other "encryption" wrappers. They all provide pretty much the same minimal "protection". [1] Most of which are intended to provide ease of distribution and installation -- the obfuscation is mostly a side-effect. -- Grant Edwards grant.b.edwards Yow! I love ROCK 'N ROLL! at I memorized the all WORDS gmail.com to "WIPE-OUT" in 1965!!