On Wed, Sep 16, 2015 at 2:20 AM, Grant Edwards <invalid@invalid.invalid> wrote: > On 2015-09-15, Chris Angelico <ros...@gmail.com> wrote: >> On Tue, Sep 15, 2015 at 11:16 PM, Grant Edwards <invalid@invalid.invalid> >> wrote: >>> On 2015-09-15, Chris Angelico <ros...@gmail.com> wrote: >>>> If they can be run as if no protection had been applied, that >>>> presumably means the loader is capable of decrypting them, right? So >>>> what's to stop anyone from reading the loader, using it to decrypt >>>> the actual code, and running it? >>> >>> I rather expect the answer to that questions is "laziness". >>> >>> It's like the lock on my front door. It's not going to stop anybody >>> who really wants to get in, but it will prevent the idle curious from >>> wandering in and messing about with my stuff. >> >> Maybe. It seems more like having a lock on your front door, with the >> key permanently inside it. But maybe that's just me. > > 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. ChrisA -- https://mail.python.org/mailman/listinfo/python-list